Repository navigation
test: regen storage-render goldens — biliVersion 现为 metadata 首个键(#3094 跟进) - #3122
Closed
ranxianglei wants to merge 1 commit into
Closed
ranxianglei wants to merge 1 commit into
ranxianglei wants to merge 1 commit into
Conversation
…moves it to first metadata key (#3094 follow-up)
This was referenced Oct 14, 2026
Contributor
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.3550-pr.3122.3afc01eThis exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr3122.tgz
npm install -g packageInstall instructions are refreshed on each push. |
Owner
Author
This was referenced Oct 14, 2026
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.
Closes #3121
为什么重新生成快照(golden justification)
#3094(commit 64b50fd)把 biliVersion/storageMode 盖戳从 buildRecord(落盘时追加 → 末位键)移到 createSession(创建时写入 → 首位键),修复 web 详情面板对运行中会话显示 legacy/"—" 的问题。这是有意的持久化状态变更:值不变(canonical 掩码 VER),但 session.metadata 的 JSON.stringify 键序变了 → metadata 段摘要变。#3094 提交信息断言 "digests are undisturbed" 不成立(canonical 掩的是值不是键位置),其 CI 4 条 test lane 全红仍被合入,master 自此持续红。
diff 内容
node --import tsx scripts/update-storage-render-goldens.ts重放,恰好 4 文件 × 2 行(stateDigest + sectionDigests.metadata);state/blockContents/stats 各段、turns/foldAt/editedAt/summaryFrom、全部 wire body 与旧快照一致。验证
tests/golden-storage-render.test.ts本地 5/5 绿(node 22);解锁
合并后 PR #3108(web 诊断横幅 60s 缓存)rebase master 即可转绿;本 PR 不含任何代码行为变更,纯测试快照对齐。