Skip to content

chore: regen napi bindings and fix Deno shutdown races - #231

Merged
momics merged 1 commit into
momics:mainfrom
ronin-software:chore/hygiene
Jun 25, 2026
Merged

chore: regen napi bindings and fix Deno shutdown races#231
momics merged 1 commit into
momics:mainfrom
ronin-software:chore/hygiene

Conversation

@danscan

@danscan danscan commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR syncs checked-in generated files with the current toolchain so napi build and Deno don't leave unrelated diffs in contributor worktrees.

Changes:

Test plan:

  • deno test -A packages/iroh-http-deno/test/adapter.test.ts (5 runs to try to repro the flaky failure. All passed)
  • npm run typecheck --workspace=packages/iroh-http-shared

Regenerate index.js/index.d.ts to sync version checks (0.4.0), WASI
tri-state handling, and Rust doc comments. Refresh deno.lock for
@napi-rs/cli 3.7 and vitest 4.1.8.

Treat INVALID_HANDLE as clean shutdown in Deno transport and serve
background loops so close_all does not emit uncaught rejections
(regression momics#155). Export isEndpointGoneError from iroh-http-shared.
@momics
momics merged commit 56af8e8 into momics:main Jun 25, 2026
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