Skip to content

ci: run pull-request checks on every base branch - #288

Merged
abrichr merged 1 commit into
mainfrom
claude/ci-run-on-stacked-prs
Aug 19, 2026
Merged

ci: run pull-request checks on every base branch#288
abrichr merged 1 commit into
mainfrom
claude/ci-run-on-stacked-prs

Conversation

@abrichr

@abrichr abrichr commented Aug 19, 2026

Copy link
Copy Markdown
Member

The problem

A stacked pull request gets zero checks and still reports mergeStateStatus: CLEAN.

PR #287 targets codex/production-evidence-contract, not main. Every pull_request trigger in this repository is filtered to branches: [main], so no workflow matched and nothing ran. Its test numbers came from a local run only.

An unverified pull request is indistinguishable from a passing one in the UI and in gh pr view. That is how an untested change reaches main.

PR base checks
openadapt-evals#287 codex/production-evidence-contract 0
openadapt-capture#78 codex/promote-capture-beta 1
openadapt-flow#372 codex/push-json-contract 15

openadapt-flow#372 gets full CI because Flow's ci.yml carries no base filter. That confirms the mechanism.

The change

Remove the base-branch filter from the three pull_request triggers. The push trigger keeps branches: [main].

Cost

complex-visual and evidence-freshness keep their paths filters, so extra runs happen only when a stacked pull request touches those paths. test runs on every pull request, which is the intent.

A matching change is needed in openadapt-capture.

🤖 Generated with Claude Code

A stacked pull request got zero checks and still reported
mergeStateStatus CLEAN. PR #287 targets codex/production-evidence-contract,
so the branches: [main] filter on pull_request never matched and no
workflow ran. An unverified pull request thus looks the same as a passing
one, which is how an untested change reaches main.

Remove the base-branch filter from the three pull_request triggers. The
push trigger keeps branches: [main]. complex-visual and evidence-freshness
keep their paths filters, so the added cost is limited to a stacked pull
request that touches those paths.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrichr
abrichr force-pushed the claude/ci-run-on-stacked-prs branch from 907b5c0 to 087d7b3 Compare August 19, 2026 21:44
@abrichr
abrichr merged commit b39325c into main Aug 19, 2026
3 checks passed
@abrichr
abrichr deleted the claude/ci-run-on-stacked-prs branch August 19, 2026 21:48
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