Uh oh!
There was an error while loading. Please reload this page.
feat(2284): give the Bugbot gate a caller here (advisory) - #577
Merged
Conversation
Step 2 of the reusable's three-step arming order, rolled from the claude-skills pilot (claude-skills#36) to the rest of the fleet. No branch protection is touched and `bugbot / review` is not required: Bugbot does not review Dependabot PRs, so a required context would park every one of them red with no route to green. Reported, not required. repo-inventory.yml is untouched -- caller first, entry after; the flip to `required` is the follow-up. Refs tracebloc/backend#2284 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
saqlainsyed007
approved these changes
Aug 25, 2026
saqlainsyed007
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Verified this is the same thin-caller shape I reviewed on backend#2519, confirmed against the live callee at tracebloc/.github@main: jobs.bugbot.uses points at bugbot-gate.yml@main (a workflow_call reusable whose job id is review, so the context resolves to bugbot / review), no with:/secrets: (all four inputs default, runs on github.token), contents/checks/pull-requests: read matches the callee's needs, ready_for_review handled, per-PR concurrency, no paths: filter, and no branch-protection change — advisory, per step 2 of #2284. CI green, no threads.
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
What this is
One of 19 sibling PRs rolling
bugbot-gate.ymlout to the rest of the org — the fleet half of tracebloc/backend#2284, following theclaude-skillspilot (claude-skills#36).This is step 2 of the three-step arming order the reusable's own header sets out: (1) the reusable reaches
.github'smain— done in #305/#312; (2) callers, advisory; (3) thebugbot / reviewrequired context — not taken here.This is advice, not a gate — and that is deliberate
No branch protection is touched by this PR, and
bugbot / reviewis not added to any required-context list. One measurement is why step 3 is not taken:Bugbot re-runs only on a push or an explicit
bugbot runcomment, so a requiredbugbot / reviewwould park every Dependabot PR at a red check with no route to green. Until that is answered the verdict is reported and nothing is required.Why it is safe to arm here
cursorGitHub App is installed on the org withrepository_selection: all, and a per-repo sample of the last 15 PRs found a terminalCursor Bugbotcheck on every non-draft, non-Dependabot head. A repo where Bugbot never runs would only ever measure the gate's own 900s timeout.claude-skills#36put the gate on real PRs on one low-traffic private repo before this went fleet-wide — CLAUDE.md rule 4 (arm while green), in the order that lets a misbehaviour be attributed to one repo rather than twenty.repo-inventory.ymlis not touched here — the flip is the required follow-upCaller first, inventory entry after.
.github's caller state is read from its audit branch over the API, so a caller and itsrequiredrow cannot land in one PR: the row would be checked against a branch the caller is not on yet. Same two-stepblocked-gateand backend#2396 were forced into.Between the two, a caller against an
exemptrow is the stale-exemption finding and the org audit is red. That window is the accepted cost of this order — the alternative is a PR that can never go green — and flipping every row torequiredis the required follow-up, one PR againsttracebloc/.githubcovering all 20 repos.Verification
actionlint1.7.12 — the version pinned as a required check intracebloc/.github— clean on this file.python3 -c "import yaml; yaml.safe_load(...)"clean.uses:target resolves:bugbot-gate.ymlis blob936771bbon.github'smainanddevelopalike, and really declares all four inputs this caller declines to pass.paths:filter ·ready_for_reviewpresent · nosecrets: inherit· noworkflow_dispatch· no inputs passed (all four defaulted,min-severity: highincluded — restating the callee's default in 20 files is CLAUDE.md rule 1 in reverse).What to watch on this PR
This PR is its own first observation: the caller is on the head, so the gate runs against it. Expected —
bugbot / reviewreports, having readCursor Bugbot's terminal verdict on the head, and passes with no findings open at or abovehigh.Refs tracebloc/backend#2284
Note
Low Risk
Adds an advisory CI workflow only; no application code, secrets inheritance, or branch protection changes.
Overview
Adds
.github/workflows/bugbot-gate-caller.yml, a thin caller that runs the org reusabletracebloc/.githubbugbot-gate.ymlonpull_request(opened,reopened,synchronize,ready_for_review). This is fleet rollout step 2 of backend#2284 (after theclaude-skillspilot): Bugbot findings surface as thebugbot / reviewcheck without making it a required status context.The workflow uses concurrency with cancel-in-progress, read-only
contents,checks, andpull-requestspermissions, and nopathsfilter,secrets: inherit,workflow_dispatch, or explicit inputs (callee defaults, includingmin-severity: high).repo-inventory.ymland branch protection are unchanged; flipping inventory rows torequiredis documented as a separate follow-up.Reviewed by Cursor Bugbot for commit b043280. Bugbot is set up for automated code reviews on this repo. Configure here.