Skip to content

sync_gate 0.1.3

Choose a tag to compare

@KAYOKG KAYOKG released this 27 Nov 13:05
· 78 commits to main since this release

sync_gate 0.1.3

A behavior change in sync_gate run, a weekly update notice, and fixes in the Windows installer. Changes since 0.1.2 (#9, #10, #11; the rest of #1).

Behavior change: sync_gate run always queues

A command typed after sync_gate run now always goes through the queue, and gets its own cost key in the memory model. Before, run sorted the command by its name like the shortcuts do, so a heavy job behind cmd.exe or the PowerShell tool ran free and never counted.

If you wrapped light commands in sync_gate run, they now wait for the queue too. Call them without run. The shortcuts (cargo, npm, pytest and the rest) did not change: they still let light commands through.

Update notice (on by default)

sync_gate status and the session hook of Claude Code and Codex print one line when a newer release exists, with the install command.

  • The daemon looks once every 7 days: one anonymous request to the GitHub releases API through curl. A command you type never makes the call. Offline, it stays silent; a look that fails waits the whole interval too.
  • Turn it off with update_check_days = 0 in config.toml. Off means no call at all. SYNC_GATE_UPDATE_CHECK=0 in the daemon's environment also works, but a variable in your shell does not reach a daemon that the installer started, so the config is the sure way.
  • A config that cannot be read counts as off.

Other changes

  • docker compose --profile p up --build and the other compose global options that take a value are recognized as heavy.
  • Tests and cargo xtask ci fixed for the hosted Windows runner (PowerShell module path, short and long temp folder names, xtask.exe relinked while it runs).

Installer fixes (Windows)

  • A SYNC_GATE_* user variable whose value is not text (a DWord or a QWord, for example) is never rewritten as text. The installer refuses before changing anything.
  • The uninstall journal records the kind of each value it leaves, so the rollback of a failed uninstall no longer takes an expanding value for one changed by someone else.
  • The install test compares only what the installer can change on the real machine (install folder, task, SYNC_GATE_* variables with their kind, profile blocks, agent configs), not every task and file.

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.2
curl -fsSL https://gate.synclabs.team/install.sh | sh -s -- --version 0.1.2

0.1.2 ignores the update_check_days key, so the config can stay. 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

  • #12: Windows, an elevated daemon rejects sandbox guests (the guest pipe owner is Administrators).
  • #13: pg_ctl start sometimes exits 1 with no server.log.
  • #14: flaky tests under load.
  • #15: the Windows CI job stops at the first failing test binary, so the hosted Windows runner has not run the whole suite. The full suite passes on a local Windows machine and on the hosted Ubuntu runner.
  • #16: recovering a crash journal left by 0.1.2 may delete an empty MultiString variable (not confirmed).

Files

File System
sync_gate-0.1.3-x86_64-pc-windows-msvc.zip Windows x64
sync_gate-0.1.3-x86_64-unknown-linux-musl.tar.gz Linux x64 (static)
sync_gate-0.1.3-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.