chore(tradein): browser-smoke.sh — verify tradein-browser /health + /fetch (#905) #910

Merged
lekss361 merged 1 commit from chore/browser-smoke-script into main 2026-05-31 15:43:24 +00:00
Collaborator

Reusable smoke test for the tradein-browser camoufox HTTP service (#905/#909). Avoids long one-line curl commands that get mangled on terminal paste — the test lives in a file, run with one short command.

Usage (deploy host, after git pull)

docker exec -i tradein-backend sh < tradein-mvp/scripts/browser-smoke.sh

Reports: /health, byte count, preloadedState presence, firewall-container detection, and the first 200 bytes (so a /fetch error JSON is visible). Override the URL via URL=... docker exec -i -e URL ....

Dormant — a test script, no app/runtime change. Refs #905, #883

Reusable smoke test for the `tradein-browser` camoufox HTTP service (#905/#909). Avoids long one-line curl commands that get mangled on terminal paste — the test lives in a file, run with one short command. ## Usage (deploy host, after `git pull`) ```sh docker exec -i tradein-backend sh < tradein-mvp/scripts/browser-smoke.sh ``` Reports: `/health`, byte count, `preloadedState` presence, `firewall-container` detection, and the first 200 bytes (so a `/fetch` error JSON is visible). Override the URL via `URL=... docker exec -i -e URL ...`. Dormant — a test script, no app/runtime change. Refs #905, #883
bot-backend added 1 commit 2026-05-31 15:42:37 +00:00
Reusable smoke test for the camoufox HTTP service. Run from the deploy host:
  docker exec -i tradein-backend sh < tradein-mvp/scripts/browser-smoke.sh
Reports health, byte count, preloadedState presence, firewall-block detection
+ first 200 bytes of the response. Avoids long one-line curl commands that get
mangled on terminal paste.

Refs #905, #883
lekss361 merged commit 71874310aa into main 2026-05-31 15:43:24 +00:00
lekss361 deleted branch chore/browser-smoke-script 2026-05-31 15:43:24 +00:00
Sign in to join this conversation.
No reviewers
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: lekss361/gendesign#910
No description provided.