Repository navigation
Description
What
.github/workflows/scheduled.yaml still carries three multi-line run: steps, so ci-lint precheck reports a GEN-005 approved exception for the path. The Python-port sweep has already taken the sibling actions and workflows — windows-signing (#2816/#2820), windows-patches (#2804), setup-macos-codesigning (#2794), run-swift-format (#2792), the sanitizers workflow (#2780), leaderboard.yml (#2812) — and scheduled.yaml is one of the small ones left.
Steps that carry a finding:
| job | step | what the block does |
|---|---|---|
report-nightly-failure |
Open or Update the Nightly Failure Issue |
gh issue list --search "in:title …", then gh issue comment on the open one or gh issue create |
upload-language-files |
Check Nightly Runs |
gh run list --workflow scheduled.yaml --limit 2 --json headSha --jq '.[1].headSha', compare it with GITHUB_SHA, write passed and lastNightly to $GITHUB_OUTPUT |
steam-upload |
Check Nightly Runs |
the same comparison in zsh; it writes only passed |
Every uses: step and every job stays as it is — only the shell blocks move.
Proposal
One PR, the same shape as #2792 and #2816:
ci/scheduled_steps.py— two subcommands, each keeping its step's argv and exit status exactly:check-nightly-runs: thegh run listargv, theGITHUB_SHA/last_nightlycomparison, andpassedpluslastNightlyin$GITHUB_OUTPUT. One subcommand serves both jobs;steam-uploadsimply ignores the extra output.report-nightly-failure: the title, the body (SHA,RUN_URL), thengh issue commentorgh issue createfromGH_TOKEN/GH_REPO.
scheduled.yaml— eachrun:becomes oneuv run --no-project --script ${{ github.workspace }}/ci/scheduled_steps.py <step>line,report-nightly-failuregains theactions/checkoutand pinnedastral-sh/setup-uvsteps it needs to see the module at all (it has no checkout today), andsteam-uploaddrops itszshdefault now that nothing is shell.- Delete the GEN-005
[[exceptions]]block inci.tomlfor the path.
Scope note: this is a CI move, not a behaviour change. The RED test pins each gh argv against a stub on PATH (as ci/test_run_swift_format.py and ci/test_windows_patches.py do) plus the $GITHUB_OUTPUT lines, and fails on master because the module does not exist.
Not verified here: the two ported jobs are upstream-only (github.repository_owner == 'obsproject') and report-nightly-failure runs only after a failed nightly, so the first real proof is the next scheduled run. The stub tests are the local evidence, as in the sibling ports.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 28, 2026
Claiming: #2822
ci/scheduled_steps.pywithcheck-nightly-runsandreport-nightly-failure, each keeping its step'sghargv and exit status exactly.scheduled.yaml: oneuv run --no-project --script ${{ github.workspace }}/ci/scheduled_steps.py <step>per step, plus theactions/checkoutand pinnedastral-sh/setup-uvstepsreport-nightly-failureneeds to see the module.ci.toml; the RED test pins bothghargvs and the$GITHUB_OUTPUTlines.First PR: this tick — a focused CI change, so the RED and GREEN commits go up together with local RED evidence (coordination.md §4).
ci(scheduled): run the three nightly steps as one Python call each (G…