fix(source-control): fail closed when PR commit walk hits API cap - #2400
fix(source-control): fail closed when PR commit walk hits API cap#2400kyle-sexton wants to merge 2 commits into
Conversation
Compare walked commits against the PR commits field and raise when the pull-commits endpoint returns fewer rows than the PR reports. Fixes #2387 Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Claude finished @kyle-sexton's task in 1m 45s —— View job Security Review — PR #2400
Scope: reviewed only the 3 files changed in this PR ( No security issues found. This is a well-scoped fail-closed fix. Summary of what I checked and why it's safe:
Nothing here falls under logic/auth/injection/secrets-handling concerns; per-scope instructions I'm not re-flagging supply-chain/permissions/trigger-pattern territory that zizmor already covers statically (not applicable here anyway — no workflow files changed). |
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Warning Automated security review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
The check is green on purpose, and it is not evidence. It certifies that a security pass ran, and this one did not complete — but the cause is outside this PR's control, so merging is deliberately left unblocked rather than locking every merge for the length of the outage. Nothing was reviewed at this head. Where this check is required, it is satisfied without that evidence; a human should review security-sensitive changes here before merging. Re-run the job to retry the review; a new push also retries it only if the caller's Re-running does NOT help for every class:
|
|
Warning Automated review did not complete — this is an infrastructure failure, not a review verdict. Treat any Claude comment on this PR (including a placeholder like "I'll analyze this and get back to you") as incomplete, not "no findings."
Re-run the job to retry the review. A new push re-triggers this lane only if the caller's |
Fixes #2387.
Compares walked commits against the PR
commitsfield and raises when GitHub's pull-commits endpoint returns fewer rows than the PR reports (250-commit ceiling).Tests:
test_babysit_gh.FetchPullRequestCommitsTests.Related