Skip to content

[PR] fix: restore lock-sync / unused-exports gates to green on master (leftover from stalled blind window) | fix: 恢复 master 上 lock-sync / unused-exports 两个 gate 绿(停摆盲窗遗留) - #4420

Closed
ranxianglei wants to merge 2 commits into
masterfrom
2026-10-23_ci-lock-unused-fix
Closed

ranxianglei wants to merge 2 commits into
masterfrom
2026-10-23_ci-lock-unused-fix

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

现象

master 本身红了两个 8 秒即挂的 check:CI / lock-sync 和 CI / unused-exports(v0.1.204 之后合并的 PR 全部继承)。

根因

修复

  • npm install --package-lock-only 重新生成锁文件:acp-kernel 0.0.159 → 0.0.160,一行 diff。
  • 去掉 4 个符号的 export 关键字(ENGPROOF_CHECK_NAMES、BANNER_CHECK_NAMES、CorruptIndexCheck、CorruptIndexVerdict)—— 父测试用的是 ENGPROOF_CHECKS/BANNER_CHECKS 数组和 spawnCorruptIndexChild 的类型推断,不受影响。

测试

  • node scripts/check-unused-exports.mjs → clean(6 waived)。
  • npm run typecheck → 通过。
  • tests/storage-engine-proofs.test.ts + tests/web-storage-banner.test.ts(两个消费方)17/17 通过。
  • lock-sync 验证:重新生成后 git diff --exit-code -- package-lock.json 为空。

备注

- package-lock.json: sync acp-kernel file-link version 0.0.159 -> 0.0.160
  (#4396 bump landed during the CI outage; lock-sync gate never ran)
- tests/corrupt-index-child.ts: drop export on ENGPROOF_CHECK_NAMES /
  BANNER_CHECK_NAMES / CorruptIndexCheck / CorruptIndexVerdict —
  in-file references only (INTERNAL_ONLY findings from #4338)
ranxianglei added a commit that referenced this pull request Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-10-23_ci-lock-unused-fix (52bb78c)

Latest build — install this exact version

npm install -g billion-context@0.0.5284-pr.4420.390fb9f

This exact version is immutable and reproducible. The rolling pr tag tracks the newest test build across all PRs.

Recent builds (commit → version)

commit version build
52bb78c billion-context@0.0.5284-pr.4420.390fb9f build
96ce869 billion-context@0.0.5280-pr.4420.83323b8 build

Download artifact

  1. Download the artifact from the Actions run
  2. Extract the tarball and install:
tar xzf billion-context-pr4420.tgz
npm install -g package

Install instructions are refreshed on each push.

@ranxianglei ranxianglei changed the title fix: 恢复 master 上 lock-sync / unused-exports 两个 gate 绿(停摆盲窗遗留) [PR] fix: restore lock-sync / unused-exports gates to green on master (leftover from stalled blind window) | fix: 恢复 master 上 lock-sync / unused-exports 两个 gate 绿(停摆盲窗遗留) Oct 23, 2026
@ranxianglei

Copy link
Copy Markdown
Owner Author

(ai: zhipuai-lb/glm-5.3)

关闭:内容已由 #4416 合入 master(还多了 live-files 注册一笔)。感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant