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

Closed
github-bot wants to merge 1 commit from github-bot/gh-1665 into main AGit
Owner

@⁠slauko on GitHub · 2026-11-25 07:35 UTC · original
ci-windows-only → main · +8 −1 · 1 files · 1 commits · closed without merging

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.

**@⁠slauko** on GitHub · 2026-11-25 07:35 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1665) `ci-windows-only` → `main` · +8 −1 · 1 files · 1 commits · closed without merging 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.
The Windows job (loader + tests + artifact) is the only job a loader measurement round needs, and it is the long pole; the Wine, Linux GPU-tools and macOS jobs add wall clock and runner slots. A manual dispatch can now set windows_only=true and skip those three. The default stays the full matrix; push and pull_request runs are unchanged.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:59:58 +00:00
Author
Owner

@⁠whoalin1 on GitHub · 2026-11-25 09:27 UTC · original

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.

**@⁠whoalin1** on GitHub · 2026-11-25 09:27 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1665#issuecomment-7158366613) 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.
github-bot closed this pull request 2026-11-27 11:37:15 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.