Skip to content
This repository was archived by the owner on Jul 22, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sqliteai/sqlite-sync-dev
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.202
Choose a base ref
...
head repository: sqliteai/sqlite-sync-dev
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.203
Choose a head ref
  • 9 commits
  • 15 files changed
  • 1 contributor

Commits on Mar 19, 2026

  1. Configuration menu
    Copy the full SHA
    e143be3 View commit details
    Browse the repository at this point in the history
  2. test: add edge-case tests for CRDT sync correctness and error handling

    Add 7 new SQLite unit tests and 7 new PostgreSQL test files covering:
      - DWS/AWS algorithm rejection (unsupported CRDT algos return clean errors)
      - Corrupted payload handling (empty, garbage, truncated, bit-flipped)
      - Payload apply idempotency (3x apply produces identical results)
      - Causal-length tie-breaking determinism (3-way concurrent update convergence)
      - Delete/resurrect with out-of-order payload delivery
      - Large composite primary key (5-column mixed-type PK roundtrip)
      - PostgreSQL-specific type roundtrips (JSONB, TIMESTAMPTZ, NUMERIC, BYTEA)
      - Schema hash mismatch detection (ALTER TABLE without cloudsync workflow)
    andinux committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    44ea471 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. Configuration menu
    Copy the full SHA
    9882a84 View commit details
    Browse the repository at this point in the history
  2. feat(ci): add PostgreSQL extension builds for Linux, macOS, and Windows

    Add a postgres-build matrix job that compiles the PostgreSQL extension
    for 5 platform/arch combinations (linux-x86_64, linux-arm64,
    macos-arm64, macos-x86_64, windows-x86_64) and includes them as
    release assets. Add postgres-package Makefile target and Windows
    platform support (PG_EXTENSION_LIB, -lpostgres linking).
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    e2e9f8e View commit details
    Browse the repository at this point in the history
  3. fix(ci): resolve PostgreSQL extension build failures on macOS and Win…

    …dows
    
    macOS: install gettext for libintl.h and pass include path via
    PG_EXTRA_CFLAGS. Windows: skip POSIX defines (_POSIX_C_SOURCE,
    _GNU_SOURCE) so PG headers use Winsock instead of netinet/in.h.
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    25fe161 View commit details
    Browse the repository at this point in the history
  4. fix(ci): resolve PostgreSQL extension build on macOS, drop Windows

    macOS: guard Security.h include behind !CLOUDSYNC_POSTGRESQL_BUILD to
    avoid type conflicts (Size, uint64) with PostgreSQL headers, use
    getentropy instead. Windows: dropped from postgres-build matrix — MSYS2
    PostgreSQL headers expect Unix includes incompatible with MinGW.
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    8105742 View commit details
    Browse the repository at this point in the history
  5. fix(ci): use _DARWIN_C_SOURCE on macOS for PostgreSQL extension build

    Replace _GNU_SOURCE with _DARWIN_C_SOURCE on macOS to expose
    preadv/pwritev declarations required by PostgreSQL headers.
    _GNU_SOURCE is now Linux-only.
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    5037e0e View commit details
    Browse the repository at this point in the history
  6. fix(ci): add -undefined dynamic_lookup for macOS PostgreSQL extension…

    … linking
    
    macOS linker requires explicit handling of undefined symbols. PostgreSQL
    extensions resolve symbols at load time, so -undefined dynamic_lookup is
    needed. Also consolidate UNAME_S detection to a single location.
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    7fb4e61 View commit details
    Browse the repository at this point in the history
  7. fix(ci): use macos-15 for PostgreSQL x86_64 build with cross-compilation

    macos-13 runners are deprecated. Cross-compile x86_64 on macos-15 ARM
    runner via -arch x86_64 passed through PG_EXTRA_CFLAGS. Also pass
    PG_EXTRA_CFLAGS to linker for arch flag propagation.
    andinux committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    c25bd24 View commit details
    Browse the repository at this point in the history
Loading