workflow: a windows_only dispatch input for measurement rounds (CI-RUNTIME-WINDOWS-ONLY) #1665

Closed
slauko wants to merge 1 commit from upstream-pr/1665 into main
slauko commented 2026-11-25 07:35:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by slauko on 2026-11-25T07:35:38Z.


Claimed in the coordination issue as: CI-RUNTIME-WINDOWS-ONLY.

What and why

The windows job is the only job a loader measurement round needs (it builds the runtime and uploads runtime-windows), and it is the long pole. The wine, linux-gpu-tools and macos jobs add wall clock and runner slots without changing the artifact. A manual dispatch can now set windows_only=true and skip those three; the default stays the full matrix, and push/pull_request runs are unchanged (inputs.windows_only is absent/false there).

No runtime code; the Windows build and artifact are the same.

Tested

  • .github/workflows/runtime.yml parses (yaml.safe_load): four jobs, the new input, and the three conditions are present.
  • A dispatch with -f windows_only=true on slauko/leonida:ci-windows-only (run 45569154298) accepted the input and skipped macos and linux-gpu-tools; windows runs. The wine job carries the same condition and is skipped once the Windows job finishes.
  • Full-matrix runs (push/pull_request) keep the current behaviour; this PR's own CI exercises that path.

AI-assisted: yes.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5487157322 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1665). Originally posted by [slauko](https://github.com/slauko) on 2026-11-25T07:35:38Z. --- Claimed in the coordination issue as: CI-RUNTIME-WINDOWS-ONLY. ### What and why The `windows` job is the only job a loader measurement round needs (it builds the runtime and uploads `runtime-windows`), and it is the long pole. The `wine`, `linux-gpu-tools` and `macos` jobs add wall clock and runner slots without changing the artifact. A manual dispatch can now set `windows_only=true` and skip those three; the default stays the full matrix, and push/pull_request runs are unchanged (`inputs.windows_only` is absent/false there). No runtime code; the Windows build and artifact are the same. ### Tested - `.github/workflows/runtime.yml` parses (`yaml.safe_load`): four jobs, the new input, and the three conditions are present. - A dispatch with `-f windows_only=true` on `slauko/leonida:ci-windows-only` (run `45569154298`) accepted the input and skipped `macos` and `linux-gpu-tools`; `windows` runs. The `wine` job carries the same condition and is skipped once the Windows job finishes. - Full-matrix runs (`push`/`pull_request`) keep the current behaviour; this PR's own CI exercises that path. AI-assisted: yes.
whoalin1 commented 2026-11-25 09:27:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by whoalin1 on 2026-11-25T09:27:56Z.


Independent verification: runtime.yml parses (yaml.safe_load), 4 jobs confirmed, windows job correctly has no if (always runs), windows_only boolean input wired into linux-gpu-tools/macos/wine conditions — on push/PR the inputs context is empty so the full matrix is unchanged. No pull_request_target, input never interpolated into run scripts — no injection surface. test_no_game_data_workflow.py 3 OK. Note: test_runtime_paths.py::test_every_tool_the_jobs_read_triggers_the_workflow currently fails on main AND on this merge-base — tools/conformance/** missing from path filters; that gap is fixed separately by #1673. AI-assisted verification.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7158366613 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1665#issuecomment-7158366613). Originally posted by [whoalin1](https://github.com/whoalin1) on 2026-11-25T09:27:56Z. --- Independent verification: runtime.yml parses (yaml.safe_load), 4 jobs confirmed, `windows` job correctly has no `if` (always runs), `windows_only` boolean input wired into `linux-gpu-tools`/`macos`/`wine` conditions — on push/PR the inputs context is empty so the full matrix is unchanged. No `pull_request_target`, input never interpolated into run scripts — no injection surface. `test_no_game_data_workflow.py` 3 OK. Note: `test_runtime_paths.py::test_every_tool_the_jobs_read_triggers_the_workflow` currently fails on main AND on this merge-base — `tools/conformance/**` missing from path filters; that gap is fixed separately by #1673. AI-assisted verification.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!1665
No description provided.