Repository navigation
Description
Problem
At commit d33018c (from #38), two texts give different rules for a new test job of .github/workflows/test-pr.yaml.
- The comment above the job
feature-tests(lines 253 to 258) says that a new test job goes inneedsand inallowed-skips. CONTRIBUTING.md(line 67) says to add the job toallowed-skipswhen the job has anif.
The rule in CONTRIBUTING.md does not include a job that has no if and needs a job that has one, for example needs: [test]. GitHub skips that job when test is skipped. re-actors/alls-green accepts a skipped job only when allowed-skips names it. Thus the check Feature tests fails on a pull request that selects no Feature.
Effect
No job of this kind exists now. If a person adds one and obeys CONTRIBUTING.md, the check blocks the pull request. This text does not let a failed test pass.
Evidence
- GitHub documents: If a job fails or is skipped, all jobs that need it are skipped, unless a condition lets the job continue.
re-actors/alls-greenatb5b5b37504aa4183270bd3d855c52a67f212be35:src/job_outcome.pyjudges each job againstallowed-skips. An offline run of the script, with a skipped job thatallowed-skipsdid not name, ended with exit code 1.
Fix
Give one rule in the two places: a new test job goes in needs, and in allowed-skips when GitHub can skip it (it has an if, or it needs a job that GitHub can skip).
Make this change in the next pull request that edits the two files, such as the planned change that tests each Feature when the test tooling changes. Do not open a pull request for this text only.
Acceptance
- The workflow comment and
CONTRIBUTING.mdgive the same rule.
Source
Source: #38
Activity
dan-petty commentedon Nov 30, 2026
No job of this kind exists now, and the body says to fold the fix into a later pull request.The regression commit d33018c does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.Both touch test-pr.yaml and the allowed-skips mechanism, but #37 fixes matrix-job reporting while this item fixes the written rule for adding a new job.fix(ci): test each Feature when the test tooling changes (#43)
dan-petty commentedon Nov 30, 2026
Pull request #43 (for #41) includes the change of this issue. The comment above the job
feature-testsandCONTRIBUTING.mdnow give the same rule for a new test job. #43 closes only #41. After the merge of #43, close this issue as completed.dan-petty commentedon Nov 30, 2026
Delivered by #43, merged as 482c3bc. On main, the comment above the job feature-tests of test-pr.yaml and CONTRIBUTING.md give the same rule: a new test job goes in needs, and in allowed-skips when GitHub can skip it.