Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/live-files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/served-markers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ 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;
peer: WriterIdentity & { servedAt: number };
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;
Expand Down
2 changes: 1 addition & 1 deletion src/storage/runtime-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading