diff --git a/scripts/live-files.mjs b/scripts/live-files.mjs index 6e67fffc9e..720e339d2b 100644 --- a/scripts/live-files.mjs +++ b/scripts/live-files.mjs @@ -54,6 +54,9 @@ export const LIVE_FILES = [ // corruption probes, #4216/#4249 follow-ups); append-only per the note above "tests/storage-engine-proofs.test.ts", "tests/web-storage-banner.test.ts", + // #4434 (split-brain surface): spawns bili CLI children against a throwaway + // origin; own probe server is listen(0) so only the zone band matters + "tests/issue-split-brain-surface.test.ts", ]; /** Band width per live file: the zone ladder drifts +1 per EADDRINUSE retry; diff --git a/src/served-markers.ts b/src/served-markers.ts index 97228c9979..6ae0aa8e25 100644 --- a/src/served-markers.ts +++ b/src/served-markers.ts @@ -39,7 +39,7 @@ interface WriterMarkerFile { /** A surfaced split-brain contest: which session (id + resolved title) and * who is on each side (#3923/#3959). */ -export interface SplitBrainContest { +interface SplitBrainContest { sessionId: string; title?: string; self: WriterIdentity; @@ -47,7 +47,7 @@ export interface SplitBrainContest { at: number; } -export interface ServedMarkerOptions { +interface ServedMarkerOptions { /** Cheapest accessor for the session's display title (in-memory peek — * never a disk read). */ resolveTitle?: (sessionId: string) => string | undefined; diff --git a/src/storage/runtime-status.ts b/src/storage/runtime-status.ts index b6a328f096..6a1253486c 100644 --- a/src/storage/runtime-status.ts +++ b/src/storage/runtime-status.ts @@ -95,7 +95,7 @@ export function recordSecondProcessOwner(pid: number, info?: { lane?: string; in state.secondProcess = { pid, at: Date.now(), benign: false, ...(info ?? {}) }; } -export interface SplitBrainIdentity { +interface SplitBrainIdentity { instanceId: string; pid: number; origin: string;