Skip to content

sync_gate 0.1.4

Choose a tag to compare

@KAYOKG KAYOKG released this 27 Nov 16:02
· 67 commits to main since this release

sync_gate 0.1.4

Fixes for Windows, the MCP hub and the test suite. Changes since 0.1.3 (#17 to #22).

Fixes

  • An elevated daemon accepts sandbox guests again (#12). On Windows, a daemon started from an elevated shell created the guest pipe owned by Administrators, and guests in the sandbox refused it. The pipe now names the user as its owner.
  • pg_ctl output in the start error (#13). When the PostgreSQL start fails, the error now carries what pg_ctl printed, and the start is repeated once when nothing started.
  • Hub race with many sessions (#2). With 10 sessions starting at once, the relay sometimes ran the MCP server directly instead of going through the hub (6 to 8 failures in 40 runs before, 0 in 40 after). The hub pipe holder check is now retried; if the holder list does not settle, the relay refuses to start (fails closed) instead of running the server on its own.

CI and tests

  • The CI runs every test (#15). The test jobs no longer stop at the first failing test binary (--no-fail-fast). The hosted Windows runner of GitHub now runs the whole suite, and it is green for the first time.
  • Stable guest_connections test (#14). The guest deadlines now start after the clients are held (17 failures in 100 runs before, 0 in 100 after).

Documentation

  • Known limit of a 0.1.2 crash journal (#16). If the 0.1.2 installer crashed in the middle of a reinstall and 0.1.3 or newer recovered its journal, an empty SYNC_GATE_* MultiString variable you had set yourself is removed instead of restored: the 0.1.2 journal records an empty MultiString and a missing variable the same way. This is documented, not changed. Details in docs/install.md.
  • Downgrade from 0.1.3 to 0.1.2 documented: it works, nothing is lost on that step, and 0.1.2 ignores update_check_days and leaves update-check.json in place.

Install

Windows (PowerShell):

irm https://gate.synclabs.team/install.ps1 | iex

macOS and Linux:

curl -fsSL https://gate.synclabs.team/install.sh | sh

If an earlier version is installed, the same command updates it. More in docs/install.md.

Downgrade

Pin the older version with the same command:

& ([scriptblock]::Create((irm https://gate.synclabs.team/install.ps1))) -Version 0.1.3
curl -fsSL https://gate.synclabs.team/install.sh | sh -s -- --version 0.1.3

On Windows, going back to 0.1.1 or older loses the value a SYNC_GATE_* user variable had before sync_gate first wrote it: an uninstall then deletes the variable instead of restoring it. Write those values down before you go back. Details in docs/install.md.

Known issues

  • #13: pg_ctl start sometimes exits 1 with no server.log. The root cause is still unknown; the error now shows the pg_ctl output, so please paste it in the issue if it happens.
  • #14: the declared_extensions tests may still be flaky under load (did not reproduce in 180 attempts).
  • #2: the rest of the MCP hub reliability and resource limits work.

Files

File System
sync_gate-0.1.4-x86_64-pc-windows-msvc.zip Windows x64
sync_gate-0.1.4-x86_64-unknown-linux-musl.tar.gz Linux x64 (static)
sync_gate-0.1.4-aarch64-unknown-linux-musl.tar.gz Linux ARM64 (static)
install.ps1, install.sh installers
SHA256SUMS checksums of all files above

License

MIT or Apache-2.0, at your option.