Repository navigation
fix(opencode-claimant): read and drive the queue through the repo-queue binary - #5419
Merged
Merged
Conversation
…ue binary (#5414) The binary-direct migration (#5362) retired repo-queue.py, which poll.py imported as its queue helper and prompt.md named as the CLI for every claimant/worker verb. The claimant has failed closed on every fire since: 221 unbound handed_off candidates had piled up across the pilot queues with no sessions launching. poll.py now fetches claimed rows through the queue-broker rich /list (no service-role key on the claimant path), and prompt.md names the repo-queue binary (~/fleet-brokers/bin/repo-queue, direct-broker transport) as the queue CLI. The broker/client side landed with the fleet-brokers direct-mode change. test_poll.py: 36 passed; live poll.py run reports the real candidate set and cap room.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 4, 2026
This was referenced Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5414. Part of the #5362 binary-direct end state; claimant originally from #3026.
What broke
The binary-direct migration retired
repo-queue.py. The laptop opencode-claimant was a missed consumer:poll.pyimported the Python file as its queue helper, andprompt.mdnamed it as the CLI for every verb. It has failed closed on every 10-minute fire since (~05:00Z), and the handed_off pile grew to 221 unbound candidates across the pilot queues.Changes
poll.py: candidate discovery now POSTs the queue-broker's/listwithrich: true(token from~/.config/queue-broker/token) instead of importing a helper with a service-role key. Any broker failure raises — fail closed, never guess. Output contract unchanged.prompt.md: the queue CLI is nowrepo-queue(~/fleet-brokers/bin/repo-queue, direct-broker transport); worker-session instructions name it too.Broker/client side (already deployed): queue-broker
/listgained therichfield set; therepo-queueclient gained a direct-broker transport selected byREPO_QUEUE_BROKER_URL/~/.config/repo-queue/broker-url(home repoc050bd72c). Verified live on the laptop:repo-queue healthdirect, sandbox proxy path unaffected.Verification
test_poll.py: 36 tests passed.poll.pyrun from this worktree: 221 candidates, cap_room 10, per-queue claimed counts match the queue health table.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.