Skip to content

feat!: add WASIX asset pipeline and protocol recovery#13

Merged
f0rr0 merged 5 commits into
mainfrom
f0rr0/extensions-plan
May 7, 2026
Merged

feat!: add WASIX asset pipeline and protocol recovery#13
f0rr0 merged 5 commits into
mainfrom
f0rr0/extensions-plan

Conversation

@f0rr0
Copy link
Copy Markdown
Owner

@f0rr0 f0rr0 commented May 4, 2026

Summary

  • add generated WASIX extension asset catalog, promoted extension API, and extension smoke coverage
  • add portable WASIX/native AOT asset crates plus CI/release workflows for generated artifact packaging
  • harden PostgreSQL wire/proxy handling for extended-query errors, pipelining, COPY, startup options, and client compatibility
  • refresh README/docs, release guidance, performance benchmarking scripts, and crate-prep tooling

Closes #14

Validation

  • cargo fmt --all --check
  • cargo check --workspace --all-targets --locked
  • git diff --check
  • cargo run --quiet -p xtask -- assets ci-matrix --target all
  • cargo run --quiet -p xtask -- assets ci-artifacts
  • cargo test --features extensions --test client_compat tokio_postgres_extended_query_errors_recover_after_sync -- --exact
  • commit hooks passed
  • pre-push hooks passed, including the workspace test gate

f0rr0 added 3 commits April 27, 2026 18:56
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.
@f0rr0 f0rr0 force-pushed the f0rr0/extensions-plan branch 27 times, most recently from bee7025 to f30a2c3 Compare May 5, 2026 13:05
@f0rr0 f0rr0 force-pushed the f0rr0/extensions-plan branch 22 times, most recently from c4ed427 to 6af28ce Compare May 7, 2026 01:22
f0rr0 added 2 commits May 7, 2026 11:35
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.
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.

Return query errors without closing client connections

1 participant