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

Closed
leonida/mandy
slauko wants to merge 0 commits from ci-windows-only into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

slauko commented 2026-11-25 07:35:38 +00:00

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.

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

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.

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.
Sign in to join this conversation.
No description provided.