Use env for debug/profile only - #2273
Conversation
|
Claude finished @i5hi's task in 4m 16s —— View job PR Review: Use env for debug/profile only
Reviewed against 🔒 Security✅ Good — fixes a credential-leak-to-production bug. Previously
🐞 Correctness / Regressions1. 2. Inconsistent "testnet not configured" handling across usecases.
3. Silent mainnet rates in testnet. Following from #2, a debug/testnet build without staging env will display mainnet exchange rates while the user believes they're on testnet. This appears intentional (testnet has no real rates), but it's undocumented and could confuse. A log line or comment would help. Minor / Nits
No blocking issues from a correctness standpoint given the guards. Main action items: rotate the leaked staging creds and verify the new |
|
This can be closed. in favor of #2310 |
Redone pr without formatting