feat!: optimize startup and add Tauri SQLx profiler#9
Merged
Conversation
ca44b79 to
e6cb2be
Compare
5c31cbc to
867fec7
Compare
Release pglite-oxide 0.3.0 with the optimized runtime path as the default. - use an embedded prepopulated PGDATA template and uncompressed runtime tar - cache Wasmtime engines/modules and compiled .cwasm artifacts - quiet WASI stdio by default and prefer Unix sockets where available - harden proxy frontend framing for SSL, cancel, split/coalesced packets, and extended-query batching - add a real Tauri v2 vanilla SQLx profiler example with release-mode workload reporting - add repo hooks for Conventional Commits, pre-commit formatting, and pre-push validation - streamline docs around the default path and template maintenance BREAKING CHANGE: PgliteRuntimeOptions::default now selects the optimized embedded-template startup path, ensure_cluster requires runtime options, and runtime packaging uses the uncompressed pglite-wasi.tar asset. Verification: - cargo fmt --check - cargo check - cargo test -- --nocapture - cargo package --allow-dirty --no-verify - scripts/validate.sh pre-commit
867fec7 to
2ef0837
Compare
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
pglite-oxideas0.3.0with the optimized runtime path as the default.Engine/Linker/Modulereuse, on-disk.cwasmcaching, template manifest validation, and sinked WASI stdio by default.max_connections(1).prek,committed, release-plz trusted publishing, MSRV checks, feature-powerset checks, semver API checks, cargo-deny, actionlint, and GitHub branch-protection-friendly aggregate checks.Caching
examples/tauri-sqlx-vanilla/src-tauri/targetand saved a cache for it.examples/tauri-sqlx-vanilla/package-lock.json.Validation
actionlint .github/workflows/ci.yml .github/workflows/release.yml .github/workflows/conventional-commits.ymlscripts/validate.sh pre-commitgit push --force-with-lease, which ran:git diff --checkcargo clippy --all-targets --locked -- -D warningscargo test --all-targets --locked -- --nocapture2ef0837: all passedRelease note
cargo package --locked --no-verifyplusscripts/check-crate-size.sh --enforcenow passes locally. The packaged crate is back under the crates.io limit; the latest dry run reported about5.7MiBcompressed.