chore: update docstring
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user