rdev/internal/adapter/templates
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
..
templates fix: make NOTIFY_API_KEY optional — fall back to log-only email mode 2026-02-23 05:52:58 -07:00
components.go feat: add GCS-based persistent media storage, AI generation pipeline, and composable skeleton packages 2026-02-19 21:29:09 -07:00
provider_test.go feat: implement composable monorepo template system with component architecture 2026-01-31 19:11:42 -07:00
provider.go feat: add GCS-based persistent media storage, AI generation pipeline, and composable skeleton packages 2026-02-19 21:29:09 -07:00