feat(secrets): per-app Sentry DSN injection (staging) - #4
Merged
Conversation
Each app now reports to its own GlitchTip project (org `staging`): server-2 → project 2, replays-fetcher → 3, replay-parser-2 → 4. The renderer reads three distinct env secrets (SENTRY_DSN_SERVER_2 / _REPLAYS_FETCHER / _REPLAY_PARSER_2) and injects each as SENTRY_DSN into the matching <app>-runtime Secret, replacing the single shared SENTRY_DSN. The stale single secret is removed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Each app reports to its own GlitchTip project. The staging renderer now reads three per-app DSN secrets (SENTRY_DSN_SERVER_2 / _REPLAYS_FETCHER / _REPLAY_PARSER_2) and injects each as SENTRY_DSN into the matching <app>-runtime Secret, replacing the single shared SENTRY_DSN. Updates error-sdk-handoff.md to the per-app, one-org-per-env model (6 projects: staging 2/3/4, production 5/6/7). Production wiring deferred — no render-production-secrets.py / prod namespace yet; the three production projects exist and reuse the same secret names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per-app GlitchTip projects (org-per-env). Staging renderer reads 3 per-app DSN secrets and injects each as SENTRY_DSN into the matching -runtime Secret; docs/error-sdk-handoff.md rewritten to per-app/2-env (6 projects). Secrets set (staging); stale single SENTRY_DSN removed. Production projects exist (5/6/7), wiring deferred. Renderer output validated per-app.
🤖 Generated with Claude Code