Skip to content

Compaction loses all context on the immediately executing task #1571

@antoinecellerier

Description

@antoinecellerier

Describe the bug

This has happened a few times to me over the past days. After compaction happens, context from the previously executing action seems to become completely lost which effectively requires manually stitching things back together. This is not consistently happening and I do not know how to reproduce reliably.

Here's an example which happened right now:

Image you can see right after compaction that it's trying to figure out what it was doing right before (e.g. about to check screenshots it had just taken) Image

I'm happy to share any local files which could help debug this.

Affected version

GitHub Copilot CLI 0.0.413-0.

Steps to reproduce the behavior

No response

Expected behavior

Expected behavior would be for copilot to continue with ongoing work after compaction without needing to reinfer everything from repo state.

Additional context

Let me know what would be useful to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions