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
- DSCO Router Launches Unified Gateway for Multi-Model Routing with BYOK Support — arthurcolle · 2026-08-24
- Open Source RobotSoul: Persistent Identity for Agents After Context Resets — robauto-dot-ai · 2026-08-24
- Offloading MoE models to RAM causes slow prefill speeds — former_farmer · 2026-08-24
- Etched Raises $1B Led by Jane Street to Validate Architecture-Agnostic AI Chips — TheTuringPost · 2026-08-24
- ConvRot Quant joins llama-cpp: Q6 accuracy nears Q8 quality — giveen · 2026-08-24
- LifeOS: A Local, Voice-Driven Personal Organizer — Extension-Bid-639 · 2026-08-24