Skip to content

fix(gateway): preserve process waits in queue mode#13485

Open
pandego wants to merge 1 commit into
NousResearch:mainfrom
pandego:fix/13403-queue-wait-no-interrupt
Open

fix(gateway): preserve process waits in queue mode#13485
pandego wants to merge 1 commit into
NousResearch:mainfrom
pandego:fix/13403-queue-wait-no-interrupt

Conversation

@pandego

@pandego pandego commented Apr 21, 2026

Copy link
Copy Markdown

Summary

  • preserve current runs when display.busy_input_mode is queue
  • queue follow-up messages without interrupting the active task
  • keep process.wait() from returning early on new-message interrupts in queue mode
  • add regression coverage for queue-vs-interrupt wait behavior

Validation

  • uv run --extra dev pytest -q tests/test_issue_13403_queue_wait.py tests/tools/test_process_registry.py -n 0

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery labels Apr 22, 2026
@pandego pandego force-pushed the fix/13403-queue-wait-no-interrupt branch from 2a6c9d3 to 066925b Compare June 8, 2026 12:20
@pandego

pandego commented Jun 8, 2026

Copy link
Copy Markdown
Author

Rebased this branch onto the current main and force-pushed the refreshed branch.

Validation:

  • uv run --with pytest --with pytest-timeout pytest tests/test_issue_13403_queue_wait.py -q

The PR should be back in a clean review state.

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

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants