Skip to content

Compaction is triggered at 50% with GPT-5.6 Luna Max #4571

Closed

Description

@hutstep

Describe the bug

When using Copilot CLI with GPT-5.6 Luna Max (maybe other effort levels also), compaction is triggered at 50%. Implementing even smaller tasks almost always trigger compaction because of that.

Affected version

GitHub Copilot CLI 1.0.80

Steps to reproduce the behavior

Use Copilot CLI with GPT-5.6 Luna Max let it work on a task. At 50% context window, compaction triggers.

Expected behavior

Should happen at approximately 80% of the context window's capacity.

https://docs.github.com/en/copilot/concepts/agents/copilot-cli/context-management#when-compaction-happens

Additional context

  • MacBook Pro - M2 Pro

Activity

  1. added theissue type on Aug 23, 2026
  2. added
    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loading
    area:modelsModel selection, availability, switching, rate limits, and model-specific behavior
    and removed on Aug 24, 2026
  3. copilot-cli-bot commented on Oct 29, 2026

    @copilot-cli-bot

    This appears to be resolved as of GitHub Copilot CLI v1.0.105. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:context-memoryContext window, memory, compaction, checkpoints, and instruction loadingarea:modelsModel selection, availability, switching, rate limits, and model-specific behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions