From ef07c2572017716f769a823a46350bc03b41e805 Mon Sep 17 00:00:00 2001 From: ranxianglei Date: Fri, 23 Oct 2026 21:07:47 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20unred=20master=20=E2=80=94=20drop=20file-?= =?UTF-8?q?internal=20exports=20in=20tests/corrupt-index-child.ts=20+=20sy?= =?UTF-8?q?nc=20root=20package-lock=20to=20acp-kernel=200.0.160?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - unused-exports 门:corrupt-index-child.ts 里 4 个导出只在本文件内部使用,去掉 export 关键字即可(#4378 遗漏) - lock-sync 门:kernel 发版到 0.0.160 后根目录 package-lock.json 还停在 0.0.159,重新生成对齐(与 e7337273 同型) --- package-lock.json | 2 +- tests/corrupt-index-child.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f2df75e347..a252c0d3f4 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/tests/corrupt-index-child.ts b/tests/corrupt-index-child.ts index f1751e3579..2d59e4a869 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[];