Skip to content

Interop suite, release-link CI and 0.7.0 (DEV-1150 part 3d) - #56

Merged
adamski merged 14 commits into
mainfrom
adam/dev-1150-interop-release
Oct 1, 2026
Merged

adamski merged 14 commits into
mainfrom
adam/dev-1150-interop-release

Conversation

@adamski

@adamski adamski commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Interop and release for the v2 redesign (DEV-1150 part 3d). Releases replicant-client 0.7.0, which requires replicant-server 0.5.0 (tagged on facd572).

What changes

  • Interop harness restored for protocol v2. test/run_phoenix_interop_local.sh runs against replicant-server at facd572, using its own throwaway database (INTEROP_DB_NAME, default replicant_interop_v2).
  • v2 interop suite (tests/interop.rs), run against the real server:
    • first sync events
    • create, update and delete across devices
    • offline edits
    • field merges and field conflicts
    • canonical numbers
    • curated publications
    • auth halts
    • identity adoption
    • silent-drop detection (about 60 s) and recovery
  • Two processes on one data dir (tests/two_process.rs):
    • an offline edit is seen in under 1 s;
    • concurrent uploads converge;
    • whole-content writes end with one server state.
  • CI:
    • an interop job, which runs the same 17 top-level tests as the harness (11 interop, 3 two-process, 3 smoke);
    • a release-link job on macOS, Linux and Windows, which checks the version marker survives release links;
    • a macOS thread-count check.
  • .gitlab-ci.yml is removed (it built the removed Rust server).
  • An ignored probe runs migration 015 over a copy of a v1 database.
  • Version bumped to 0.7.0.

No engine behaviour changes.

What 3d found

To check on this PR's CI

release-link on Windows is the one platform not verified locally. It checks that the version marker survives /OPT:REF.

After merge: tag v0.7.0 on the merge commit.

adamski added 14 commits October 1, 2026 10:40
…devices, offline, merges, numbers, curated, auth, identity)
…rge with the server, including an upload sent on a base the other process's upload already replaced; the server account and document helpers move to tests/support for both suites
…skips the child-process stubs, which only work when a test spawns them
…e heartbeat and recovered; one proxy in tests/support serves this and the reply-holding two-process test
…cant_interop_v2), never the server's replicant_server_test
…cOS and Windows, count threads on macOS; drop the stale GitLab CI
@adamski
adamski merged commit a93fe89 into main Oct 1, 2026
7 checks passed
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.

1 participant