OpenCode crashes on partial Cloudflare environment config
mindofcharles · ghdev · 2026-08-15
- Description: OpenCode crashes on launch if Cloudflare environment variables (e.g., CLOUDFLAREACCOUNTID) exist without CLOUDFLAREAPITOKEN.
- Symptoms: TUI fails to start with a generic "Unexpected server error" and no relevant logs in default mode.
- Root Cause: An unhandled exception in Provider.list initialization when partial Cloudflare config is detected, causing a fatal crash instead of a graceful fallback.
- Expected: Should skip or mark the provider as inactive if credentials are missing, rather than killing the server process.
More from Infra
- Which free local AI model to download for your GPU, from 6GB to 24GB VRAM — alex_verem · 2026-11-30
- tqLLM 1.9.0: C++ LLM engine claims 4.6x Strata on 16GB, adds AMD RX 580 support — pmttyji · 2026-11-30
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30