fix(ci): give the end-to-end backend a REMBG_URL so its controls render (#287) #288

Merged
bermudalamb merged 1 commits from fix/287-ci-rembg-url into main 2026-09-03 16:37:32 -05:00
Showing only changes of commit 0a300f3c4b - Show all commits
+11
View File
@@ -56,6 +56,17 @@ jobs:
PORT: 3000 PORT: 3000
DEMO_MODE: 'true' DEMO_MODE: 'true'
UPLOADS_DIR: /tmp/redefined-uploads UPLOADS_DIR: /tmp/redefined-uploads
# Set so the background-removal controls render at all: both the
# submission page's checkbox and the review queue's per-photo button are
# hidden unless the server reports the feature as configured, and three
# end-to-end tests assert they are there (#287).
#
# Deliberately a URL that does not resolve. Nothing in the suite reaches
# the sidecar — the worker only cuts a background out after a draft is
# written, and drafting needs an ANTHROPIC_API_KEY this job does not have.
# A real rembg here would mean a 4.24 GB image and forty seconds of
# startup to prove a control is on screen.
REMBG_URL: http://127.0.0.1:7000
# NODE_ENV is deliberately unset: `npm install` omits devDependencies when # NODE_ENV is deliberately unset: `npm install` omits devDependencies when
# NODE_ENV=production, which strips tsc/vite/@playwright/test and breaks the # NODE_ENV=production, which strips tsc/vite/@playwright/test and breaks the
# build. It would also flip the session cookie to Secure, which the e2e run # build. It would also flip the session cookie to Secure, which the e2e run