Repository navigation
Comparing changes
Open a pull request
base repository: sqliteai/sqlite-sync
base: 6b3acb5
head repository: sqliteai/sqlite-sync
compare: d45128a
- 12 commits
- 30 files changed
- 5 contributors
Commits on Jul 16, 2026
-
fix(e2e): capped/batched receive tests no longer time out on tenant h…
…istory (#57) A fresh receiver's first check makes the server spool the ENTIRE tenant history (which grows every run) and answer 202 while preparing; the spool snapshot also predates the batch this test just sent. The capped loop's 80x1-chunk budget was therefore O(total history) and started failing permanently once history outgrew it. Catch the receiver up before sending the test batch: send a sentinel row and drain (uncapped) until it arrives. A 202 yields rows=0/complete=1 — indistinguishable from drained — so the sentinel's arrival is the only reliable end-of-replay signal. The capped budgets are now O(this test's batch). Sentinels are deleted in the tests' remote cleanup. Co-authored-by: Claude Fable 5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6d34e85 - Browse repository at this point
Copy the full SHA 6d34e85View commit details -
test(e2e): token-auth sync roundtrip with gateway-minted token (#56)
Add test_token_auth: mints a user token from the weblite gateway (POST /v2/tokens, authenticated with INTEGRATION_TEST_APIKEY) via the curl CLI, then runs the same sync roundtrip as test_init authenticated with cloudsync_network_set_token instead of the apikey. Uses a fixed, obviously-synthetic userId and a 24h expiry so repeated runs don't leave live credentials behind. Skips when INTEGRATION_TEST_WEBLITE_ADDRESS is not set; CI passes the new secret through env, docker and android legs. Co-authored-by: Claude Fable 5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d871eb4 - Browse repository at this point
Copy the full SHA d871eb4View commit details
Commits on Jul 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2a28552 - Browse repository at this point
Copy the full SHA 2a28552View commit details -
fix(e2e): skip token-auth test when no curl CLI is available
The android emulator images ship no curl binary, so minting the gateway token via popen(curl) read an empty response and the test failed. Probe for the curl CLI first and report SKIPPED when it is missing. Co-Authored-By: Claude Fable 5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a27d6f3 - Browse repository at this point
Copy the full SHA a27d6f3View commit details
Commits on Jul 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1880ec8 - Browse repository at this point
Copy the full SHA 1880ec8View commit details -
ci: grant contents/issues write to changelog workflow call
The repo default GITHUB_TOKEN is read-only, so the reusable changelog workflow's requested permissions exceeded the caller's and every run failed at startup. Scope the grant to the calling job. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c42f3f - Browse repository at this point
Copy the full SHA 2c42f3fView commit details
Commits on Jul 24, 2026
-
feat: support newer Alpine-based Supabase Postgres images (#58)
Make the published sqlitecloud/sqlite-sync-supabase image build on both Supabase base families - the Ubuntu-userland images and the newer Alpine-userland ones - and publish the Alpine PG17 build behind explicit :17-alpine tags. Both bases run a Nix-built, glibc-linked PostgreSQL, so the same glibc extension artifact is installed either way; only the build-time userland tooling (apk vs apt-get) and the pg_config path differ. - Dockerfile.supabase.release: detect the package manager, resolve pg_config from the Nix profiles the bases ship, and remove curl again only when it was not already part of the base image - workflow: add the PG17 Alpine row (base 17.6.1.151) behind a tag_suffix so it cannot collide with the :17 alias, and smoke test every image (CREATE EXTENSION + cloudsync_version) on a booted amd64 container before the multi-arch push - bump the PG15 base pin 15.8.1.085 -> 15.8.1.135. This crosses Ubuntu 20.04 -> 24.04, which shifts the postgres UID 105:106 -> 101:102 and needs a one-time chown on existing deployments; documented in the quickstart and CHANGELOG Validated: :17-alpine running in a full self-hosted Supabase stack on amd64, and the :15 chown migration verified on a live deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2646c12 - Browse repository at this point
Copy the full SHA 2646c12View commit details
Commits on Jul 27, 2026
-
fix: make local Supabase build-from-source work on Alpine bases (#61)
* fix: make local Supabase build-from-source work on Alpine bases (#60) Compile the extension in a dedicated glibc builder stage (official postgres:<major> image with PGDG headers, the same toolchain that builds the release artifacts) instead of installing an apt toolchain into the Supabase base, and resolve pg_config in the runtime stage by probing the Nix profile paths instead of hardcoding the Ubuntu-only location. The runtime stage no longer needs a compiler or package manager, so the Ubuntu/Alpine userland difference stops mattering; both families run a Nix-built, glibc-linked PostgreSQL, so the same .so serves both. postgres-supabase-build derives the builder's PG major version from the resolved base image tag, so auto-detection from a running Supabase CLI stack picks matching headers for PG15 vs PG17. Verified: CREATE EXTENSION cloudsync + cloudsync_version() on Alpine 17.6.1.151 and Ubuntu 17.6.1.071 / 15.8.1.135. Closes #60 Co-Authored-By: Claude Fable 5 <[email protected]> * fix: align .PHONY and postgres-help with actual smoke-test target names The targets are postgres-supabase-run-test / postgres-docker-run-test, but .PHONY and the help text advertised *-run-smoke-test, which does not exist. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0e4be01 - Browse repository at this point
Copy the full SHA 0e4be01View commit details
Commits on Sep 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 79b60ae - Browse repository at this point
Copy the full SHA 79b60aeView commit details
Commits on Sep 7, 2026
-
docs: point HTTPS API examples at the multitenant gateway
The project HTTPS API moved from the node address to the multitenant gateway, <project_id>.<hosted_zone>.gateway.sqlite.cloud. The token minting calls in the SQLiteCloud test commands built their URL from the connection string host, which is the node address, and the sport-tracker .env.example showed a placeholder host. Derive the gateway host from the connection string instead of asking for it: the connection string already carries project_id and hosted_zone, so the gateway host is the node host with "gateway." inserted before "sqlite.cloud". Staging projects use the "staging-gateway." label, so both commands name it and fall back to asking when neither answers. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Vf5Ee2oYPnUWfq5RhawZmb
Configuration menu - View commit details
-
Copy full SHA for 8f7b47c - Browse repository at this point
Copy the full SHA 8f7b47cView commit details
Commits on Sep 11, 2026
-
feat: PostgreSQL 18 support, current Supabase bases, and wide-table p…
…ayload apply (#62) Release 1.1.3. Two independent changes landed together deliberately: merging the wide-table fix alone would have cut the release immediately and published :17 on the frozen 17.6.1.071 and :15 on 15.8.1.135 — the bases this retires. Wide-table payload apply: PostgreSQL's statement wrapper held bound parameters in fixed 32-slot arrays, so any statement needing more than 32 values failed. The merge path binds npks + one per column in the batch, so any synced table wider than ~32 columns hit it. The arrays now grow dynamically and are owned by the statement, preserving values and prepared types across growth. Bases: Supabase moved both the PG15 and PG17 lines to an Alpine userland, so :17 builds on 17.6.1.170 and :15 on 15.14.1.170 (also PostgreSQL 15.8 -> 15.14), and :<major> now tracks whatever base Supabase ships. The transitional -alpine tag and the tag_suffix mechanism are removed with it. PostgreSQL 18: release artifacts, CI tests, and a :18 image. PG18 keeps its data in a major-version subdirectory and refuses to start when a volume is mounted at /var/lib/postgresql/data, so the compose files and the quickstart mount the parent path, which works on every supported major. Also folds the orphaned [Unreleased] changelog entries into [1.1.3], rewrites the :15 entry for the new base, and fixes the website changelog workflow, which listened for v-prefixed tags that this repo never creates. Closes #59.
Configuration menu - View commit details
-
Copy full SHA for b7fbcef - Browse repository at this point
Copy the full SHA b7fbcefView commit details -
Configuration menu - View commit details
-
Copy full SHA for d45128a - Browse repository at this point
Copy the full SHA d45128aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 6b3acb5...d45128a