Skip to content

[Bug] After compaction, queued messages do not fire and cannot be edited/deleted #1060

Description

@adam820

Description

After usage of the /compact command, messages queued during the compaction phase do not auto-start after the compaction is complete, remaining in the queue.

Environment

  • OS: Fedora Linux 44 (Workstation Edition)
  • Node version: v26.7.0
  • Nanocoder version: 1.30.0
  • Provider: Ollama 0.33.0
  • Model: laguna-xs-2.1:q8_0 (not related; happens with other models)

Steps to Reproduce

  1. Run /compact
  2. While compaction is running, add a new prompt and hit "Enter" so it goes into the queue
  3. Wait for compact to finish and observe the queued message being stuck

Expected Behavior

The first message in the queue would start to run (e.g. a request in plan mode, 'Your next task is...', etc.

Actual Behavior

The compaction finishes, prompt returns and can be typed in, but queued messages stay in the queue; the method of selecting them for edit/delete also no longer works (down does nothing, up rolls back through old prompts). In order to get them to work, you have to provide a new prompt, cancel it, then select the next message to start it going.

Logs/Screenshots

Image

Quick "write me a an overview of 6502 emulation" -> compact -> queue "Write me lorem ipsum" -> Prompt doesn't fire; hitting down arrow does nothing, hitting up arrow shows me last message (that I typed to queue).

Additional Context

  • I have searched existing issues to ensure this is not a duplicate
  • I can reproduce this issue consistently (happens all the time)
  • This issue occurs with the latest version of nanocoder

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions