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
- BELL: Open-Source Stack Combines Browserbase, Eve, iMessage and Stripe Link for Personal Agents — jeff_weinstein · 2026-10-27
- Legora runs 2,000 parallel agent evals on Modal Sandboxes for legal AI — blelbach · 2026-10-27
- Two engineers rebuilt a FedEx supplier's billing core in 3.5 months vs an estimated 7-8 — alex_verem · 2026-10-27
- GPT-6.1 Terra scores 48 on AA Coding Agent Index at one-third the cost of GPT-5.6 Terra — ArtificialAnlys · 2026-10-27
- Shift-1 router cuts coding agent spend up to 55% while keeping SWE-bench accuracy — ypatil125 · 2026-10-27
- Non-coder vibe-codes a Godot JRPG with Claude Code in two weeks, music and art synced — ADHDavid · 2026-10-27