Skip to content

fix(queue): make coverage merge-watch packets validator-safe - #12743

Draft
dezren39 wants to merge 1 commit into
mainfrom
codex/coverage-watch-packet-20261123
Draft

dezren39 wants to merge 1 commit into
mainfrom
codex/coverage-watch-packet-20261123

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Make merge-watch packets pass the current queue validator: include its required payload.prs reference and use the canonical per-PR dedupe key shared with the warden.
  • Keep the documented pr_shepherd attempt default so validation is clean.
  • Preserve every open PR that references an uncovered issue, filing one watch task per PR instead of keeping only the first.

Evidence

A live dry-run of the existing merge-watch packet for #12233/#12565 was rejected by the queue validator: the custom merge-watch key was unrecognized, then the canonical key required payload.prs. The plan issue #12233 currently has three uncovered open slice PRs; the old issue-to-PR map retained only one.

Verification

  • python3 -I scripts/fleet/queue-reconcile/test_check_coverage.py — 20 passed.
  • Live fleet queue enqueue /dev/stdin --dry-run accepted triage and repaired merge-watch packets.

Related to #12280 and #4951.


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

This branch has not been deployed

No deployments
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