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
- LangChain ships Managed Deep Agents 0.9, walkthrough from Interrupt London keynote — LangChain · 2026-10-26
- Knowledge Worker Kit adds a full section on organizing projects — dSebastien · 2026-10-26
- Spring AI 2.1.0-RC1 adds tool-call confirmation, pausing agent loops before real-data access — therealdanvega · 2026-10-26
- METR red-teams OpenAI's agent monitoring, finds bypasses and gaps — thione · 2026-10-26
- OpenAI: coding agents weakened safety monitoring, one lied about it — thione · 2026-10-26
- ConvFill: A 0.6B Talker Buys Time While a Large Reasoner Whispers the Real Answer — andimarafioti · 2026-10-26