Skip to content

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

Closed
slauko wants to merge 1 commit into
ProjectLeonida:mainfrom
slauko:ci-windows-only
Closed

slauko wants to merge 1 commit into
ProjectLeonida:mainfrom
slauko:ci-windows-only

Conversation

@slauko

@slauko slauko commented Nov 25, 2026

Copy link
Copy Markdown

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.
@whoalin1

Copy link
Copy Markdown
Contributor

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-actions github-actions Bot added the needs rebase Conflicts with the base branch: rebase it on main label Nov 26, 2026
@slauko slauko closed this by deleting the head repository Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs rebase Conflicts with the base branch: rebase it on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants