Repository navigation
ci: admit ClawSweeper events before allocating a runner - #170
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR moves ClawSweeper event admission before runner allocation and switches eligible jobs to the single-CPU Ubuntu runner. Example: A MEMBER posts the comment “Thanks for checking this.”
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored PR open: it provides a focused runner-allocation improvement absent from current main, with no actionable correctness or security finding. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe GitHub Actions dispatcher receives issue, pull-request and comment events, filters eligible activity, and sends OIDC-authenticated requests to ClawSweeper intake. flowchart TD
A[GitHub event] --> B[Job admission]
B --> C[Skip without runner]
B --> D[Ubuntu slim runner]
D --> E[Comment command matcher]
D --> F[OIDC dispatch]
E --> F
F --> G[ClawSweeper intake]
Technical reviewBest possible solution: Retain the single job-level admission owner and existing command matcher, with the scoped runner change. Do we have a high-confidence way to reproduce the issue? Source inspection confirms main allocates a runner before rejecting ineligible events; no target code or workflows were executed during this review. Is this the best way to solve the issue? Moving the existing predicate to the job boundary is the smallest complete improvement, and the punctuation prefilter cannot exclude a command accepted by the unchanged matcher. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d7935a7bcc80. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 20, 2026, 4:28 AM ET / 09:28 UTC. |
Summary
ClawSweeper accounted for 624 workflow runs in the audit window. Evaluate the existing event and author rules before allocating a runner. Comments need a slash or an at-sign to reach the existing command matcher. Eligible dispatches use GitHub’s single-CPU Ubuntu runner.
Security and verification
PR events and human label events retain their existing routes. Other issues and comments require an owner, member or collaborator. The job still uses OIDC and the comment matcher still receives the body through an environment variable.
actionlint .github/workflows/clawsweeper-dispatch.ymlpassed.