You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Required PR Check mirror: the skipped PR-run job shows its raw name expression in the checks list #350
priority: lowMinor issue or improvement that can be deferred without impactstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expected
The consumer ci.yml template now gives the required-check mirror job a conditional name, so the skipped pull_request run of an in-repo feature PR can't post a skipped check under the required name. GitHub treats a skipped required check as satisfied. The name is:
GitHub doesn't evaluate a skipped job's name:, so on every in-repo feature PR the checks list shows the whole expression as the job name, for example on CLDMV/slothlet#556. The guarantee itself holds:
On the skipped path, the raw text is not the required name, so it can't satisfy the ruleset.
On every path that runs, the name evaluates to ✅ Required PR Check. Verified on CLDMV/slothlet push run 37065469706 (613c6a41, the commit that adopted the change): job ✅ Required PR Check concluded success.
Problem: the raw expression is noisy and reads like a broken workflow to anyone looking at a PR's checks.
Options to evaluate:
Keep the expression, but make the skipped case land on a short readable string. This isn't possible while GitHub skips name evaluation for skipped jobs, unless the job no longer skips.
Don't skip at all on the in-repo PR path: let the job run, with a constant name (⏭️ Required PR Check (reported by the push run)) and a single no-op step. Pair it with a separately named ✅ Required PR Check job that only exists on the paths that own the status. Confirm that a job whose if: is false doesn't post a check under its name, or that its name differs on that path.
Move the PR-event mirror into a separate workflow file whose job name never equals the required name on the in-repo path.
Whichever option is chosen must keep the invariant the current change established: no skipped or no-op check named ✅ Required PR Check may ever appear on an in-repo feature PR before the push run's real mirror reports.
This clarifies the invariant above, since "before the push run's real mirror reports" was imprecise.
✅ Required PR Check must only ever appear after the full test matrix (vitest, every Build & Test leg) has finished, and it must mirror that result. The ruleset gates merges on it, so it is the "tests passed" signal.
Today the push run satisfies this. The mirror job has needs: ci, so it is created only once every Build & Test leg and the coverage job have completed. On CLDMV/slothlet run 37065469706, the Build & Test legs finished at 21:34, 21:37 and 21:41, coverage at 21:44:25, and the ✅ Required PR Check job was created at 21:44:32 and concluded success at 21:44:37.
Any fix for the skipped-name display must preserve this: no check named ✅ Required PR Check may exist on a PR's head SHA, whether skipped, no-op or otherwise, until the vitest matrix for that SHA has completed.
priority: lowMinor issue or improvement that can be deferred without impactstatus: implementedBuilt and deployed, but not yet fully tested/verifiedtype: bugSomething is broken or not behaving as expected
Activity
Shinrai commentedon Oct 2, 2026
This clarifies the invariant above, since "before the push run's real mirror reports" was imprecise.
✅ Required PR Checkmust only ever appear after the full test matrix (vitest, every Build & Test leg) has finished, and it must mirror that result. The ruleset gates merges on it, so it is the "tests passed" signal.Today the push run satisfies this. The mirror job has
needs: ci, so it is created only once every Build & Test leg and the coverage job have completed. On CLDMV/slothlet run 37065469706, the Build & Test legs finished at 21:34, 21:37 and 21:41, coverage at 21:44:25, and the✅ Required PR Checkjob was created at 21:44:32 and concluded success at 21:44:37.Any fix for the skipped-name display must preserve this: no check named
✅ Required PR Checkmay exist on a PR's head SHA, whether skipped, no-op or otherwise, until the vitest matrix for that SHA has completed.cldmv-bot commentedon Oct 2, 2026
Marked
status: implemented— resolved by #351, merged intonext. This issue closes automatically when that work ships to the default branch.ci: run the in-repo PR mirror job instead of skipping it
cldmv-bot commentedon Oct 2, 2026
Closed in v4.30.4 — resolved by #351.