feat(upload): constant-denominator progress X/Y via client-reported planned file count #936

Merged
chris merged 1 commit from fix/049-planned-file-count into main 2026-09-27 23:46:24 +02:00
Owner

Activity labels now show treated/total where the denominator is constant: Y = planned_file_count reported by the browser at session creation (Flyway V146), falling back to total_count (already-treated rows) for older clients. X = treated files incl. duplicates/unsupported. Web sends files.length at create; labels for receiving/committing/processing/stale/completed updated; backend+frontend tests green (api full suite, vitest 19/19, svelte-check 0 errors).

Activity labels now show treated/total where the denominator is constant: Y = planned_file_count reported by the browser at session creation (Flyway V146), falling back to total_count (already-treated rows) for older clients. X = treated files incl. duplicates/unsupported. Web sends files.length at create; labels for receiving/committing/processing/stale/completed updated; backend+frontend tests green (api full suite, vitest 19/19, svelte-check 0 errors).
feat(upload): constant-denominator progress X/Y via client-reported planned file count
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 5s
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 2m43s
2dc5533bcb
X = treated files (upload_session_files rows, incl. duplicates/unsupported),
Y = planned_file_count reported by the browser at session creation (V146);
falls back to total_count for older clients. Web sends files.length at
session create; activity labels use the constant denominator; tests updated.
chris merged commit db9ca0e694 into main 2026-09-27 23:46:24 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!936
No description provided.