Skip to content

CLI-71: Fix queue not processing after compact command - #724

Merged
dwash96 merged 3 commits into
cecli-dev:v1.10.1from
szmania:cli-71-queue-not-processing-after-compact
Oct 28, 2026
Merged

dwash96 merged 3 commits into
cecli-dev:v1.10.1from
szmania:cli-71-queue-not-processing-after-compact

Conversation

@szmania

@szmania szmania commented Oct 28, 2026

Copy link
Copy Markdown

Jira Issue: CLI-71 - Queue not processing after compact command

Problem Statement:
Previously, after executing the /compact command, any queued prompts would stall and not process automatically. This required a manual /run-queue command to resume processing, leading to an interrupted workflow.

Changes Introduced:
This pull request addresses the issue by introducing a mechanism to automatically drain queued prompts after the /compact command completes.

Technical Details:
A new flag, _drain_queue_after_command, is set to True within the CompactCommand class. This flag signals the system to process any pending prompts in the queue immediately after the compaction operation finishes, preventing the workflow from stalling.

Files Changed:

  • cecli/commands/compact.py

Testing Notes:

  • Verify that after running /compact with queued prompts, the prompts are processed automatically without manual intervention.
  • Ensure that the _drain_queue_after_command flag correctly triggers the queue drainage.

@dwash96
dwash96 changed the base branch from main to v1.10.1 October 28, 2026 05:57
@dwash96
dwash96 merged commit 1c86200 into cecli-dev:v1.10.1 Oct 28, 2026
7 of 12 checks passed
@dwash96 dwash96 mentioned this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants