Skip to content

feat: Add worker queues#180

Merged
joshjon merged 1 commit intomainfrom
feat/worker-queues
Mar 26, 2026
Merged

feat: Add worker queues#180
joshjon merged 1 commit intomainfrom
feat/worker-queues

Conversation

@joshjon
Copy link
Copy Markdown
Collaborator

@joshjon joshjon commented Mar 26, 2026

Summary

Adds named worker queues so that repositories can be routed to workers with specific tech stack tooling. This allows scaling across multiple repos with different stacks by running workers configured with different agent Docker images, each polling from a dedicated queue.

Changes

  • Add queue column to repo table (default: "default"), so each repository can be assigned to a worker queue
  • Add platform-level worker queue management via settings API (GET/POST/DELETE /settings/worker-queues); the "default" queue always exists and cannot be removed
  • Add PUT /repos/:repo_id/queue endpoint to assign a repo to a queue, with validation that the queue exists
  • Update poll endpoint (GET /agent/poll) to accept ?queue= parameter — resolves queue to repo IDs and filters tasks, epics, and conversations accordingly
  • Add --queue / QUEUE flag to worker CLI (default: "default")
  • Add Worker Queues section to Settings dialog for managing available queues
  • Add queue selector dropdown to Repository Settings dialog
  • Queue is stored on the repo, not the task — when a repo's queue changes, pending tasks automatically route to the new queue with no migration

@joshjon joshjon merged commit 37e4b68 into main Mar 26, 2026
2 of 4 checks passed
@joshjon joshjon deleted the feat/worker-queues branch March 26, 2026 06:43
@github-actions
Copy link
Copy Markdown

📸 UI Screenshots

No screenshots were captured. Check the workflow run for errors.


Workflow run

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.

1 participant