rdev/internal/adapter
jordan ad1f19739d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: call config.MustInit() before config.Load() so Viper reads env vars
Without MustInit(), viper.AutomaticEnv() is never called, so Viper
cannot read environment variables injected by K8s secrets (envFrom).
This caused DATABASE_URL to always appear empty in deployed services,
forcing them into standalone/in-memory mode even when a database was
provisioned.

os.Getenv() calls like JWT_SECRET worked fine (direct syscall).
Viper-backed reads like DATABASE_URL did not (require AutomaticEnv).

Added pkgconfig.MustInit() call at the top of main() in both the
service component template and the full-monorepo example-api.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-23 04:25:38 -07:00
..
cached feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
citadel feat: add GCS-based persistent media storage, AI generation pipeline, and composable skeleton packages 2026-02-19 21:29:09 -07:00
claudebox refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
cloudflare feat: add auth scopes, OpenAPI docs, SDLC guides, and code quality improvements 2026-02-02 13:55:50 -07:00
cockroach chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
codeagent fix(worker): include stdout in error messages when Claude command fails 2026-02-10 17:55:46 -07:00
deployer feat: add GCS-based persistent media storage, AI generation pipeline, and composable skeleton packages 2026-02-19 21:29:09 -07:00
gcs fix(templates): upgrade Go to 1.25 and fix Woodpecker syntax 2026-02-08 23:57:38 -07:00
gitea chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
kubernetes feat(sessions): add command execution endpoint and activity tracking 2026-02-13 08:41:05 -07:00
memory feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
notify feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
postgres feat: implement project access enforcement and management API 2026-02-21 15:38:37 -07:00
redis chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
sdlc refactor: add timeout constants for agent execution tiers 2026-02-11 10:48:24 -07:00
templates fix: call config.MustInit() before config.Load() so Viper reads env vars 2026-02-23 04:25:38 -07:00
woodpecker chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00
zot chore: accumulated platform hardening and CI fixes 2026-02-10 23:16:56 -07:00