ci: fix required status check context in main ruleset#378
Merged
santoshkumarradha merged 1 commit intomainfrom Apr 9, 2026
Merged
ci: fix required status check context in main ruleset#378santoshkumarradha merged 1 commit intomainfrom
santoshkumarradha merged 1 commit intomainfrom
Conversation
The rule-set's required check context was stored as
"Coverage Summary / coverage-summary" — the "workflow / job" display
format used in GitHub's UI, not the actual check-run name. GitHub's
check-runs API reports the job name only ("coverage-summary"), so the
matcher could not find a satisfying run on any PR head commit.
Symptom: every open PR surfaced
"Coverage Summary / coverage-summary — Expected: Waiting for status to
be reported" as a blocking required check, even though the workflow
itself was green on that commit. The UI displayed the workflow's
actual check run as successful AND the ghost "Expected" entry from
the ruleset side-by-side.
Fix: change the context to "coverage-summary" (matches the actual
check-run name emitted by .github/workflows/coverage.yml's aggregator
job) and pin it to the github-actions app (app_id=15368) so no
third-party app can satisfy it by posting a status with the same
name.
Everything else in the ruleset — merge queue, PR review requirements,
code-owner review, thread resolution, bypass actors, strict mode —
is unchanged.
This JSON file is the source of truth; the Sync Rulesets workflow
applies it to the live repo on push to main, so this commit restores
consistency between the checked-in config and the running rule.
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 free
to 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.
Problem
The main branch ruleset's required status check context was stored as `"Coverage Summary / coverage-summary"` — the "workflow / job" display format that GitHub's UI uses, not the actual check-run name. GitHub's check-runs API only reports the job name (`"coverage-summary"`), so the matcher could never find a satisfying run on any PR head commit.
Symptom: every open PR (#375, #376, etc.) showed:
```
Coverage Summary / coverage-summary — Expected: Waiting for status to be reported [Required]
```
…even though the workflow was green on the same commit. The successful check and the ghost "Expected" entry sat side-by-side in the GitHub checks UI, and the "Expected" one blocked merge via the ruleset's required-check rule.
Discovered while debugging why #375 and #376 were stuck with seemingly-passing CI. Verified against the raw API:
Fix
Change the context to `"coverage-summary"` (matches the actual check-run name from the aggregator job in `.github/workflows/coverage.yml`) and pin it to the `github-actions` app (`integration_id: 15368`) so no third-party app can satisfy the required check by posting a status with the same name.
Everything else in the ruleset — merge queue (squash + ALLGREEN), PR review requirements, code-owner review, thread resolution, bypass actors, strict mode — is unchanged.
Notes
Test plan