Files
zeekayandHanzo Dev c4d9e453b7 fix(event): no hardcoded key — resolve it from the ONE live source (v0.3.21)
The publishable key was baked as a literal (dsn.ts HANZO_PUBLISHABLE_KEY, and the
hz.js fallback). A credential-class value has ONE home — KMS — and the build reads
it from there (deploy/PUBLISHABLE_KEY -> PUBLISHABLE_KEY build-arg ->
NEXT_PUBLIC_PUBLISHABLE_KEY). So the literal is gone: the key resolves from
config.ingestKey or that inlined env, and dsnForProduct(product, key) builds the
Sentry DSN from the SAME resolved key. A surface providing neither is honestly
keyless ($public) — the fix is to stamp its KMS key, not hardcode the org's.
Rebased onto the concurrent $exception feature; 177/177.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-06 12:14:08 -07:00
..