Skip to content

ci: add aggregate "Required checks" gate so docs-only PRs aren't blocked#85

Merged
lamemustafa merged 1 commit into
masterfrom
ci/docs-friendly-required-checks
Jul 24, 2026
Merged

ci: add aggregate "Required checks" gate so docs-only PRs aren't blocked#85
lamemustafa merged 1 commit into
masterfrom
ci/docs-friendly-required-checks

Conversation

@lamemustafa

Copy link
Copy Markdown
Owner

Problem

Native checks (*) and Bundle smoke (*) skip on docs-only PRs (the Determine bundle scope job path-filters them out). Branch protection requires those matrix contexts directly, so on a docs PR they report skipped and the PR stays permanently "expected" / unmergeable — even when every substantive check (Frontend build, Rust format, Tally portable core, Dependency security) passes. This is what blocked #84.

Fix

Add one required-checks gate job (context name: "Required checks") that:

  • always runs (if: always()),
  • needs all the real jobs,
  • passes when each upstream job succeeded or was legitimately skipped,
  • fails if any upstream job failed or was cancelled.

No change to what gets built or tested — only the required-status semantics for path-filtered matrix jobs.

Required follow-up (branch protection — maintainer)

After this merges, update master protection's required status checks:

  • Add: Required checks
  • Remove: Native checks (windows-latest), Native checks (macos-latest), Bundle smoke (windows-latest), Bundle smoke (macos-latest) (now covered transitively by the gate)
  • Keep Dependency security (separate workflow) and your GitGuardian check as you see fit.

This composes with the separate GitGuardian settings fix. Together they let docs-only PRs (e.g. #84) merge normally instead of via admin override.

Note

This PR touches .github/workflows/ci.yml, so the native/bundle jobs do run here and should pass — this PR is itself the proof the gate behaves on a code change.

🤖 Generated with Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 90e69f305f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
The native and bundle-smoke matrix jobs skip on docs-only PRs (via the
"Determine bundle scope" path filter). Because branch protection requires those
matrix contexts directly, a skipped required check leaves the PR permanently
"expected" and unmergeable — even though every substantive check passed.

Add a single `required-checks` gate job that always runs and passes when each
upstream job succeeded or was legitimately skipped, and fails if any failed or
was cancelled. Point branch protection at this one stable context ("Required
checks") instead of the individual native/bundle matrix jobs.

Also:
- Reseal compatibility-surface.json / -matrix.json: `.github/workflows/ci.yml`
  is a hash-pinned file in the Tally compatibility surface, so the gate edit
  requires a reseal (gate + matrix-markdown checks pass locally).
- Update docs/bootstrap/managed-git.md required-status guidance to require the
  aggregate `Required checks` context instead of the individual path-filtered
  matrix contexts, so a future policy reconciliation does not re-block docs PRs.

No change to what actually gets built or tested.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lamemustafa
lamemustafa force-pushed the ci/docs-friendly-required-checks branch from 90e69f3 to 5f708cf Compare July 24, 2026 03:48
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@lamemustafa
lamemustafa merged commit 736507a into master Jul 24, 2026
11 checks passed
@lamemustafa
lamemustafa deleted the ci/docs-friendly-required-checks branch July 24, 2026 04:20
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