Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
e37e754
docs: add multi-memory postmaster implementation plan
samwillis Jul 12, 2026
d08d6d1
docs: refine multi-memory implementation plan
samwillis Jul 12, 2026
45dab80
docs: require containerized wasm tooling
samwillis Jul 12, 2026
b216042
Complete multi-memory transformer phase 0
samwillis Jul 12, 2026
c423649
Complete multi-memory transformer phase 1
samwillis Jul 12, 2026
5243f40
Record passing multi-memory phase 2A oracle
samwillis Jul 12, 2026
8024f37
Record multi-memory dynamic profiling result
samwillis Jul 12, 2026
4ce0382
Record multi-memory phase 2B baseline
samwillis Jul 13, 2026
e1e770b
Record guarded clone specialization result
samwillis Jul 13, 2026
cddacfb
Record multi-memory Phase 2C gate
samwillis Jul 13, 2026
dd7a6a2
Complete multi-memory Phase 2E host ABI
samwillis Jul 13, 2026
a257907
Complete multi-memory Phase 2F exit gate
samwillis Jul 13, 2026
b63c863
Record native ARM64 Phase 3 multi-memory POC
samwillis Jul 13, 2026
1b2b813
Record completed native ARM64 Phase 3 gate
samwillis Jul 13, 2026
5191584
Complete Phase 4 process portability substrate
samwillis Jul 13, 2026
230ec4b
Complete Phase 5 multi-session PGlite runtime
samwillis Jul 13, 2026
8b592ec
Complete multi-memory phase 6 concurrency gates
samwillis Jul 13, 2026
f2601e3
Add Phase 7 provider lifecycle controls
samwillis Jul 13, 2026
7380713
Update Phase 7 provider tool image
samwillis Jul 13, 2026
70369df
Update Phase 7 native build fix
samwillis Jul 13, 2026
81991f7
Record Phase 7 make check provider gate
samwillis Jul 13, 2026
56a2880
Handle tagged WASI reads in backend workers
samwillis Jul 13, 2026
a4cc1d2
Preserve backend protocol errors through socket teardown
samwillis Jul 14, 2026
5120ec7
Advance Phase 7 static world-test artifact
samwillis Jul 14, 2026
624d2bc
Add capability-aware Phase 7 world runner
samwillis Jul 14, 2026
fe689f7
Preserve socket peer identity for Phase 7
samwillis Jul 14, 2026
bff543e
Support nested backend connections in Phase 7
samwillis Jul 14, 2026
4a2f4ad
Advance PostgreSQL fork for Phase 7 world tests
samwillis Jul 14, 2026
4eb0faa
Complete Phase 7 world-test gate
samwillis Jul 14, 2026
5c01974
Enable root-scoped memory and parallel queries
samwillis Jul 14, 2026
345825c
Report hierarchical scoped memory diagnostics
samwillis Jul 14, 2026
b496bcb
Add compact scoped memory mode
samwillis Jul 14, 2026
d6588a4
Integrate transformed postmaster extensions
samwillis Jul 14, 2026
acb9a07
Broker existing filesystems for postmaster workers
samwillis Jul 14, 2026
c664c31
Bound retired Wasm backing-store reservations
samwillis Jul 14, 2026
7980568
Preserve scoped memory for surviving workers
samwillis Jul 14, 2026
e40f309
Document completed multi-memory phases
samwillis Jul 14, 2026
4223a85
Clean up multi-session implementation artifacts
samwillis Jul 14, 2026
50785d0
Remove unused postmaster implementation artifacts
samwillis Jul 14, 2026
271699d
Reorganize multi-memory tooling and tests
samwillis Jul 14, 2026
725899c
Refactor multi-memory tests to Vitest
samwillis Jul 14, 2026
a8407d5
Preserve classic Wasm build compatibility
samwillis Jul 14, 2026
7832438
Plan PGlite Node distribution and CLI
samwillis Jul 14, 2026
991f05c
Reorganize postmaster runtime for core packaging
samwillis Jul 14, 2026
6c2f41b
Extract multi-session Node server package
samwillis Jul 14, 2026
4d4e4e5
Add authoritative PGlite cluster leases
samwillis Jul 14, 2026
f7a8119
Add PostgreSQL-controlled Node listeners
samwillis Jul 14, 2026
d4eca7a
Complete native tool runner phase
samwillis Jul 15, 2026
eb08b92
Add the PGlite Node distribution CLI
samwillis Jul 15, 2026
b5b4d1c
Run PostgreSQL regression suites through the packed CLI
samwillis Jul 15, 2026
51664f4
Expand the packaged PostgreSQL client suite
samwillis Jul 15, 2026
61bb6b1
Complete the distribution acceptance audit
samwillis Jul 15, 2026
8b5a80a
Cover local HBA authentication in server integration
samwillis Jul 15, 2026
1149a56
Complete the distribution implementation plan
samwillis Jul 15, 2026
d6ba24c
Complete CLI distribution test coverage
samwillis Jul 15, 2026
03aeade
Use declarative parsing for PGlite CLI options
samwillis Jul 15, 2026
4e1705e
Replace postmaster TypeScript enums
samwillis Jul 15, 2026
333bc2b
Complete wasm32 initial extension artifacts
samwillis Jul 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [
["@electric-sql/pglite", "@electric-sql/pglite-prepopulatedfs"]
[
"@electric-sql/pglite",
"@electric-sql/pglite-prepopulatedfs",
"@electric-sql/pglite-server",
"pglite"
]
],
"linked": [],
"access": "public",
Expand Down
38 changes: 24 additions & 14 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ on:
pull_request:

