Skip to content

chore: tokio_unstable is required for async wasi codes - #3111

Merged
Brooooooklyn merged 1 commit into
mainfrom
01-27-chore_tokio_unstable_is_required_for_async_wasi_codes
Jan 27, 2026
Merged

Brooooooklyn merged 1 commit into
mainfrom
01-27-chore_tokio_unstable_is_required_for_async_wasi_codes

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Jan 27, 2026 •

Copy link
Copy Markdown
Member

Note

Simplifies the test-node-wasi GitHub Actions job and standardizes build flags.

  • Removes the RUSTFLAGS matrix and unconditionally sets RUSTFLAGS='--cfg tokio_unstable' for cargo check and the @examples/napi WASI build
  • Adds explicit env blocks for the Build step; other steps and jobs remain unchanged

Written by Cursor Bugbot for commit 24da1eb. This will update automatically on new commits. Configure here.

Summary by CodeRabbit

  • Chores
    • Streamlined CI/CD build and test pipeline configuration by simplifying matrix-based settings and standardizing build environment variables. These changes optimize the testing workflow without affecting end-user functionality.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings January 27, 2026 06:22

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • ready-to-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@coderabbitai

coderabbitai Bot commented Jan 27, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The test-release workflow is simplified by removing matrix-based RUSTFLAGS configuration variants. A fixed --cfg tokio_unstable flag is now applied consistently across Check and Build steps, eliminating conditional branching and standardizing the build environment.

Changes

Cohort / File(s) Summary
Workflow configuration simplification
\.github/workflows/test-release\.yaml
Removed strategy.matrix block containing fail-fast setting and RUSTFLAGS variants. Replaced conditional matrix-based flag usage with fixed --cfg tokio_unstable value in both Check and Build steps via explicit env blocks.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Matrix of flags now simplified, hooray!
One steady path for tokio_unstable to play,
Less branching fuss, just --cfg all the way,
Building cleaner, testing day after day! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: simplifying RUSTFLAGS configuration by replacing matrix-based conditional logic with a fixed '--cfg tokio_unstable' value for async WASI support.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI workflow so the Node WASI build always uses tokio_unstable, which is required to compile async WASI code paths.

Changes:

  • Removes the RUSTFLAGS matrix for the “Test node wasi target” job.
  • Always sets RUSTFLAGS='--cfg tokio_unstable' for the WASI cargo check and build steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Brooooooklyn
Brooooooklyn merged commit bdcf45f into main Jan 27, 2026
80 checks passed
@Brooooooklyn
Brooooooklyn deleted the 01-27-chore_tokio_unstable_is_required_for_async_wasi_codes branch January 27, 2026 08:30
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