From 32e100ef8165901aa4a9c1a31db4dec5eea216db Mon Sep 17 00:00:00 2001 From: samzong Date: Fri, 22 May 2026 02:23:44 +0800 Subject: [PATCH] test(qa-lab): allow codex fixtures in deadcode --- scripts/deadcode-unused-files.allowlist.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/deadcode-unused-files.allowlist.mjs b/scripts/deadcode-unused-files.allowlist.mjs index 887f94800c3..f77d8d9226e 100644 --- a/scripts/deadcode-unused-files.allowlist.mjs +++ b/scripts/deadcode-unused-files.allowlist.mjs @@ -37,4 +37,8 @@ export const KNIP_UNUSED_FILE_ALLOWLIST = [ // Knip can disagree across supported local/CI platforms for files that are // only reachable through test-only import graphs. Ignore these when reported, // but do not require them to be reported. -export const KNIP_OPTIONAL_UNUSED_FILE_ALLOWLIST = ["src/gateway/test/server-sessions-helpers.ts"]; +export const KNIP_OPTIONAL_UNUSED_FILE_ALLOWLIST = [ + "extensions/qa-lab/src/auth-profile-fixture.ts", + "extensions/qa-lab/src/codex-plugin-fixture.ts", + "src/gateway/test/server-sessions-helpers.ts", +];