Skip to content

wasi-shims: explicit type on the poll export (JSR no-slow-types) - #73

Merged
lann merged 1 commit into
mainfrom
wasi-shims-poll-explicit-type
Aug 11, 2026
Merged

wasi-shims: explicit type on the poll export (JSR no-slow-types)#73
lann merged 1 commit into
mainfrom
wasi-shims-poll-explicit-type

Conversation

@lann

@lann lann commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

The A5 poll export (export const poll = suspending(...)) leaves its public type inferred, and JSR's no-slow-types check rejects it — main run 31444185874's publish unstable prereleases to JSR step failed on exactly this symbol (wasi-shims/src/io.ts:143), so 0.1.0-pre.g0a55393 never published (core + browser lanes green; the GitHub release cut fine).

One-line fix: annotate the export. deno publish --dry-run now passes in wasi-shims/; just test-wasi-shims 46/46.

Found while evaluating the A5 kernel for polymorph-iroh's experiments (which are about to delete their own parking machinery in its favor).

A5's suspending()-wrapped poll export left its public type inferred,
which JSR's no-slow-types check rejects — the 0a55393 release run's
'publish unstable prereleases to JSR' step failed on exactly this
(core and browser lanes green; the GitHub release cut fine, so only
the JSR versions are missing for that commit).

deno publish --dry-run passes in wasi-shims/ with the annotation;
just test-wasi-shims 46/46.
@lann
lann enabled auto-merge August 11, 2026 00:03
@lann
lann merged commit 108432d into main Aug 11, 2026
4 checks passed
@lannbot
lannbot deleted the wasi-shims-poll-explicit-type branch August 23, 2026 16:51
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