Skip to content

Resolve #25 -- Add simple task/queue actions to the inspector#27

Merged
codingjoe merged 1 commit into
mainfrom
actions
Jul 7, 2026
Merged

Resolve #25 -- Add simple task/queue actions to the inspector#27
codingjoe merged 1 commit into
mainfrom
actions

Conversation

@codingjoe

Copy link
Copy Markdown
Owner

No description provided.

@codingjoe codingjoe self-assigned this Jul 7, 2026
@codingjoe codingjoe force-pushed the actions branch 4 times, most recently from 5008ce4 to 4133851 Compare July 7, 2026 18:26
@codingjoe codingjoe marked this pull request as ready for review July 7, 2026 18:39
@codingjoe codingjoe requested a review from Copilot July 7, 2026 18:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds interactive “mutating” queue/task actions to the Textual-based inspector (confirm/retype modals + keyboard bindings), backed by new backend APIs and Redis implementations, with accompanying tests and README updates.

Changes:

  • Add confirmation modal screens (ConfirmScreen, PurgeScreen) and dialog styling for inspector actions.
  • Add inspector keybindings/actions to requeue failed tasks, dequeue tasks, and purge queues (with confirmation flows).
  • Extend backend API with dequeue() / purge() and implement them (plus extra Redis cleanup in requeue()), with expanded test coverage and docs.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
threadmill/inspector/screens.py Adds modal confirmation screens for destructive/confirmable inspector actions.
threadmill/inspector/inspector.scss Adds dialog styling and global screen alignment (needs scoping adjustment).
threadmill/inspector/app.py Adds keybindings and action handlers for refresh/requeue/dequeue/purge in the inspector.
threadmill/backends/redis.py Adds Redis implementations for dequeue/purge and improves requeue cleanup.
threadmill/backends/base.py Extends backend interface with dequeue/purge APIs and expands requeue docstring.
tests/test_inspector.py Adds extensive inspector action and modal interaction tests.
tests/backends/test_redis.py Adds Redis backend tests for requeue cleanup, dequeue, and purge behavior.
tests/backends/test_base.py Adds base backend NotImplementedError tests for new APIs.
README.md Documents inspector queue actions and shortcuts (currently mismatched for dequeue).

Comment thread README.md Outdated
Comment thread threadmill/inspector/inspector.scss
Comment thread threadmill/inspector/app.py Outdated
Comment thread threadmill/backends/redis.py
Comment thread threadmill/backends/base.py Outdated
@codingjoe codingjoe merged commit 190acbe into main Jul 7, 2026
4 checks passed
@codingjoe codingjoe deleted the actions branch July 7, 2026 21:51
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