chore: update docstring

This commit is contained in:
tao.chen
2026-09-02 10:10:41 +08:00
committed by tao.chen
parent ecf3b2e9c5
commit 5ed3aa4300
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"""Unit tests for the 5s auth-result cache in ``backend.jupyter``.
"""Unit tests for the 5s auth-result cache in ``backend.api.jupyter``.
Jupyter 一次会话会触发几十次 Nginx ``auth_request``;本缓存按
``(workspace_id, user_id)`` 缓存 membership + runtime 的查找结果,避免
+1 -1
View File
@@ -1,7 +1,7 @@
"""Unit tests for ``upload_bytes_to_session`` failure-path status persistence.
P0-5 / B1: the route handler wraps every request in ``session_scope``
(``backend.dependencies.database_session``), which rolls back on
(``backend.api.dependencies.database_session``), which rolls back on
exception. A naive ``upload.upload_status = "failed"; raise HTTPException(...)``
loses the status flip and leaves the row stuck in ``created``/``uploading``
forever. The fix is ``_mark_upload_failed_and_raise`` which opens a