Skip to content

Register sentry DSN in key vault secret mapping#180

Merged
motatoes merged 1 commit intomainfrom
sentry-keyvault-mapping
Apr 21, 2026
Merged

Register sentry DSN in key vault secret mapping#180
motatoes merged 1 commit intomainfrom
sentry-keyvault-mapping

Conversation

@motatoes
Copy link
Copy Markdown
Contributor

Summary

Follow-up to #179. Without this, LoadSecretsFromKeyVault silently ignores server-sentry-dsn and worker-sentry-dsn (only names in the hardcoded secretMapping whitelist are loaded), so OPENSANDBOX_SENTRY_DSN stays empty and Sentry init no-ops even after setting the secrets in the vault.

Test plan

  • Set server-sentry-dsn and worker-sentry-dsn in the vault (already done)
  • Redeploy control plane — confirm keyvault: loaded N secrets log line includes one more than before, and sentry: enabled (service=control-plane, ...) appears at startup
  • Redeploy worker — same check, service=worker
  • Trigger a test panic (or sentry.CaptureMessage) and confirm the event lands in Sentry

🤖 Generated with Claude Code

Without this, LoadSecretsFromKeyVault silently ignores server-sentry-dsn
and worker-sentry-dsn, so the env var stays unset and Sentry init no-ops.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
opensandbox Ready Ready Preview, Comment Apr 21, 2026 8:28pm

Request Review

@motatoes motatoes merged commit f5bc936 into main Apr 21, 2026
3 checks passed
Copy link
Copy Markdown
Contributor

@breardon2011 breardon2011 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants