diff --git a/kernel/package-lock.json b/kernel/package-lock.json index 07de8f7ce..00da442c3 100644 --- a/kernel/package-lock.json +++ b/kernel/package-lock.json @@ -1,12 +1,12 @@ { "name": "acp-kernel", - "version": "0.0.159", + "version": "0.0.160", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "acp-kernel", - "version": "0.0.159", + "version": "0.0.160", "license": "MIT", "devDependencies": { "@types/node": "^22.0.0", diff --git a/package-lock.json b/package-lock.json index f2df75e34..a252c0d3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ }, "kernel": { "name": "acp-kernel", - "version": "0.0.159", + "version": "0.0.160", "dev": true, "license": "MIT", "devDependencies": { diff --git a/scripts/live-files.mjs b/scripts/live-files.mjs index 6ebd01a7b..6e67fffc9 100644 --- a/scripts/live-files.mjs +++ b/scripts/live-files.mjs @@ -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; diff --git a/tests/corrupt-index-child.ts b/tests/corrupt-index-child.ts index f1751e357..2d59e4a86 100644 --- a/tests/corrupt-index-child.ts +++ b/tests/corrupt-index-child.ts @@ -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", @@ -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", @@ -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[];