chore: update docstring
This commit is contained in:
@@ -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