|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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> |
||
|---|---|---|
| .. | ||
| templates | ||
| components.go | ||
| provider_test.go | ||
| provider.go | ||