Skip to content

fix(release-rust): install zip for Windows-msvc packaging + cap build timeout - #95

Merged
emmanuelm41 merged 1 commit into
mainfrom
fix/release-rust-xwin-zip
Jun 3, 2026
Merged

fix(release-rust): install zip for Windows-msvc packaging + cap build timeout#95
emmanuelm41 merged 1 commit into
mainfrom
fix/release-rust-xwin-zip

Conversation

@emmanuelm41

Copy link
Copy Markdown
Member

Follow-up to #94. First real release run (kache v0.5.0-rc.2) revealed two issues with the cargo-xwin Windows path on self-hosted Linux runners:

  1. zip: command not found in the Package step. The cargo-xwin build of -pc-windows-msvc succeeds (CRT/SDK download, aws-lc-sys compile, link, strip all pass), but Windows artifacts are .zip and the Linux host has no zip. → add zip to the xwin toolchain install step.
  2. No build timeout. Add timeout-minutes: 45 so a stalled CRT/SDK download fails fast instead of burning toward GitHub's 6h cap. (Observed ~16 min CRT downloads on kunobi-runners — slow egress to Microsoft's CDN; not fatal, but worth bounding.)

The build itself is proven working on kunobi-runners — only packaging failed.

Retag v9 to this commit after merge (kache pins @v9).

… timeout

The cargo-xwin build of `-pc-windows-msvc` succeeds on Linux, but the Package
step then fails with `zip: command not found` — Windows artifacts are zipped
and the Linux build host has no `zip` by default. Add `zip` to the xwin
toolchain install step.

Also add `timeout-minutes: 45` to the build job so a stalled cargo-xwin CRT/SDK
download fails fast instead of running to GitHub's 6h default. (Observed ~16min
CRT downloads on some self-hosted runners with slow egress to Microsoft's CDN.)
@emmanuelm41
emmanuelm41 merged commit 9840f2e into main Jun 3, 2026
1 check passed
@emmanuelm41
emmanuelm41 deleted the fix/release-rust-xwin-zip branch June 3, 2026 13:23
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