Skip to content

ci: run Windows CI on PRs labeled with ci: windows#9153

Merged
hyf0 merged 5 commits intomainfrom
ci/windows-label-gate
Apr 18, 2026
Merged

ci: run Windows CI on PRs labeled with ci: windows#9153
hyf0 merged 5 commits intomainfrom
ci/windows-label-gate

Conversation

@hyf0
Copy link
Copy Markdown
Member

@hyf0 hyf0 commented Apr 18, 2026

Summary

  • Adds a run-windows output to the changes job that is true on main or when the PR has the ci: windows label
  • Gates build-rolldown-windows, node-test-windows, node-dev-server-test-windows, vite-test-windows, and the cargo-test Windows matrix entry on this output
  • macOS CI remains gated on main only (unchanged)

How to use

  1. Add the ci: windows label to your PR
  2. Push a commit — Windows jobs will run
  3. Remove the label when no longer needed

For making testing on Windows easier. Ref #7974

🤖 Generated with Claude Code

Windows and macOS CI were removed from PR workflows for faster CI.
This adds a mechanism to opt back into Windows CI per-PR by adding
the `ci: windows` label — every push while the label is present
will run the full Windows test matrix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 18, 2026 01:42
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 18, 2026

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 894b0d4
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/69e30a3600b1ef00085e412f
😎 Deploy Preview https://deploy-preview-9153--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

The `ci: windows` string inside the expression was interpreted as a
YAML mapping key, breaking the formatter.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts CI orchestration so Windows jobs run by default only on main, with an opt-in path for PRs via a ci: windows label—reducing routine PR CI load while keeping Windows coverage available when needed.

Changes:

  • Adds a run-windows output from the changes job to drive Windows job gating.
  • Gates Windows-specific jobs (native build + Node/Vite Windows tests) on run-windows.
  • Expands the cargo-test OS matrix to include Windows when run-windows is enabled (macOS remains main-only).

Comment thread .github/workflows/ci.yml Outdated
hyf0 and others added 2 commits April 18, 2026 09:52
Avoids accessing github.event.pull_request.labels on push,
merge_group, and workflow_dispatch events where it's not present.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…nline

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hyf0 hyf0 merged commit e046238 into main Apr 18, 2026
22 checks passed
@hyf0 hyf0 deleted the ci/windows-label-gate branch April 18, 2026 04:37
@github-actions github-actions Bot mentioned this pull request Apr 22, 2026
This was referenced Apr 22, 2026
shulaoda added a commit that referenced this pull request Apr 22, 2026
## [1.0.0-rc.17] - 2026-04-22

### 🐛 Bug Fixes

- link: error on missing export between TS modules (#9197) by @IWANABETHATGUY
- rolldown_plugin_vite_import_glob: import path should not be affected by absolute base option (#9145) by @kermanx
- `this.resolve()` returns null for bare relative paths without importer (#9142) by @Copilot
- collect destructured bindings in HMR module exports (#9146) by @h-a-n-a
- esbuild-tests: handle 0.28.0 test cases (#9149) by @sapphi-red
- plugin/copy-module: honor external resolutions from other plugins (#9139) by @TheAlexLichter
- allow undefined in sourcesContent type (#9136) by @jurijzahn8019
- reduce false positives in chunk optimizer circular dependency detection (#9049) by @AlonMiz

### 🚜 Refactor

- chunk-optimizer: extract runtime-module placement into rehome_runtime_module (#9163) by @IWANABETHATGUY

### 📚 Documentation

- add design doc for sort_modules execution ordering (#9169) by @IWANABETHATGUY
- add document for `RenderedModule` (#9147) by @sapphi-red

### ⚡ Performance

- rolldown_plugin_vite_import_glob: skip self-import earlier using raw path comparison (#9193) by @shulaoda

### 🧪 Testing

- lazy: add `playground/lazy-compilation` (#7974) by @hyf0

### ⚙️ Miscellaneous Tasks

- use app token for release PR (#9198) by @Boshen
- upgrade oxc to 0.127.0 (#9194) by @Dunqing
- use oxc security action (#9196) by @Boshen
- esbuild-tests: remove some tests from ignored list as enum inline is now supported (#9184) by @sapphi-red
- deps: update dependency vite-plus to v0.1.19 (#9183) by @renovate[bot]
- use vp instead of pnpm in check-wasi-binding-deps (#9182) by @shulaoda
- verify wasm32-wasi binding deps match @rolldown/browser before publish (#9162) by @shulaoda
- deps: update esbuild for tests to 0.28.0 (#9172) by @sapphi-red
- deps: update rollup submodule for tests to v4.60.2 (#9173) by @sapphi-red
- deps: update test262 submodule for tests (#9174) by @sapphi-red
- sort_modules: fix stale async-entry sort key comment (#9170) by @IWANABETHATGUY
- deps: update npm packages (#9157) by @renovate[bot]
- deps: update dependency diff to v9 (#9158) by @renovate[bot]
- deps: update rust crates (#9156) by @renovate[bot]
- run Windows CI on PRs labeled with `ci: windows` (#9153) by @hyf0
- update-test-dependencies: run setup-rust before file changes (#9151) by @sapphi-red
- deps: update dependency rust to v1.95.0 (#9140) by @renovate[bot]

### ❤️ New Contributors

* @jurijzahn8019 made their first contribution in [#9136](#9136)
* @AlonMiz made their first contribution in [#9049](#9049)

---------

Co-authored-by: shulaoda <165626830+shulaoda@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants