Skip to content

Salpa 0.2.3

Choose a tag to compare

@xinmengbcr xinmengbcr released this 31 Aug 09:43

Two fixes here can stop Salpa working entirely. If you are on Windows, or your
Mac has Redis installed, this release matters.

Salpa could refuse to start. On macOS and Linux it preferred a system Redis
over its own bundled one, chosen by whatever was on PATH when it launched — and
that differs between opening from the Dock and launching from a terminal. On a
machine with a newer Redis installed alongside, one launch could save state the
other could never read, after which every start failed with "Redis failed to
start within timeout"
. It now always uses the Redis it ships with, and if it
ever finds a saved state it cannot read, it moves that file aside and tells you,
instead of refusing to open.

On Windows, nothing would run on a fresh install. Executing any node returned
a 500. The Redis client resolved for new installations expects a newer Redis than
the one bundled for Windows, so every connection was rejected. Existing Windows
installations were unaffected, which is why this went unreported — it only broke
for people installing Salpa for the first time.

Also in this release:

  • Stop now works on Windows. Cancelling a running node terminates the whole
    process tree, verified on real hardware.
  • Stop tells the truth. Six places where it did the right thing and reported
    the wrong one: a workflow stop that said "stopped" before asking, a Job Queue
    that said nothing at all, and cancelled jobs that vanished from every counter.
  • The connection recovers. The app used to give up reconnecting after five
    attempts — about fifteen seconds — and stay silent. It now keeps trying, and
    reconnects immediately when your network returns or you come back to the tab.