Skip to content

ci(release): port Windows lane to VM217 shell (bash->pwsh + py-resolve conan) - #696

Merged
frstrtr merged 2 commits into
masterfrom
ci-steward/release-runner-repoint
Jul 14, 2026
Merged

ci(release): port Windows lane to VM217 shell (bash->pwsh + py-resolve conan)#696
frstrtr merged 2 commits into
masterfrom
ci-steward/release-runner-repoint

Conversation

@frstrtr

@frstrtr frstrtr commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Heals the master release.yml Windows red introduced by #689 (repoint to self-hosted VM217).

Symptom: release.yml Windows leg dies at "Resolve version" with bash: command not found (run 29298632408, off master ab249df). VM217 Windows PowerShell runs ExecutionPolicy=Restricted and has no Git-bash on the runner-service PATH, so the inherited shell: bash steps cannot start.

Fix (1d12463): port the Windows job to the ExecutionPolicy-Bypass PowerShell shell already proven green by build.yml (probe 28679257030); rewrite Resolve version / Check source presence to PowerShell; resolve conan via the Windows py launcher (py -> python3 -> python) with Scripts dir exported through GITHUB_PATH. Linux/macOS lanes untouched.

Signed 1d12463 (key 50AB1379285EFE76). No self-merge — integrator review + operator push-approval.

frstrtr added 2 commits July 14, 2026 04:21
VM217 (c2pool-windows-217) answers the windows-2022 label but has no
Git-bash on the runner-service PATH, so the Resolve-version / presence /
Install-Conan shell:bash steps died with "bash: command not found"
(release dispatch run 29298632408). Mirror build.yml Windows lane:
ExecutionPolicy-Bypass PowerShell defaults, PowerShell rewrites of the
three bash steps, and the py-launcher conan install with GITHUB_PATH
export. setup-python now gated off self-hosted. Completes #689 so the
repointed Windows runner is non-hollow.
… break)

VM217 has no pwsh, so the Windows job falls back to Windows PowerShell
5.1, which reads the GitHub-generated temp .ps1 as ANSI. The em-dash in
the Check-source-presence Write-Host string mis-decoded and broke string
parsing (missing terminator -> cascading } error), failing all 5 Windows
package cells at Check source presence. Swap the em-dash for ASCII --.
@frstrtr
frstrtr force-pushed the ci-steward/release-runner-repoint branch from 3773489 to a0c6e14 Compare July 14, 2026 04:21
@frstrtr
frstrtr merged commit 52020cd into master Jul 14, 2026
32 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant