feat!: add WASIX asset pipeline and protocol recovery#13
Merged
Conversation
Build and package PGlite from pinned WASIX sources with deterministic runtime, extension, pg_dump, and Wasmer AOT manifests. Move maintained upstream checkouts under assets/checkouts and add xtask orchestration for source fetching, build output discovery, dynamic-link validation, package sizing, and release asset generation. Load verified headless Wasmer AOT artifacts, validate embedded asset hashes, seed installed extension side modules on reopen, and expose bundled extension/server conveniences. Expand compatibility coverage for SQLx, tokio-postgres, raw wire protocol recovery, root locking, vector, pg_trgm, and private pg_dump round trips while documenting supported COPY semantics and remaining release gates.
Align the WASIX asset build with the audited PGlite source path and make the release asset profile performance-oriented by default. Add native Postgres and exact PGlite benchmark diagnostics, remove the spinlock-disabling build flag, refresh generated assets/AOT artifacts, and document the current performance findings and remaining optimization work.
bee7025 to
f30a2c3
Compare
c4ed427 to
6af28ce
Compare
Move the repository to source-controlled asset inputs with CI-generated release payloads. Keep asset and AOT crates as source-only templates, stage portable assets under crates/assets/payload during release, and remove committed runtime/AOT blobs from git. Centralize artifact download/install in xtask, add a maintainer-only LLVM AOT serializer path, tighten dependency invariants, and split source-only validation from runtime validation. Remove obsolete spike workspaces now that production WASIX build inputs live under assets/wasix-build.
This was referenced Jun 4, 2026
Closed
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #14
Validation
cargo fmt --all --checkcargo check --workspace --all-targets --lockedgit diff --checkcargo run --quiet -p xtask -- assets ci-matrix --target allcargo run --quiet -p xtask -- assets ci-artifactscargo test --features extensions --test client_compat tokio_postgres_extended_query_errors_recover_after_sync -- --exact