Skip to content

ci(mq): MQ feeder — enqueue the oldest green PR when the queue is empty (PMAT-5843) - #5845

Closed
noahgift wants to merge 9 commits into
mainfrom
ci/mq-feeder
Closed

noahgift wants to merge 9 commits into
mainfrom
ci/mq-feeder

Conversation

@noahgift

Copy link
Copy Markdown
Member

Refs #5843. Operator 10:29Z (verbatim, via aprender-57): "a job checks MQ every 5 min; if empty, it enqueues the oldest green non-draft PR (arm_pr_automerge.sh) and posts to the cop inbox. Reversible, 2 h window."

  • scripts/mq_feeder.sh (+ --self-test, 7 rows); local systemd user timer (scripts/systemd), not a workflow.
  • Re-reads mergeQueueEntry 30 s after enqueue; a kicked PR (reason from RemovedFromMergeQueueEvent) is skipped and posted to the inbox.
  • Kill switch: touch ~/.local/state/mq-feeder/disabled.

🤖 Generated with Claude Code

noahgift and others added 8 commits October 21, 2026 12:44
…hen the merge queue is empty (PMAT-5843)

Re-reads mergeQueueEntry after 30 s; a kicked PR is recorded and skipped, reason posted to the cop inbox.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…PMAT-5843)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… each skip with its reason, 'needs seats' for gate content (PMAT-5843)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…H account cannot APPROVE)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@noahgift
noahgift marked this pull request as draft October 21, 2026 11:15
…its), named in the skip line

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

§13.11 rung 1 — quorum shadow verdict

S13-SHADOW pr=5845 head=915765011adfb333a9a2db78caa386b470557b44 verdict=REFUSE class=Q1 arm_rc=1

Shadow mode: this records a verdict and merges nothing. A refusal
to arm is not a block (§13 adds zero rows to §7) — the pull request is
exactly as green as it was.

@noahgift

Copy link
Copy Markdown
Member Author

superseded by #5876 (operator ruling 2026-10-22 06:19Z, relayed by the cop)

@noahgift noahgift closed this Oct 22, 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.

1 participant