Skip to content

fix(p3-shim): handle filesystem stream edge cases#1483

Merged
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
andreiltd:fix/file-offset
May 14, 2026
Merged

fix(p3-shim): handle filesystem stream edge cases#1483
vados-cosmonic merged 1 commit into
bytecodealliance:mainfrom
andreiltd:fix/file-offset

Conversation

@andreiltd
Copy link
Copy Markdown
Member

  • Accept non zero file offsets by converting wasi BigInt positions to safe numeric node fs positions before read/write calls from worker.
  • Reject write/append streams on non writable descriptors.

- Accept non zero file offsets by converting wasi BigInt positions to safe
numeric node fs positions before read/write calls from worker.
- Reject write/append streams on non writable descriptors.
@andreiltd andreiltd requested a review from vados-cosmonic as a code owner May 14, 2026 09:44
Copy link
Copy Markdown
Collaborator

@vados-cosmonic vados-cosmonic left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@vados-cosmonic vados-cosmonic added this pull request to the merge queue May 14, 2026
Merged via the queue into bytecodealliance:main with commit 3093700 May 14, 2026
40 checks passed
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