Skip to content

perf(wasix)!: unify direct runtime fast paths - #143

Merged
f0rr0 merged 1 commit into
f0rr0/wasix-sdk-clean-breakfrom
f0rr0/wasix-direct-runtime-fast-paths
Aug 18, 2026
Merged

perf(wasix)!: unify direct runtime fast paths#143
f0rr0 merged 1 commit into
f0rr0/wasix-sdk-clean-breakfrom
f0rr0/wasix-direct-runtime-fast-paths

Conversation

@f0rr0

@f0rr0 f0rr0 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • make /bin/postgres the sole portable backend and remove the historical /bin/oliphaunt/stdio transport paths
  • use one memory-backed PGWire bridge for TypeScript direct, worker, and Rust hosts, with bounded stderr and a fast single-backend clock path
  • drive native extension load order generically and support large exception-handling side modules such as PostGIS in browser workers
  • keep the runtime, package contracts, CI canaries, and maintainer documentation aligned with the new architecture

Why

The old runtime crossed generic WASIX syscall and stdio layers on hot clock and PGWire paths, retained duplicate transport implementations, and depended on a historical executable alias. The browser Wasmer parser also did not recognize exception reference types required by the PostGIS side module. These costs and gaps prevented native-like naming and consistent direct-runtime behavior across browser, JavaScript server runtimes, and Rust.

This clean-break change removes those duplicate paths instead of preserving compatibility shims. The portable backend remains PostgreSQL-shaped while each host uses the same bridge contract.

Validation

  • full release-readiness check
  • workflow policy gate (actionlint, zizmor, workflow security, planner and bootstrap tests)
  • affected SDK contract and package gates (25 Moon tasks, including 267 Rust nextest tests)
  • TypeScript unit suite (114 tests) and Rust runtime tests (94 tests)
  • Node, Bun, and Deno direct/worker runtime smoke tests
  • real Chromium PostGIS worker smoke test
  • strict committed-asset, WASIX ABI, patch-stack, source-spine, and Linux AOT/package checks
  • Rust 128 x 4 KiB PGWire stress test
  • formatting and whitespace checks

Base

Targets f0rr0/wasix-sdk-clean-break. The branch was fetched again immediately before push and is exactly one commit ahead of remote base 9e73fb6f6ee00b82e465cfbcf6840ab377c499b6.

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
oliphaunt-docs Ready Ready Preview Aug 18, 2026 10:55am

@f0rr0
f0rr0 marked this pull request as ready for review August 18, 2026 10:55
@f0rr0
f0rr0 merged commit d016c87 into f0rr0/wasix-sdk-clean-break Aug 18, 2026
23 of 52 checks passed
@f0rr0
f0rr0 deleted the f0rr0/wasix-direct-runtime-fast-paths branch August 18, 2026 11:02
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