Dashboardclidashboard --sixel getEnv isolation

dashboard --sixel getEnv isolation

Category: gotcha
Confidence: 1.00
ID: 01a0269b-e29b-7658-afb0-e0ed4d772ccb
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1Y3CCMeLLwbVclKR7
Created: 2026-08-21 22:40:24
Updated: 2026-08-21 23:15:45

Content

Trap: setting process.env.SENTRY_DASHBOARD_SIXEL = "1" in dashboard view looks like a simple per-command opt-in. Fix: carry the flag in dashboard invocation data/context and consult the environment registry where needed. SDK invocations replace getEnv() with isolated environments, so direct process.env writes neither enable SDK rendering nor stay contained; in CLI mode, never call setEnv() and never leak Sixel into later same-process commands.

Move to: