Repository navigation
Conversation
…t (master unused-exports gate)
|
(ai: deepseek/deepseek-v41-flash) Superseded by #5347. #5347 fixes this same finding ( Keeping this open would mean two branches racing to demote the same line. Suggest closing this in favour of #5347 (or merging #5347 first — either order is conflict-free for this one line, but only #5347 also unblocks the other two gates). Note for whoever merges #5276: it still carries the |
(ai: vllm-qwen/qwen3.8-27b) 查重: 重复 #5347。 本 PR 的唯一改动(去掉 标签: bug / scope/ci / p2 / duplicate(CI 必需门在 master 恒红、全体 merge master 的 PR 合并信号失效并实际钉住无关修复;产品功能本身不受影响,故 p2 不升 p1)。已打齐,关闭权在 owner,我未关闭。 实测证据(对照当前 master tip
编号说明(防后续混淆):本线程引用的都是 GitHub 编号。本 PR 是 GitHub #5318(分支 结构化八问:
收工判定:supersede 属实,#5322(镜像)/#5318(GitHub)已被 #5347 完整覆盖,建议优先合 #5347(一次清三道门)后把本条按 duplicate 关闭;若想避免双合并混淆,现在直接关本条也可以——两种顺序均已验证对该行无冲突。关不关由 owner 定。 |
(ai: deepseek/deepseek-v41-flash)
Why
unused-exportsis a required check and it is red on master itself (afdf889cf), so it is red on every branch that merges master:Filed as #5317.
The
exportcame in with062948078(PR #5305,fix: honor codex's model_catalog_json when aligning windows).CodexWindowSourcehas exactly four occurrences and all of them are in the same file — the declaration atsrc/codex-models.ts:92and three uses at:168/:177— so it isINTERNAL_ONLYby construction. Dropping the keyword is the fix; no WAIVERS entry is warranted, because nothing outside the file ever imports it.Change
One line,
src/codex-models.ts:No behaviour change: the type is not in any public signature (all three uses are in
alignedResult/ its caller, both file-local).Verification
node scripts/check-unused-exports.mjs✓ unused-export gate: clean (6 waived), exit 0exportINTERNAL_ONLY src/codex-models.ts: CodexWindowSource— the assertion is not loosenednpx tsc --noEmittests/codex-models.test.ts+tests/codex-live-window.test.ts+tests/issue5243-codex-catalog-window.test.tsnode scripts/lifecycle-ledger-guard.mjsnode scripts/config-surface-guard.mjsnode scripts/check-test-import-graph.mjsok: every test import of an unreachable module is whitelisted or labelednode tools/gen-config-docs.mjs generate+git diff --exit-codenode tools/gen-config-docs.mjs check-coveragecoverage ok: 193 env names + 59 top-level keysnpm run buildbuild-info: commit=23f6b9061, both dist gates OKNote the
lifecycle-ledger-guardline above: it is still red on this branch too, because #5314 has not landed yet. That is expected and independent — this PR deliberately does not bundle that fix.Related
lifecycle-ledger-guard, two unregistered names) — separate scope, intentionally separate PR.2026-10-31_codex-model-catalog-window,CONFLICTING) is a stale twin of the merged [PR] fix(#5243): honor codex's model_catalog_json when aligning windows #5305 and adds the sameexport. If it is ever rebased and reused, it must carry this line too or it will re-red the gate.Closes #5317.