Skip to content

chore: upgrade all deps - #166

Merged
Brooooooklyn merged 4 commits into
mainfrom
08-14-chore_upgrade_all_deps
Aug 14, 2026
Merged

chore: upgrade all deps#166
Brooooooklyn merged 4 commits into
mainfrom
08-14-chore_upgrade_all_deps

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Aug 14, 2026

Copy link
Copy Markdown
Member

Note

Medium Risk
Large auto-generated loader changes affect native/WASI binding load and teardown on all platforms; CI matrix expansion increases coverage but dependency upgrades (emnapi 2.x alpha) add integration risk.

Overview
Bumps the NAPI-RS / emnapi stack (@napi-rs/cli 3.8, @napi-rs/wasm-runtime 1.2, emnapi 2.x alpha) and regenerates root and crates/panic loaders (index.js, panic.wasi.cjs, panic.wasi-browser.js). Native optional packages are aligned to 1.1.0, with new loong64 binding paths and stricter WASI loading (NAPI_RS_FORCE_WASI only for true/error, plus NAPI_RS_WASI_FLAVOR).

WASI lifecycle is substantially expanded in the generated glue: explicit Symbol.for('napi.rs.wasi.dispose'), macrotask draining before context destroy, init-failure rollback registry (CJS), process exit teardown, emnapi async-work/TSFN plugins on workers, and debug-wasm preference when present.

CI / website workflows move default Node from 22 → 24, add Node 26 to binding test matrices, Zig 0.15.1, and set NAPI_RS_FORCE_WASI: true for WASI tests.

Tests and fixtures: panic stack assertions tolerate rustc’s hashed std[…]:: symbols; crates/panic/build.mjs prefers a local *.debug.wasm when building the committed wasm so name/DWARF sections stay in CI.

Reviewed by Cursor Bugbot for commit 1f2db32. Bugbot is set up for automated code reviews on this repo. Configure here.

@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_7849e616-efe7-4898-b676-6386bdf6f19c)

Copy link
Copy Markdown
Member Author

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

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53d0dc55b5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread walrus.wasi-browser.js
@Brooooooklyn
Brooooooklyn force-pushed the 08-14-chore_upgrade_all_deps branch from 53d0dc5 to ecfd7c1 Compare August 14, 2026 15:48
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_e9db25f7-5549-4e6e-9b67-75d360f42b5e)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ecfd7c1a55

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread index.js
@Brooooooklyn
Brooooooklyn force-pushed the 08-14-chore_upgrade_all_deps branch from ecfd7c1 to 79cc301 Compare August 14, 2026 16:06
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_1080b440-735d-4a21-8844-d311bfeef8ef)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 79cc301a13

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pnpm-workspace.yaml
The emnapi 2 / @napi-rs/cli 3.8.6 upgrade left crates/panic on an emnapi 1
wasm and loader, so require('./panic.wasi.cjs') LinkError'd on
napi_create_threadsafe_function. Website npm ci still installed
@napi-rs/wasm-runtime 1.1.6, which does not export the plugins the new
generated glue imports.
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_f85385d1-e83d-4d03-9b72-27d6ab3e226b)

The regenerated loader only treats "true" / "error" as force-WASI.
CI still passed "1", so test-wasi loaded published linux-x64-gnu
native instead of the downloaded wasm artifact.

Also declare @emnapi/runtime on the website vendor package: the
generated browser glue imports it directly, and 1.2.3 only lists it
as a peer.
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_369f7743-8563-45d4-b38d-a5e4f39a6842)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35cbd19601

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/vendor/wasm-tools-wasm32-wasi/package.json
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_a21d2be9-d9e7-4b5a-858b-110b1e5d339f)

napi-rs 3.8 splits a stripped release wasm from a debug wasm that still
has the name section. The loader prefers the debug file locally, so the
panic stack test passed here and failed in CI, which only has the
tracked release file (anonymous wasm-function frames).

build.mjs now copies names/DWARF from the debug artifact into the
committed wasm.
@Brooooooklyn
Brooooooklyn force-pushed the 08-14-chore_upgrade_all_deps branch from fea0ade to 1f2db32 Compare August 14, 2026 17:03
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_6edcd2dc-ad79-44c1-8361-c3780431ccd2)

@Brooooooklyn
Brooooooklyn merged commit b7106cd into main Aug 14, 2026
37 checks passed
@Brooooooklyn
Brooooooklyn deleted the 08-14-chore_upgrade_all_deps branch August 14, 2026 17:20
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