rdev/internal
jordan a843fd7ff4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: make NOTIFY_API_KEY optional — fall back to log-only email mode
NOTIFY_URL is a global platform credential; NOTIFY_API_KEY is project-
scoped and may not be provisioned if notify setup failed or the
notifyProvisioner wasn't configured. Previously the service would crash
on startup with "invalid configuration: API key is required" when
NOTIFY_URL was set but NOTIFY_API_KEY was missing.

Now the condition checks both: only initialize the notify client when
both NOTIFY_URL and NOTIFY_API_KEY are set. When either is absent, fall
back to log-only mode with a warning (instead of os.Exit(1)).

This is the correct behavior: email not delivered is survivable, but a
service crash on startup breaks the entire application.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 05:52:58 -07:00
..
adapter fix: make NOTIFY_API_KEY optional — fall back to log-only email mode 2026-02-23 05:52:58 -07:00
auth
circuitbreaker
claudebox
cmdlimit
db
domain fix: worker deployments and JWT_SECRET auto-provisioning 2026-02-23 03:42:53 -07:00
envutil
handlers
logging
metrics
middleware
port
ratelimit
sanitize
sdlc
service fix: handle missing Redis credentials and redis.Nil in provisioner 2026-02-23 05:19:00 -07:00
telemetry
testutil
validate
webhook
worker