Files
Hartmut 72471e89b8
CI / Architecture Guardrails (push) Successful in 2m42s
CI / Assistant Split Regression (push) Successful in 4m4s
CI / Lint (push) Successful in 4m16s
CI / Typecheck (push) Successful in 5m20s
CI / Unit Tests (push) Failing after 6m40s
CI / Build (push) Successful in 5m3s
CI / Release Images (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
test(db): clear env before each loadWorkspaceEnv test, not just after
CI inherits DATABASE_URL from the outer shell (capakraken_test URL).
loadWorkspaceEnv uses dotenv semantics — pre-existing process.env wins
over .env file contents — so the first test's assertion
'DATABASE_URL === postgres://from-env' failed only in CI. Moving
clearEnv into beforeEach makes the test order-independent and
immune to inherited env. Reproduced by running the suite locally
with DATABASE_URL exported.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 21:08:37 +02:00
..