Leon Tonhäuser c6b69eb88d fix: survive empty-string env vars from compose
Docker Compose passes undeclared variables as empty strings
(CRON_SECRET="" etc.), which crashed env validation while loading the
instrumentation hook. A throwing register() made Next.js answer every
route with 500 while the process stayed alive.

- parse optional CRON_SECRET / AUTO_RULE_SYNC_INTERVAL_SECONDS via
  plain preprocess helpers that map blank strings to unset (zod v4
  does not accept preprocess-produced undefined through .optional())
- guard instrumentation register() so scheduler failures can never
  break request handling
2026-08-25 01:16:13 +02:00
2026-08-11 16:17:34 +02:00
2026-08-10 17:54:19 +02:00
S
Description
No description provided
1.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 98.4%
CSS 1.3%
Shell 0.2%
Dockerfile 0.1%