mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 20:07:34 +00:00
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]>