jobs:
multi-memory-transformer:
name: Multi-memory transformer tests
runs-on: blacksmith-32vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v5
with:
submodules: true
- uses: pnpm/action-setup@v5
- name: Build the pinned tools image and run the transformer tests
run: pnpm wasm:multi-memory:test

stylecheck:
name: Stylecheck
runs-on: ubuntu-latest
Expand Down Expand Up @@ -190,7 +201,7 @@ jobs:
- name: Typecheck pglite
working-directory: ${{ github.workspace }}/packages/pglite
run: pnpm typecheck

- name: Test pglite
working-directory: ${{ github.workspace }}/packages/pglite
run: pnpm test
Expand All @@ -207,7 +218,6 @@ jobs:
working-directory: ./packages/pglite
needs: [build-all]
steps:

- uses: actions/checkout@v5
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v5
Expand Down Expand Up @@ -311,14 +321,14 @@ jobs:
uses: actions/upload-artifact@v7
with:
name: pglite-icu-full-node-v${{ matrix.node }}
path: ./packages/pglite-icu-full/electric-sql-pglite-icu-full-*.tgz
path: ./packages/pglite-icu-full/electric-sql-pglite-icu-full-*.tgz

build-and-test-pglite-dependents:
name: Build and Test packages dependent on PGlite
runs-on: blacksmith-32vcpu-ubuntu-2204
strategy:
matrix:
node: [20.x, 21.x, 22.x, 23.x, 24.x]
node: [20.x, 21.x, 22.x, 23.x, 24.x]
fail-fast: false # allow the build to continue even if some tests fail
needs: [build-and-test-pglite]
steps:
Expand Down Expand Up @@ -394,7 +404,7 @@ jobs:
with:
name: pglite-pgmq-release-files-node-v20.x
path: ./packages/pglite-pgmq/release/

- name: Install dependencies
run: pnpm install --frozen-lockfile

Expand Down Expand Up @@ -514,7 +524,7 @@ jobs:
uses: actions/download-artifact@v8
with:
name: pglite-postgis-release-files-node-v20.x
path: ./packages/pglite-postgis/release/
path: ./packages/pglite-postgis/release/

- name: Download PGlite build artifacts
uses: actions/download-artifact@v8
Expand Down Expand Up @@ -601,12 +611,12 @@ jobs:
PGLITE: ${{ github.workspace }}/packages/pglite
working-directory: ${{ github.workspace }}
run: |
mkdir -p /tmp/web/examples/ /tmp/web/dist /tmp/web/benchmark
cp -r ${PGLITE}/dist/* /tmp/web/dist/
cp -r ${PGLITE}/examples/* /tmp/web/examples/
cp -r ${{ github.workspace }}/packages/benchmark/dist/* /tmp/web/benchmark/
rm -rf /tmp/web/examples/pglite-tools
cp -r /tmp/pglite-tools /tmp/web/examples/
mkdir -p /tmp/web/examples/ /tmp/web/dist /tmp/web/benchmark
cp -r ${PGLITE}/dist/* /tmp/web/dist/
cp -r ${PGLITE}/examples/* /tmp/web/examples/
cp -r ${{ github.workspace }}/packages/benchmark/dist/* /tmp/web/benchmark/
rm -rf /tmp/web/examples/pglite-tools
cp -r /tmp/pglite-tools /tmp/web/examples/

- name: Build docs
working-directory: ./docs
Expand All @@ -629,7 +639,7 @@ jobs:
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: "- Demos:"
body-includes: '- Demos:'

- name: Create or update build outputs comment
uses: peter-evans/create-or-update-comment@v5
Expand Down Expand Up @@ -669,7 +679,7 @@ jobs:
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v5
with:
node-version: 24 # Required for npm trusted publishing (npm 11.5.1+)
node-version: 24 # Required for npm trusted publishing (npm 11.5.1+)
cache: pnpm

- name: Download PGlite WASM build artifacts
Expand Down
Loading
Loading