From 8c0740f6ae78262bed6036b3330d61fd4f7ca74e Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 8 Jul 2026 11:09:44 +0100 Subject: [PATCH] Enable development mode in the e2e test container The first-session specs depend on /api/security/dev/reset-first-run, which is gated on development mode; the test stack never set PULSE_DEV, so every reset attempt answered 403 in both CI and local compose runs. The only other effects of the flag in this stack are the localhost AllowedOrigins default and env-gated dev toggles that remain off. --- tests/integration/docker-compose.test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/docker-compose.test.yml b/tests/integration/docker-compose.test.yml index 1b5488a40..a3e183773 100644 --- a/tests/integration/docker-compose.test.yml +++ b/tests/integration/docker-compose.test.yml @@ -78,6 +78,9 @@ services: - PULSE_LOG_LEVEL=debug # Mock mode for faster testing - PULSE_MOCK_MODE=true + # Dev-only endpoints the suite depends on (first-run reset in the + # first-session specs) are gated on development mode. + - PULSE_DEV=true - PULSE_MULTI_TENANT_ENABLED=${PULSE_MULTI_TENANT_ENABLED:-false} - PULSE_ALLOW_DOCKER_UPDATES=true - PULSE_UPDATE_STAGE_DELAY_MS=250