Skip to content

Add wasm realpath bindings#459

Draft
peter-jerry-ye wants to merge 2 commits into
mainfrom
codex/realpath-host-bindings
Draft

Add wasm realpath bindings#459
peter-jerry-ye wants to merge 2 commits into
mainfrom
codex/realpath-host-bindings

Conversation

@peter-jerry-ye

Copy link
Copy Markdown
Contributor

Summary

This PR wires the wasm async bindings for realpath by adding the missing thread-pool job imports and the event-loop filesystem wrapper.

Why

The native async package already exposes realpath, but the wasm-specific thread-pool bindings still had placeholders. That prevented the wasm host implementation from being reached through the package API.

Why this is correct

The wasm wrapper mirrors the existing native flow: encode the input path, run the realpath worker job, fetch the returned c_buffer handle, and decode it through @os_string.

Scope

The change is limited to the wasm event-loop and thread-pool binding files for realpath.

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 644

Coverage increased (+0.04%) to 77.171%

Details

  • Coverage increased (+0.04%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 4652
Covered Lines: 3590
Line Coverage: 77.17%
Coverage Strength: 72636.9 hits per line

💛 - Coveralls

@peter-jerry-ye peter-jerry-ye force-pushed the codex/realpath-host-bindings branch from d9bd80e to 060cc6e Compare June 29, 2026 07:47
@peter-jerry-ye peter-jerry-ye force-pushed the codex/realpath-host-bindings branch from 060cc6e to ec75248 Compare July 6, 2026 03: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.

2 participants