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
Owner

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/ via the app's own base instead, and label handoff failures clearly so they are not mistaken for a process error.

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.
pedro-bento added 1 commit 2026-10-05 21:02:22 +01:00
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
0fdd07bec2
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.
pedro-bento added 4 commits 2026-10-05 21:17:11 +01:00
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.
Skip the 2 s /api/status poll while document.hidden, and drop the leftover console.log of every status payload.
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.
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
ed95d13200
pedro-bento merged commit 9823e8fe69 into main 2026-10-05 21:37:21 +01:00
pedro-bento deleted branch fix/handoff-upload-url 2026-10-05 21:37:22 +01: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: pedro-bento/clipwright#9
No description provided.