Skip to content

Move CI jobs off the retired macos-14 runner image - #20651

Merged
RobinMalfait merged 1 commit into
mainfrom
robin/move-macos-runners-to-macos-latest
Nov 1, 2026
Merged

RobinMalfait merged 1 commit into
mainfrom
robin/move-macos-runners-to-macos-latest

Conversation

@RobinMalfait

Copy link
Copy Markdown
Contributor

[ci-all]

GitHub retires the macOS 14 runner image on 2026-11-02. Before that, scheduled brownouts cancel the jobs that use it. See actions/runner-images#13518.

Example of a brownout failure: https://github.com/tailwindlabs/tailwindcss/actions/runs/41349787381/job/124977275843?pr=20650

This PR changes the 3 remaining macos-14 references to macos-latest. The release build matrix already uses macos-latest.

  • .github/workflows/integration-tests.yml: the macOS integration tests matrix entry
  • .github/workflows/release.yml: the release job (publishes to npm)
  • .github/workflows/prepare-release.yml: the prepare job (makes the GitHub release)

Test plan

  • [ci-all] is in this description, so the macOS integration tests run on this PR. They prove the change.
  • The release and prepare jobs cannot be tested on this PR. They run only for a release.

Possible follow-up

.github/workflows/ci.yml uses macos-15 with a comment about Playwright 1.62+ and WebKit on macOS 14. This PR does not change it. It can move to macos-latest in a separate PR.

Sent by an AI assistant on behalf of @RobinMalfait.

@RobinMalfait
RobinMalfait requested a review from a team as a code owner November 1, 2026 21:09
@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Reviews (2) · Last reviewed commit: "Move CI jobs off the retired macos-14 ru..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f4878594-0757-4a85-8f79-c3112c9e5623
Commits

Reviewing files that changed from the base of the PR and between a75ff3f and 186baaa.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 118f4899-61ab-4b4a-8c98-e8c0bb6f630a
Commits

Reviewing files that changed from the base of the PR and between 4858666 and a75ff3f.

Files selected for processing: 3
  • .github/workflows/integration-tests.yml
  • .github/workflows/prepare-release.yml
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

Walkthrough

The macOS integration-test matrix entry and the prepare and release jobs now use macos-latest instead of macos-14.

Merge Risk: Minimal · previous review a75ff

The updated jobs use the intended replacement runner without an evidenced merge-blocking behavior change.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: replacing the retired macOS 14 runner image references in CI jobs.
Description check Passed The description directly explains the three runner changes, the retirement context, affected workflows, and test limitations.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

GitHub retires the macOS 14 runner images on 2026-11-02, with scheduled brownouts before that. Use macos-latest, like the release build matrix already does.
@RobinMalfait
RobinMalfait force-pushed the robin/move-macos-runners-to-macos-latest branch from a75ff3f to 186baaa Compare November 1, 2026 21:17
@RobinMalfait
RobinMalfait merged commit 654f89f into main Nov 1, 2026
28 checks passed
@RobinMalfait
RobinMalfait deleted the robin/move-macos-runners-to-macos-latest branch November 1, 2026 21:40
RobinMalfait added a commit that referenced this pull request Nov 4, 2026
…20667)

## Summary

`@tailwindcss/[email protected]` hangs forever when it loads, for
example with `NAPI_RS_FORCE_WASI=error node -e
"require('@tailwindcss/oxide')"` in Node 24, or in a WebContainer.
Version 4.3.3 works.

The `.wasm` file of 4.3.4 does not export `_initialize`. All other
exports are the same as in 4.3.3. Without `_initialize`, the thread
setup of wasi-libc never runs, and Rust's std loops forever in
`pthread_key_delete` when the module registers.

`napi-build` links `crt1-reactor.o` and adds `--export=_initialize` only
when it finds the file at
`$RUSTC/../../lib/rustlib/<target>/lib/self-contained/crt1-reactor.o`.
Otherwise it prints only a warning.
#20651 moved the release
job to `macos-latest` (`macos-26-arm64`). There, Cargo gives a bare
`rustc` in `$RUSTC`, so the path is empty. The [v4.3.4 release
log](https://github.com/tailwindlabs/tailwindcss/actions/runs/41526897752)
shows:

```
warning: [email protected]: crt1-reactor.o not found at , the multi-threaded runtime may not be initialized correctly
```

The insiders builds show the same warning, so they are broken too.

This PR:

- Changes `crates/node/build.rs`. For a wasi target, it gets the sysroot
with `$RUSTC --print sysroot`, and points `$RUSTC` at the `rustc` of
that sysroot before `napi_build::setup()`. It fails the build when
`crt1-reactor.o` does not exist. This fixes the wasm build in each
environment (release, CI and local), so the workflows need no extra
`RUSTC` variable.
- Adds an integration test to `integrations/oxide/wasm.test.ts`. It
installs `@tailwindcss/oxide` from the packed tarballs in `dist`, and
loads it with `NAPI_RS_FORCE_WASI=error`. It checks that the `.wasm`
file exports `_initialize`, and scans a string. It kills `node` after
10s, so a hang fails the test. The test reads no files through WASI, so
it runs on Linux and macOS (not on Windows). For this, `exec` in
`integrations/utils.ts` gets a `timeout` option, and its error message
says `Killed after <timeout>ms` when it kills the command.
- Runs that test file in the `release` and `prepare-release` jobs,
before anything is published. On PRs, the `Linux / oxide` integration
job runs it.

npm does not allow a second publish of 4.3.4, so the fixed package needs
a 4.3.5 release.

## Test plan

- Published tarballs, in a clean npm project with Node 24, with
`NAPI_RS_FORCE_WASI=error node -e "require('@tailwindcss/oxide')"`:
`4.3.3` returns in 48ms, and `4.3.4` hangs (killed after 20s).
- Before this PR, `RUSTC=rustc pnpm run build:wasm` in `crates/node`
prints the `crt1-reactor.o not found at ,` warning. The `.wasm` file has
the same exports as `4.3.4` (no `_initialize`), and it hangs in the same
way.
- After this PR, the same build prints no warning. The `.wasm` file has
the same exports as `4.3.3`, and the package loads in 254ms.
- With a fake `rustc` that gives a sysroot without `crt1-reactor.o`, the
build fails with `crt1-reactor.o not found at …`.
- The new integration test passes on macOS with the fixed tarball in
`dist`. With the tarball of the build without the fix in `dist`, it
fails with `Killed after 10000ms`. With `CI=true`, the release step
`pnpm run test:integrations ./integrations/oxide/wasm.test.ts` exits
with code 1 after 3 tries (33s).
- `pnpm run build`, the `oxide` integration tests and `pnpm run test`
pass.
- The release job cannot run on a PR.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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