ci: wait for SPIR-V version probes to exit #734

Merged
R0Y00 merged 1 commit from upstream-pr/740 into main 2026-11-23 00:22:50 +00:00
R0Y00 commented 2026-11-23 00:09:28 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T00:09:28Z.


Change

Refs #726 and #720. Both Windows checks on #692 fail in the tool setup after a successful cache restore. The version command is piped into Select-Object -First 1, which can stop a native process before it exits. Capture the complete output, check the process exit status, then print the first line.

The workflow still requires the four WARP results in both Windows presets.

Verification

  • On local Windows, a source-built native version command flushed one line, waited briefly, then wrote the rest and returned 0. The old setup script failed on the stamped cache directory with spirv-as does not run and exit 1. The new script reused the same stamped directory, ran both probes and returned 0.
  • Changing the native command to return 7 still caused setup to fail.
  • git diff --check passed.

CI evidence for the original failure: https://github.com/R0Y00/Xbox2Windows/actions/runs/45086519098

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6549595403 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/740). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T00:09:28Z. --- ## Change Refs #726 and #720. Both Windows checks on #692 fail in the tool setup after a successful cache restore. The version command is piped into `Select-Object -First 1`, which can stop a native process before it exits. Capture the complete output, check the process exit status, then print the first line. The workflow still requires the four WARP results in both Windows presets. ## Verification - On local Windows, a source-built native version command flushed one line, waited briefly, then wrote the rest and returned 0. The old setup script failed on the stamped cache directory with `spirv-as does not run` and exit 1. The new script reused the same stamped directory, ran both probes and returned 0. - Changing the native command to return 7 still caused setup to fail. - `git diff --check` passed. CI evidence for the original failure: https://github.com/R0Y00/Xbox2Windows/actions/runs/45086519098
upstream-sync closed this pull request 2026-11-24 06:44:34 +00:00
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
R0Y00/Xbox2Windows!734
No description provided.