fix(dashboard): PUT the handoff bundle through the app's API base #9

Merged
pedro-bento merged 5 commits from fix/handoff-upload-url into main 2026-10-05 21:37:21 +01:00

5 commits

Author SHA1 Message Date
ed95d13200 chore(dashboard): refresh stale browserslist/caniuse-lite data
All checks were successful
CI / unit (pull_request) Successful in 51s
CI / backend-e2e (pull_request) Successful in 1m34s
CI / dashboard-e2e (pull_request) Successful in 2m51s
2026-10-05 21:17:09 +01:00
158b40071b fix(media): copy TransNetV2 frames to silence the read-only tensor warning
np.frombuffer() returns a read-only array; torch.from_numpy warned on every scene detection. np.array(copy=True) makes it writable without changing dtype or values.
2026-10-05 21:17:09 +01:00
3f57f4de51 fix(dashboard): pause job polling in a hidden tab
Skip the 2 s /api/status poll while document.hidden, and drop the leftover console.log of every status payload.
2026-10-05 21:17:09 +01:00
92c68f9fcf chore(api): silence health-check and job-status polling in the access log
Docker health probes (5 s) and the dashboard's 2 s status poll filled uvicorn's access log with thousands of identical lines, burying the real job output. Drop /health* and /api/status/* at the access logger only; requests are still served.
2026-10-05 21:17:09 +01:00
0fdd07bec2 fix(dashboard): PUT the handoff bundle through the app's API base
All checks were successful
CI / unit (pull_request) Successful in 45s
CI / backend-e2e (pull_request) Successful in 1m22s
CI / dashboard-e2e (pull_request) Successful in 2m27s
The backend's upload_url embeds the request host; behind the dev proxy that is the Docker-internal backend:8000, which the browser cannot resolve, so the ZIP PUT died as a bare 'Failed to fetch' and aborted the job. Use /api/uploads/<id> via the app's own base instead, and label handoff failures clearly so they are not mistaken for a process error.
2026-10-05 20:57:20 +01:00