What to build
Routes that accept async work and return a queued-job snapshot use status_code=202 (e.g. /api/models/{id}/pull). /api/updates/apply is the same shape — returns a queued job — but returns 200. Minor inconsistency.
Add status_code=202 to the route decorator.
Acceptance criteria
Blocked by
None - can start immediately
Sourced from tests/harness/FINDINGS.md §24 (trivial).
What to build
Routes that accept async work and return a queued-job snapshot use
status_code=202(e.g./api/models/{id}/pull)./api/updates/applyis the same shape — returns a queued job — but returns 200. Minor inconsistency.Add
status_code=202to the route decorator.Acceptance criteria
/api/updates/applyreturns 202 on accepted requestsBlocked by
None - can start immediately
Sourced from
tests/harness/FINDINGS.md§24 (trivial).