Repository navigation
[PR] fix(ci): unblock red master — pretest-cache dist mtime refresh, dsh sidScope merge casualty, lifecycle ledger entry (#4541) - #4557
Closed
ranxianglei wants to merge 3 commits into
Conversation
added 3 commits
October 24, 2026 21:17
Contributor
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.5503-pr.4557.4913466This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr4557.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Owner
Author
|
(ai: zhipuai-lb/glm-5.3) 陈旧票清理(第三批动作①):目标 issue #4541 已关。为避免重复劳动关闭本 PR;如判断有误请直接 reopen 并留言。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this fixes
Since #3330 merged to master today 10:31Z, every CI
testshard containing the golden-storage-render file hangs on the same subtest, and static-gates + lifecycle-ledger-guard are also red — every merge, including releases, is blocked. Three distinct root causes sit behind the red master; this PR fixes all three as three labeled commits.1. Pretest dist cache restore leaves archive-time mtimes → the #3330 freshness guard misreads them as stale (the reported symptom)
kernel/distvia actions/cache keyed on content hash;scripts/ci-pretest-cache.mjsskips the rebuild when the marker matches but leaves the restored files' mtimes at archive time.tests/golden-storage-drive.ts, the test: rebaseline storage-render goldens after remove-absorb (#3309) #3325 lesson) comparesmtime(node_modules/acp-kernel/dist)against the newestkernel/srcmtime → every cache-hit leg throwsgolden drive: node_modules/acp-kernel/dist is older than kernel/src ... Rebuild first: npm run build.refreshDistMtimes, recursiveutimesSync). The producer of the misleading timestamps is fixed at its source; the [PR] test: golden drive refuses to run on a stale kernel dist (#3325 lesson) #3330 safety gate is untouched.2. #4525 merge casualty: dangling
sidScopein dsh-native.ts → typecheck red (static-gates)dispatchScope(object store) while carrying over the new fork-blind-spot log block written against the other side's old string-storesidScope→ TS2304, static-gates red on both OS legs.typeof scoped === "string"against an object store would makescopedActivepermanently false.dispatchScope.getStore()with a field-levelsidcheck; corrected an adjacent stale comment referencing the dropped name. Typecheck clean. Never shipped — no tag contains the offending commit.3.
BILI_CODEX_STATE_MODEmissing from LIFECYCLE.md → lifecycle-ledger-guard redBehavior changes
, mtimes refreshedsuffix (additive; existing prefix assertions unaffected).scopedActivesemantics restored — the broken variant never compiled or shipped, so no released-artifact drift.No config surface changes. No version bump. No
kernel/changes.查重: 无(按失败签名检索 open+closed issue/PR;子缺陷 1 与 OP 查重结论一致,子缺陷 2/3 为分析中发现,均无既有条目)
Local verification (targeted only, full suite = remote CI):
tests/ci-pretest-cache.test.ts8/8,tests/golden-kernel-dist-guard.test.ts4/4,tests/issue4215-fork-gate-diagnostics.test.ts8/8, typecheck clean, lifecycle-ledger-guard OK, CLI smoke (MISS-build then HIT-refresh).Closes #4541