Skip to content

fix: pin turbo to 2.9.14 to avoid random Windows CI crashes#11351

Merged
timotheeguerin merged 1 commit into
mainfrom
fix/pin-turbo-2.9.14-windows-crash
Jul 22, 2026
Merged

fix: pin turbo to 2.9.14 to avoid random Windows CI crashes#11351
timotheeguerin merged 1 commit into
mainfrom
fix/pin-turbo-2.9.14-windows-crash

Conversation

@timotheeguerin

Copy link
Copy Markdown
Member

Problem

turbo build randomly fails on Windows CI, exiting with code 1 and no task output / no "run failed" summary:

```
$ turbo --filter=!@typespec/monorepo "build"
• Packages in scope: ...
• Running build in 65 packages
• Remote caching disabled

[ELIFECYCLE] Command failed with exit code 1.
```

Root cause

The failures started when turbo was bumped `2.9.14 → 2.10.5` in #11265.

This is vercel/turborepo#13346: turbo 2.10.1+ ships a vendored `libghostty-vt` compiled with non-baseline CPU instructions (inherited from the release build runners). On CPUs lacking those instructions, turbo crashes with `STATUS_ILLEGAL_INSTRUCTION (0xC000001D)` — a hard process kill, so turbo never prints its own error summary.

The crash is deterministic per-CPU but appears random because CI runner pools have heterogeneous CPUs — you only fail when scheduled onto an older/leaner microarchitecture.

The upstream fix (vercel/turborepo#13352) only rebuilt `libghostty-vt` and was verified on a single maintainer VM; no fully-fixed stable (`>=2.10.6`) exists yet.

Fix

Revert the catalog pin to `turbo: 2.9.14` — the version this repo ran on Windows CI cleanly for ~7 weeks (Jun 2 → Jul 21). Added a comment pointing to the upstream issue so the next dependency bump can gate re-upgrade on a verified fixed stable.

The `pnpm-lock.yaml` change was applied surgically (only the 7 turbo entries) to avoid the registry-proxy tarball churn that `pnpm install --lockfile-only` introduces; validated with `pnpm install --frozen-lockfile`.

turbo 2.10.1+ ships libghostty-vt compiled with non-baseline CPU
instructions, causing STATUS_ILLEGAL_INSTRUCTION (0xC000001D) hard
crashes on some Windows CI runners. The crash is deterministic per-CPU
but appears random across heterogeneous runner pools, showing up as
'turbo build' exiting 1 with no task output.

Revert the catalog pin from 2.10.5 back to 2.9.14 (last version this
repo ran cleanly on Windows). Revisit once a fully-fixed stable
(>=2.10.6) is verified on Windows.

Ref: vercel/turborepo#13346
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk-automation

azure-sdk-automation Bot commented Jul 22, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin
timotheeguerin added this pull request to the merge queue Jul 22, 2026
Merged via the queue into main with commit f717add Jul 22, 2026
32 checks passed
@timotheeguerin
timotheeguerin deleted the fix/pin-turbo-2.9.14-windows-crash branch July 22, 2026 15:56
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.

2 participants