Files
jh-block b8b2ef3d62 Inject Sentry DSN at build time instead of hard-coding it
Remove the hard-coded Sentry DSN from source code and instead inject it
via the SENTRY_DSN environment variable at build time. This ensures that
cloned/forked builds don't send errors to our Sentry project, while
official release and canary builds get the DSN from a GitHub Actions
secret.

- Rust: use option_env!("SENTRY_DSN") for compile-time injection
- Electron: use process.env.SENTRY_DSN via Vite define block
- CI: pass SENTRY_DSN secret through release and canary workflows
- Cross.toml: add SENTRY_DSN to passthrough for cross-compiled builds

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 11:27:30 +01:00
..