ci: never skip stale-base-overlap-gate on push - #2835
Conversation
The job-level pull_request guard skipped the lane on every main push, and ci-status rejects skipped results, so main has been red since #2799. Keep the detector self-test on every event; gate only the overlap check. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @kyle-sexton's task in 1m 0s —— View job Security review
No security issues found. This PR only touches
Checked for the usual risk patterns and found none introduced:
This is a narrowly-scoped CI reliability fix with no security-relevant behavior change. |
|
Last security-reviewed head: |
|
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 23s —— View job Code review (
|
|
Claude finished @kyle-sexton's task in 35s —— View job Todo List
Security reviewSkipped — nothing to report. The
Per the skill's skip-gate instructions, no further review output is produced. |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
No linked issue
Summary
Every push to
mainsince #2799 has failed the requiredci-statuscheck becausestale-base-overlap-gateskipped on non-PR events and the aggregator rejects anyneeds.*.resultother thansuccess.Fix
Remove the job-level
if: github.event_name == 'pull_request'. The detector self-test now runs on every event (including push tomain). Fetch-base and the overlap check stay PR-only. Checkout usesgithub.event.pull_request.head.sha || github.shasorefis never empty on push. The aggregator is unchanged: skipped required lanes stay fail-closed.Verification
bash scripts/check-stale-base-overlap.test.sh: ALL PASS (usage, fresh base, overlapping behind-base fails, disjoint behind-base, missing ref).stale-base-overlap-gateran (not skipped) and passed;ci-statuspassed.mainpush should reportstale-base-overlap-gateassuccess(self-test only) soci-statuscan go green.Related
Refs #2691 (the stale-base gate this job implements). The skip-on-push failure is the same never-skip contract documented on
plugin-gate/skill-quality-gate/hygiene.