Merge pull request 'fix(ci): give the end-to-end backend a REMBG_URL so its controls render (#287)' (#288) from fix/287-ci-rembg-url into main
Linting / lint (push) Successful in 9m20s
SonarQube Analysis / sonarqube (push) Successful in 34m6s

Reviewed-on: #288
This commit was merged in pull request #288.
This commit is contained in:
2026-09-03 16:37:31 -05:00
+11
View File
@@ -56,6 +56,17 @@ jobs:
PORT: 3000
DEMO_MODE: 'true'
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=production, which strips tsc/vite/@playwright/test and breaks the
# build. It would also flip the session cookie to Secure, which the e2e run