You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1bcdc8c
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(daemon): takeover decision as a value, one SemVer comparator
Review follow-ups on the newer-daemon refusal:
- resolveDaemonTakeover returns a typed decision (reuse | replace | refuseNewer)
instead of a reason string that sometimes throws; the lifecycle layer, which
already owns the takeover notice and knows the state dir, builds the refusal
error and its shell-quoted hint. The launch-spec module no longer imports
device-shell.
- compareVersions is exported from host-kit/version and src/cli/update-check.ts
uses it, deleting its numeric-collation copy (which ranked 0.12.0 below
0.12.0-dev and never prompted a -dev build). parseVersion is one anchored
regex; a malformed version reads as 0.0.0 and the doc says so.
- the loopback daemon fixture and captureStderr move to
src/__tests__/test-utils/daemon-http-fixture.ts, shared by the lifecycle suite
and the new refusal test instead of copied.
0 commit comments