2 Commits
Author SHA1 Message Date
mvdbeek 9174566ef8 Re-check only the job state after a job files upload arrives
With query auth the path was authorized before the body was read and
can't change, so the second check only needs to confirm the job is still
queued or running. Re-running the full write authorization added about
0.7 ms per small upload on Postgres (2 ms on SQLite).
2026-10-09 19:42:58 -04:00
John ChiltonandClaude Opus 5.5 0fab9f5a6d Inject JobFilesManager dependencies and unit test its authorization
Takes config, security, object store and session instead of the app, so
job key, job state and write path checks are tested without a server.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-08 07:54:35 -04:00