You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitHub Copilot context window meter accumulates ghost data and continuously forces compaction in v1.110+ #299810
In v1.110 conversation summarization/compaction does not reclaim much context window space. For example, immediately after summarizing the conversation of Claude Open 4.6 (the first compaction in the conversation), the context window is still 50% full! This is hardly useful. Previous versions of GitHub Copilot would result in perhaps 20% or less (if I remember correctly) of the context window being full directly after context summarization.
I manually invoke /compact immediately after compaction, the context window drops down only slightly, to e.g. 36% full.
Is this the expected workflow in v1.110—that compaction not do much, but that a user needs to manually invoke /compact repeatedly to slowly reclaim context window space, which would have automatically been reclaimed in previous versions?
This is starting to be pretty limiting. I know that the context window is finite. But in earlier versions, there was actually enough room right after compaction to do a fair amount of planning and design. Now even if I manually compact, half of the context window is still used up, and I can't do anything about it. This is a suffocating lack of space; anything more than trivial planning suddenly eats up the rest of the window. This is a stifling regression.
Oh no, this is getting worse. After a conversation goes on, it seems that compacting is getting less and less effective. It just took a long time to compact (I left and read several news articles), and after compaction the compact window is still 76% full! This is unworkable.
Here, I had the LLM describe the problem. Bhavya U (@bhavyaus) please take a look at this. This is a real problem.
Conversation summarization retains too much detail, resulting in minimal context window savings.
After compaction, the context window remains ~76% full despite the static overhead (system prompt, instructions, etc.) not having grown. The root cause is that the generated <conversation-summary> is a near-lossless compression of the conversation rather than a lossy summarization. Observed issues:
Redundant parallel structures. The summary contains both a chronological narrative (<analysis>) and a structured summary (<summary>) that cover heavily overlapping ground. Both survive compaction, roughly doubling the representation cost.
Codebase details transcribed into the summary. Full method signatures, parameter types, record field lists, constant values, and source line numbers are copied into the summary verbatim—information that already exists in workspace files and can be re-read with a single tool call. The summary should reference what was learned, not reproduce the raw data.
Tool-call traces preserved. The summary records individual tool invocations (search queries, file reads, edit operations) and their results. This is execution trace, not semantic context relevant to future turns.
File content duplicated. Plan files, design documents, and other artifacts written to disk during the conversation are restated in full in the summary. Since these files persist in the workspace, the summary only needs to note their existence and location.
No relevance decay. Completed and committed work retains the same level of detail as in-progress work. Once a task is finished and its artifacts are on disk or in version control, the summary should reduce it to a one-line note rather than preserving every intermediate finding, correction, and decision.
Expected behavior: Summarization should aggressively prune detail that can be recovered from the workspace, collapse completed work to brief references, eliminate redundant parallel structures, and omit tool-call-level operational traces. The summary should capture what the agent knows that isn't written down elsewhere—key decisions, unresolved questions, and the current focus—not serve as a transcript index.
Bhavya U (@bhavyaus) , roblourens , this is simply broken. I may have to roll back to v1.109 because this is impeding momentum. It's hard to make headway when compacting/summarization still leaves half the context window full.
Please provide me a temporary workaround to manually reduce the context window to 25% or less until this is fixed. (I would expect a full fix to reduce the context window to much lower than 25%, but could get by with 25% in the meantime.)
The implications of this just get worse; roblourens , this is almost as bad as #272987.
Just now the following happened:
My context windows was not even close to full.
Out of the blue GitHub Copilot immediately compacted my conversation before even starting to respond
I immediately canceled the compaction.
I edited a previous prompt (i.e. the one before the prompt triggering compaction). This prompt also triggered compaction, even though it previously had been submitted just fine with identical content without triggering compaction, and even though the context window was not near full.
I restarted VS Code. The same thing happened. (At this point I have lost the subsquent prompt because I edited the previous prompt.)
I had no choice but to let the compaction continue, even though there was no need to compact.
Compaction finished, and I am still left with a context window 75% full. 🤦
Please, someone step in and fix this. Yet again conversation compaction is broken all over the place, and it's severely impeding just normal work.
Maybe developers piddling with GitHub Copilot to "create a loop and filter out green apples" don't run into this. But I am building real-world, enterprise-level projects. I can't even get through discussing a feature now, because once the LLM reloads the current plan, looks at the code, and answers my question about the plan; the context window is already full!!
As bad as the previous compaction algorithm was, at least it freed up more room in the context window. Now it is simply broken. Again.
Look I don't know what do do. Now it's the compacting is still leaving the context window 60%–70% full. It seems to be degrading as the conversation goes on. It seems that the new compaction algorithm is just accumulating things—lots of duplicate things even—and never releasing them. The new algorithm accumulates unremovable cruft throughout the life of the conversation.
If nothing else, if the GitHub team can't figure out how to make compaction work, provide us an API hook so that we can do it ourselves, and/or just truncate the history as I've begged for in #289220.
Sincerely, the lack of commitment to address critical bugs such of these is driving even enthusiastic, high-paying customers to competing products.
Something really strange is going on. Now compaction is leaving the context window 72% full. Yet the debug output isn't showing that much information. Even the LLM sees that that the <conversation-summary> block is not really much larger than my custom instructions—and those would still take up a relatively small amount of space in v1.109.
In fact if I export the node from the chat debug view to JSON, here's what I get:
Before compaction: 3.4 MB (e.g. Do_something_with_my_code.chatreplay.json)
After compaction: 123 KB (e.g. Why_does_the_meter_still_say_72.chatreplay.json)
So it would appear that compaction is working! Something about your meter measuring the size of the context window is broken!
Whatever it is, it is lethal. I can't make progress when compaction still shows 72% full.
changed the title [-]GitHub Copilot conversation compaction effectiveness severely drops in v1.110[/-][+]GitHub Copilot context window meter is broken, accumulates ghost data, and continuously forces compaction in v1.110+[/+]on Mar 12, 2026
changed the title [-]GitHub Copilot context window meter is broken, accumulates ghost data, and continuously forces compaction in v1.110+[/-][+]GitHub Copilot context window meter accumulates ghost data and continuously forces compaction in v1.110+[/+]on Mar 12, 2026
The effective context window space after compaction is no bigger: instead, the meter is fudged to start lower after compaction—but compaction also happens sooner, so it washes out.
The meter is no longer reliable: I have to remember in my mind that 77% now really means 99%, i.e. the context window is now full and will compact at 78%.
How does pretending that the context window is bigger help users? What is the point of a meter with color indications if it effectively never shows red because it is fudged to show values 22% less than they really are?
Bhavya U (@bhavyaus) I opened this ticket because compaction was not lowering the context level very much. This actually steadily improved somewhat, especially the day after I filed this ticket), and right before v1.112 was released it was actually bearable (even though compaction still reduced the context window only down to 40% or so).
This new meter fudging with v1.112 is a separate issue; I've opened #303549 for that. The insufficient compaction in this ticket remains an issue (although it has improved slightly leading up to the v1.112 release)—it's just obfuscated by the meter fudging in #303549. It's like taking one problem and adding another problem to make the entire situation worse unfortunately.
Note that the "ghost data" that I found accumulating in this ticket may be the "reserved for response" data that suddenly appeared in v1.112. It's good that now GitHub Copilot is up-front and shows what the "ghost data" is. It's great that now we users know what this "ghost data" is. But it's incorrect and misleading to subtract the "ghost data" from the meter, as this now just produces an inaccurate meter level value.
Same issue here, Claude Agent can now hardly process one multi-line prompt because it gets stuck in a "Conversation compacted" loop, restarting to work on the same task over and over again.
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Updated todo list
Conversation compacted
Let me start implementing immediately. I need to:
Modify the schema file to make xxx nullable and add xxx
Add feature flag config
Then continue with the rest
Let me start with the schema modification and config changes in parallel since they're independent.
Updated todo list
Processing
Bhavya U (@bhavyaus) some feedback on testing the latest Insiders build: we found that the issue persisted (frequent conversation compaction in Agent mode with Claude models causing development to be paralysed), but that reducing the number of active MCP servers fixed it.
This wasn't a linear difference, or related to a single tool - there was point at which pruning servers off the list would suddenly cause the repeated compaction problem to basically disappear.
Therefore, we decided to reduce the committed mcp.json to a minimum, and use local configs for when we needed infrequently used tools.
Activity
garretwilson commentedon Mar 9, 2026
This is starting to be pretty limiting. I know that the context window is finite. But in earlier versions, there was actually enough room right after compaction to do a fair amount of planning and design. Now even if I manually compact, half of the context window is still used up, and I can't do anything about it. This is a suffocating lack of space; anything more than trivial planning suddenly eats up the rest of the window. This is a stifling regression.
garretwilson commentedon Mar 9, 2026
Oh no, this is getting worse. After a conversation goes on, it seems that compacting is getting less and less effective. It just took a long time to compact (I left and read several news articles), and after compaction the compact window is still 76% full! This is unworkable.
Here, I had the LLM describe the problem. Bhavya U (@bhavyaus) please take a look at this. This is a real problem.
Conversation summarization retains too much detail, resulting in minimal context window savings.
After compaction, the context window remains ~76% full despite the static overhead (system prompt, instructions, etc.) not having grown. The root cause is that the generated
<conversation-summary>is a near-lossless compression of the conversation rather than a lossy summarization. Observed issues:Redundant parallel structures. The summary contains both a chronological narrative (
<analysis>) and a structured summary (<summary>) that cover heavily overlapping ground. Both survive compaction, roughly doubling the representation cost.Codebase details transcribed into the summary. Full method signatures, parameter types, record field lists, constant values, and source line numbers are copied into the summary verbatim—information that already exists in workspace files and can be re-read with a single tool call. The summary should reference what was learned, not reproduce the raw data.
Tool-call traces preserved. The summary records individual tool invocations (search queries, file reads, edit operations) and their results. This is execution trace, not semantic context relevant to future turns.
File content duplicated. Plan files, design documents, and other artifacts written to disk during the conversation are restated in full in the summary. Since these files persist in the workspace, the summary only needs to note their existence and location.
No relevance decay. Completed and committed work retains the same level of detail as in-progress work. Once a task is finished and its artifacts are on disk or in version control, the summary should reduce it to a one-line note rather than preserving every intermediate finding, correction, and decision.
Expected behavior: Summarization should aggressively prune detail that can be recovered from the workspace, collapse completed work to brief references, eliminate redundant parallel structures, and omit tool-call-level operational traces. The summary should capture what the agent knows that isn't written down elsewhere—key decisions, unresolved questions, and the current focus—not serve as a transcript index.
garretwilson commentedon Mar 10, 2026
The issue is still present in v1.111. Compacting for Claude Opus 4.6 still leaves the context window half full.
garretwilson commentedon Mar 11, 2026
Bhavya U (@bhavyaus) , roblourens , this is simply broken. I may have to roll back to v1.109 because this is impeding momentum. It's hard to make headway when compacting/summarization still leaves half the context window full.
Please provide me a temporary workaround to manually reduce the context window to 25% or less until this is fixed. (I would expect a full fix to reduce the context window to much lower than 25%, but could get by with 25% in the meantime.)
canyonopm3026-create commentedon Mar 11, 2026
garretwilson commentedon Mar 12, 2026
The implications of this just get worse; roblourens , this is almost as bad as #272987.
Just now the following happened:
Please, someone step in and fix this. Yet again conversation compaction is broken all over the place, and it's severely impeding just normal work.
Maybe developers piddling with GitHub Copilot to "create a loop and filter out green apples" don't run into this. But I am building real-world, enterprise-level projects. I can't even get through discussing a feature now, because once the LLM reloads the current plan, looks at the code, and answers my question about the plan; the context window is already full!!
As bad as the previous compaction algorithm was, at least it freed up more room in the context window. Now it is simply broken. Again.
garretwilson commentedon Mar 12, 2026
Look I don't know what do do. Now it's the compacting is still leaving the context window 60%–70% full. It seems to be degrading as the conversation goes on. It seems that the new compaction algorithm is just accumulating things—lots of duplicate things even—and never releasing them. The new algorithm accumulates unremovable cruft throughout the life of the conversation.
If nothing else, if the GitHub team can't figure out how to make compaction work, provide us an API hook so that we can do it ourselves, and/or just truncate the history as I've begged for in #289220.
Sincerely, the lack of commitment to address critical bugs such of these is driving even enthusiastic, high-paying customers to competing products.
garretwilson commentedon Mar 12, 2026
Something really strange is going on. Now compaction is leaving the context window 72% full. Yet the debug output isn't showing that much information. Even the LLM sees that that the
<conversation-summary>block is not really much larger than my custom instructions—and those would still take up a relatively small amount of space in v1.109.In fact if I export the node from the chat debug view to JSON, here's what I get:
Do_something_with_my_code.chatreplay.json)Why_does_the_meter_still_say_72.chatreplay.json)So it would appear that compaction is working! Something about your meter measuring the size of the context window is broken!
Whatever it is, it is lethal. I can't make progress when compaction still shows 72% full.
[-]GitHub Copilot conversation compaction effectiveness severely drops in v1.110[/-][+]GitHub Copilot context window meter is broken, accumulates ghost data, and continuously forces compaction in v1.110+[/+][-]GitHub Copilot context window meter is broken, accumulates ghost data, and continuously forces compaction in v1.110+[/-][+]GitHub Copilot context window meter accumulates ghost data and continuously forces compaction in v1.110+[/+]11 remaining items
garretwilson commentedon Mar 19, 2026
It's confirmed: v1.112 makes things worse:
How does pretending that the context window is bigger help users? What is the point of a meter with color indications if it effectively never shows red because it is fudged to show values 22% less than they really are?
garretwilson commentedon Mar 20, 2026
Bhavya U (@bhavyaus) I opened this ticket because compaction was not lowering the context level very much. This actually steadily improved somewhat, especially the day after I filed this ticket), and right before v1.112 was released it was actually bearable (even though compaction still reduced the context window only down to 40% or so).
This new meter fudging with v1.112 is a separate issue; I've opened #303549 for that. The insufficient compaction in this ticket remains an issue (although it has improved slightly leading up to the v1.112 release)—it's just obfuscated by the meter fudging in #303549. It's like taking one problem and adding another problem to make the entire situation worse unfortunately.
Note that the "ghost data" that I found accumulating in this ticket may be the "reserved for response" data that suddenly appeared in v1.112. It's good that now GitHub Copilot is up-front and shows what the "ghost data" is. It's great that now we users know what this "ghost data" is. But it's incorrect and misleading to subtract the "ghost data" from the meter, as this now just produces an inaccurate meter level value.
Majhi12 commentedon Mar 23, 2026
im seeing the same issues if not worse. im about done with github copilot
fraenkDUS commentedon Mar 24, 2026
Same issue here, Claude Agent can now hardly process one multi-line prompt because it gets stuck in a "Conversation compacted" loop, restarting to work on the same task over and over again.
Version: 1.113.0-insider (user setup)
Commit: 92d979b
Date: 2026-03-23T18:27:53-07:00
Electron: 39.8.3
ElectronBuildId: 13620978
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
github.copilot-chat
Version 0.41.2026032301
Background compaction: True
Context window consumption: ~80%
liuuu commentedon Mar 27, 2026
im seeing the same issues
Pokeylooted commentedon Apr 3, 2026
I'm having the same issue
bhavyaus commentedon Apr 4, 2026
Thanks for your patience. This should be fixed in insiders and will be available in the upcoming release.
matthewwiggins commentedon Apr 14, 2026
Bhavya U (@bhavyaus) some feedback on testing the latest Insiders build: we found that the issue persisted (frequent conversation compaction in Agent mode with Claude models causing development to be paralysed), but that reducing the number of active MCP servers fixed it.
This wasn't a linear difference, or related to a single tool - there was point at which pruning servers off the list would suddenly cause the repeated compaction problem to basically disappear.
Therefore, we decided to reduce the committed mcp.json to a minimum, and use local configs for when we needed infrequently used tools.
Insiders build:
Version: 1.116.0-insider
Commit: 1dfb3b9
Date: 2026-04-12T20:08:08-07:00 (1 day ago)
Electron: 39.8.7
ElectronBuildId: 13797146
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0
Before:
After: