Repository navigation
Description
What
ci-lint precheck on master (6e9560488) reports 4 violation(s), 355 approved exception(s), 10 needs_review. Eight of the ten needs-review findings are WF-004 — "job X needs Y, which is gated on the event, so it is SKIPPED on other events, and a skipped needs: skips this job too".
All eight were checked against the jobs' own if: conditions and their inputs; in every case the skip cascade is what the workflow wants, and the fix is the rule's own second option: record it as a documented exception instead of leaving a static finding that reads as a latent bug. Two needs-review findings (GEN-007, the missing paths: filters on appimage.yaml push and ci.yml pull_request) are not in this unit: whether a matrix this broad should be path-scoped is a maintainer's call, so they stay needs-review.
Findings and dispositions
| Workflow | Job | Needed job | Why the cascade is intended |
|---|---|---|---|
sanitizers.yaml |
sanitize |
matrix (gated: not a fork's schedule) |
#1258: a fork's schedule must not run the sanitizer marathon. In obs-rust/obs-studio, where the workflow actually runs, matrix always runs. |
ci.yml |
tier2-setup-consumer |
tier2-setup-producer (gated: master dispatch + tier2-setup-probe) |
It downloads the producer's tier2-setup-metadata / tier2-setup-image artifacts, so it cannot run without it. The pair is the #1592 measurement probe. |
release-rust.yaml |
build, appimage, gate |
check (gated: inputs.certify == '') |
A certify dispatch only promotes an existing release; it builds nothing (the certify job has no needs: on purpose). |
appimage.yaml |
release |
test, test-nixos (gated: push or inputs.platform_tests) |
The reusable-workflow call is the release gate, which must never publish. release additionally requires event_name == 'push'. |
scheduled.yaml |
report-nightly-failure |
build-project, analyze-project, codeql |
It reports a scheduled failure (if: failure() && event_name == 'schedule'); on a dispatch there is nothing to report. |
scheduled.yaml |
steam-upload |
build-project |
Upstream-only job (if: repository_owner == 'obsproject'); it never runs in this fork. |
Acceptance
ci-lint precheckreports no WF-004 needs-review finding:needs_reviewdrops from 10 to 2,approved exception(s)rises from 355 to 363.- Each flagged job carries a one-line comment in the workflow saying the skipped
needs:is intended, so the next reader does not have to re-derive it. - Nothing else changes: no
if:on a gated job is rewritten, so no run's behaviour moves.
RED / GREEN
- RED:
ci-lint precheckonorigin/master— the eight WF-004 lines quoted above. - GREEN: the same command on the branch — WF-004 section empty, the counts as listed in Acceptance.
Filed from a worker tick on slot obs-studio3; one PR, infra/wf-004-needs-review-exceptions.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 29, 2026
Claiming: investigation
Disposition of every open WF-004 finding on master (
6e9560488): eight needs-review hits, all in jobs whose skippedneeds:is what the workflow wants, plus the one-line comment each of those jobs is missing. The two GEN-007 findings (missingpaths:onappimage.yamlpush andci.ymlpull_request) stay needs-review — whether a 4-leg matrix should be path-scoped is a maintainer call.zackees commentedon Oct 29, 2026
/ready
Ready: the dispositions are derived from each job's own
if:and inputs (the body tabulates them), acceptance is the precheck delta (needs_review10 -> 2, approved exceptions 355 -> 363), and nothing depends on hardware or a decision.zackees commentedon Oct 29, 2026
Claiming: WF-004 documented-exception sweep
ci-lint precheckon6e9560488lists eight WF-004 needs-review findings (quoted in the body).[[exceptions]]blocks inci.toml, one per path, each carrying the reason; plus the one-line comment the flagged job was missing in each workflow.needs_review10 -> 2, approved exceptions 355 -> 363, violations unchanged at 4.if:on a gated job is rewritten, so no run's behaviour moves. PRinfra/wf-004-needs-review-exceptionsnow.zackees commentedon Oct 29, 2026
Fixed by #2954 (merged as
3d3c86a4e).[[exceptions]]blocks inci.toml(one per path:sanitizers.yaml,ci.yml,release-rust.yaml,appimage.yaml,scheduled.yaml), each carrying the reason it is in the issue body.ci.toml.if:on a gated job was rewritten, so no run's behaviour moved.Verified on master (
61c814e48):ci-lint precheck->363 approved exception(s), 2 needs_review, WF-004 section empty (it was355 / 10with eight WF-004 needs-review findings at6e9560488). Violations moved 4 -> 6 in the same window from unrelated landings (#2955, #2943), not from this change.What's left in the needs-review queue: the GEN-007 pair (
appimage.yamlpush andci.ymlpull_request have nopaths:filter in front of a 4-leg matrix). Whether a matrix that broad should be path-scoped is a maintainer call, so it stays needs-review and wants its own issue. Local gate for this change:lintok,rust-testok,crossok,tier2-linuxok (620/620 cmocka both configs);macos-native/windows-nativenot applicable on this host.ci: record the eight WF-004 needs-review cascades as intended (obs-ru…