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 7a1565b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): recheck live ownership before journal recovery (#7851)
* fix(cli): recheck live ownership before journal recovery
Rebased onto dev (replaces the previous dev merges). The F4 bind-host source assertion now follows the normalization into src/server/bind-host.ts.
* test(cli): supply definitive startup ownership fixture negatives
Refuse both exact loopback health URLs in the child transport fixture and
serve a valid foreign health identity from the held auxiliary-test canary.
The ownership recovery fence correctly treats unexpected fixture errors and
unreadable health bodies as unknown; keep its fail-closed behavior unchanged.
Add a cross-platform fixture regression requiring all six family attempts
to refuse. Preserve the connected-client desktop-claim and no-publication
assertions, and keep the canary response at / unchanged.
---------
Co-authored-by: JUN <243035832+lidge-jun@users.noreply.github.com>
thrownewError("Proxy ownership is unverified; startup refused. PID record and recovery journal were preserved. Retry when the owner can be verified.");
16
+
}
17
+
removePidIfValueIs(owner.pidSnapshot);
18
+
if(!sibling)sibling=awaitmarkCrossHomeSibling();
19
+
if(!sibling)reconcileStartupJournal();
20
+
returnsibling;
21
+
}
22
+
23
+
/** Hold ownership stable through the final liveness check and shared-state recovery. */
0 commit comments