M1-audit: chunked uploads never appear in listings — status state machine dead-ends at 'uploaded' #85
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#85
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ListFiles filters
Status == "complete"(ListFiles.cs:39) but the chunked flow's only legal transition is pending→uploaded (UpdateFile.cs:42, #73 whitelist). Nothing ever writes "complete" on that path.Trigger: upload via upload-url → blob → update →
GET /folders/{id}/files→ file missing. Blob sits on disk; users report lost files.Fix: shared terminal-status constant covering both legacy and chunked terminal states (or flip UpdateFile to write "complete"); add upload-url→blob→update→list integration test (none exists).
Part of M1 closure audit #84. Blocks/first-task per §2.6.