Releases: StvLi/dsh-phoenix
Release list
dsh-phoenix 0.2.5
Persistent goal continuation: a marked goal is re-resumed after every restart while active, and the continuation is kept (goalId/pendingResume) until the goal completes, goes stale, or resume attempts are exhausted. Verified end-to-end across multiple restarts. 21 tests.
dsh-phoenix 0.2.4
Fix: the defer deadline was compared as a duration (900000) against epoch , so was always true and the restart was forced at the first poll. Now epoch deadlines are passed to deferDecision (soft = hard - span). Added a no-premature-force test. 21 tests.
dsh-phoenix 0.2.3
Fixes: (1) graceful restart now works without DSH_PHOENIX_STATE_FILE (in-memory lifecycle; durable recovery/resume still needs the file). (2) Recovery waits a bounded window for a goal to register before declaring it stale. (3) Heartbeat reload is cache-busted (no stale-token reload loop). 20 tests.
dsh-phoenix 0.2.2
Critical fix: the injected heartbeat script had a syntax error (setInterval(...}) — the browser rejected the whole script, so the page could not auto-reconnect after a restart. Fixed the closing paren; added a parse-guard test (18 tests).
dsh-phoenix 0.2.1
Fix: a missing state file is a fresh start (no spurious corrupt flag); heartbeat now checks immediately on page load then every interval (faster auto-reconnect).
dsh-phoenix 0.2.0
Durable lifecycle & safe-restart semantics. Explicit state machine (idle/deferred/restarting/recovering/running) with atomic checkpoint; resume is at-most-once per generation (durable resumeAttempt before the call); stale/corrupt checkpoints are invalidated, not resumed; in-flight restarts coalesce; defer timeout is now a soft->warn->hard deadline (policy auto/wait); 17 failure-injection tests (crash/stale/duplicate/failure/loop prevention).
dsh-phoenix 0.1.1
Review fixes: systemd adapter + availability detection (loud, no silent failure); guarded goal re-arm (warns on interface mismatch); bounded re-arm + one-shot pendingResume; narrowed trigger to cordis_run; PATH-resolved bins + unit sanitize; 10 unit tests + CI + VERIFY doc.
dsh-phoenix 0.1.0
Initial release: graceful restart + client auto-reconnect + cross-restart goal continuation. Install: dsh plugin --profile web add dsh-phoenix.