• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

BacLuc / ecamp3 / 29869520485

21 Jul 2026 09:19PM UTC coverage: 33.771%. First build
29869520485

push

github

BacLuc
fix(e2e): re-inject X-Debug-Exception headers under APP_DEBUG=0

APP_DEBUG=0 (needed to stop the htmlpurifier warmer race) disables Symfony's verbose error output, which surfaced via the X-Debug-Exception / X-Debug-Exception-File response headers - the very headers that diagnosed the warm race. Re-add them, scoped to e2e, via a tiny kernel.exception subscriber that runs after the default renderer and copies the same header values Symfony would have set when kernel.debug is true. Gated by %kernel.environment% (== e2e) so it auto-enables only in e2e and stays off in prod/dev/test - no env-var delivery pipeline or env-processor defaulting. prod/dev unaffected.

- api/src/EventListener/DebugExceptionHeadersSubscriber.php (new)
- api/config/services.yaml: wire $env from %kernel.environment%

Signed-off-by: BacLuc <lucius.bachmann@clubpage.ch>

671 of 4489 branches covered (14.95%)

Branch coverage included in aggregate %.

0 of 9 new or added lines in 1 file covered. (0.0%)

4444 of 10657 relevant lines covered (41.7%)

63.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/api/src/EventListener/DebugExceptionHeadersSubscriber.php


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc