GitHub Copilot CLI can wedge sessions after history grows beyond the 5 MB CAPI limit
jay-tau · ghdev · 2026-07-20
A GitHub Copilot CLI issue says auto-compaction does not prevent a session from getting wedged once the serialized CAPI Responses request grows past the 5 MB body limit.
- A long, tool-heavy autonomous run can stay within token limits but still fail because the request payload exceeds 5 MB.
- After the first failure, a tiny follow-up like continue immediately hits the same error because the oversized history is reused.
- The report says this happened in Copilot CLI 1.0.71 on Linux with gpt-5.6-sol and Autopilot.
More from coding & agent
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- 105 hidden bugs, 2 repos: DeepSeek V4.1 Flash fixes 24 at $1.80 vs Opus 5's 27 at $51.33 — ChartsJournalX · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- Running the Firefox MCP on Android via Termux, ngrok, and mcp-proxy — Nervous-Strain7544 · 2026-09-11
- SmolVM open-sources persistent computer infrastructure for agents that outlive chat sessions — aniketmaurya · 2026-09-11