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
4 changes: 2 additions & 2 deletions kernel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions scripts/live-files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export const LIVE_FILES = [
// band (preload-zone-slot), so mid-list inserts renumber every later band
"tests/storage-durability.test.ts",
"tests/server-close-all-connections.test.ts",
// both spawn the corrupt-index-child helper (unified-store cold-load
// corruption probes, #4216/#4249 follow-ups); append-only per the note above
"tests/storage-engine-proofs.test.ts",
"tests/web-storage-banner.test.ts",
];

/** Band width per live file: the zone ladder drifts +1 per EADDRINUSE retry;
Expand Down
8 changes: 4 additions & 4 deletions tests/corrupt-index-child.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function makeOpts(upstreamPort: number): ProxyOptions {
// sides reference these constants, so the coverage list cannot drift.
// ---------------------------------------------------------------------------

export const ENGPROOF_CHECK_NAMES = {
const ENGPROOF_CHECK_NAMES = {
fallbackRead: "legacy fallback returned a session over the corrupt index",
midFlowGuard: "no live handle after the corrupt-index read (#2781 rename guard)",
stateDigest: "corrupt-index fallback state digest matches the clean full-mode read",
Expand All @@ -135,7 +135,7 @@ export const ENGPROOF_CHECK_NAMES = {
} as const;
export const ENGPROOF_CHECKS: readonly string[] = Object.values(ENGPROOF_CHECK_NAMES);

export const BANNER_CHECK_NAMES = {
const BANNER_CHECK_NAMES = {
overviewAnswers: "/__bili/overview answers 200 with JSON",
requestedFull: "storage.requested is full",
effectiveLegacy: "storage.effective is legacy",
Expand All @@ -146,12 +146,12 @@ export const BANNER_CHECK_NAMES = {
} as const;
export const BANNER_CHECKS: readonly string[] = Object.values(BANNER_CHECK_NAMES);

export interface CorruptIndexCheck {
interface CorruptIndexCheck {
name: string;
ok: boolean;
detail?: string;
}
export interface CorruptIndexVerdict {
interface CorruptIndexVerdict {
ok: boolean;
failure: string | null;
checks: CorruptIndexCheck[];
Expand Down
Loading