You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Storage wrap-up: 6 fixes + switch default mode to full (single PR) | 存储收尾六修 + 缺省模式翻 full(一个 PR 统一处理) #3818
Activity
[-]存储收尾六修 + 缺省模式翻 full(一个 PR 统一处理)[/-][+]Storage wrap-up: 6 fixes + switch default mode to full (single PR) | 存储收尾六修 + 缺省模式翻 full(一个 PR 统一处理)[/+]ranxianglei commentedon Oct 19, 2026
实现完成,PR #3819(缺省翻转 + 六项同车修,打桩先行七红七绿):#3819
要点:
七桩先行(tests/storage-full-flip.test.ts 6 + engine-bootstrap 1),全部先红后绿;家族回归 storage-replicas/golden-storage-render/acp-status/memory-diagnostics 全绿;CONFIGURATION(+zh)与 website 种子已重生成。全量本地跑与 CI 在路上。
fix: bounded-boot index union skips file-backed ids to honor the deco…
test: align storage banner/mode-label suites with the full default (#…
fix: arm cooldown when post-download engine registration fails (#3818 …
ranxianglei commentedon Oct 19, 2026
(ai: vllm-qwen/qwen3.8-27b)
查重: 不重复(##3818 是 owner 设计的单 PR 整合项)。但发现一条在途重叠:PR #3144(10-14 开,Closes #3135)已独立实现了同样的六项收尾,与本项 PR #3819(今日开,flip + 同六项)在
src/persist.ts/src/storage/*上大面积重叠。两者都合并必冲突。按 issue 正文「一个 PR 全部处理」的设计,#3819 是超集(多出缺省翻转),建议以 #3819 为准、#3144 作 superseded 关闭——最终由你拍板,我不动 #3144。标签: scope/storage、p2(存储域收尾 + 缺省模式翻转;非缺陷报告不打 bug,无特定客户端)。
当前状态: PR #3819 存在且 open(分支
2026-10-19_storage-full-flip,behind master)。正在核对代码与 CI,结论稍后按八问体例跟帖。storage: orphan-contents guard + bounded-boot byte budget (#3818 foll…
test: close per-leg stores in the web-sessions stamp test (#3818 review)
test: pin #2695 reap-shape records as envelope-served across restart (#…
ranxianglei commentedon Oct 19, 2026
(ai: vllm-qwen/qwen3.8-27b)
进度更新:PR #3819 的 4 条红 CI 已全部根因定位并修复,等 CI 收尾。
验证过程中发现分支上并行落了一个同题修复(9a16af66e,orphan-contents guard + bounded-boot 字节预算 + merge master),与我的独立分析撞车。处置(union of intent):
orphanSkips计数)+ loadSync 供数改走无损的已解析信封视图,我放弃了自己那份重复的 fix commit。test: close per-leg stores in the web-sessions stamp test——并行版每个 leg 的 store 没 closeQuietly,Windows 上 index.db 句柄可能活过 rmrf(dir),teardown 有 flake 风险;test: pin #2695 reap-shape records as envelope-served across restart——stake-8 回归钉。reapDestroyedSubstrate正是真实内核会话产生该形状(state.blocks 过滤、blockContents 保留供 decompress 兜底),stake-8 测试钉的就是这个形状。CI 在 21b70f4 上跑着(gate/docs/kernel-guard/unused-exports 已绿,8 条 test lane + static-gates 进行中),出结果后按八问给最终结论。
ranxianglei commentedon Oct 19, 2026
(ai: vllm-qwen/qwen3.8-27b)
PR #3819(head 21b70f4)CI 全绿:17/17 通过,0 失败(其余为路径门控 skip)。验收对照:无配置新装 effective=full ✓(test ①)、
BILI_STORAGE_UNIFIED=legacy一键回退 ✓、storage-unified / golden-storage-render / runtime-status 族零回归 ✓、六项各一条测试 + 验证期新发现的第七项(孤儿内容 guard)也有回归钉。八问:
orphanSkips计数)。注意:并行提交的「real kernel sessions never trip this」判断不成立,reap 形状正是真实会话产生的,stake-8 测试钉的就是它。storage.unified缺省 shadow → full(理由:双写对账一个多月干净 + 快照渲染/增量车道地基);印章语义从「写入时解析旋钮」改为「建 store 时冻结实例实际态」(item ③ 本意);status wire 增verifyDrift/driftedSessions字段、stats 增orphanSkips(均为 additive)。两件事等你拍板:
判定:可合并(merge 由你执行:https://github.com/ranxianglei/billion-context/pull/3819)。标签此前已打:scope/storage + p2。
ranxianglei commentedon Oct 19, 2026
(ai: vllm-qwen/qwen3.8-27b)
收到。这条实现报告与我已完成的核验对上了——补充当前状态(详见楼上八问回复):
storage: writerOff safety valve for unrepresentable records (#3818 re…
40 remaining items
test: stop a stray Windows handle from failing the full-flip suite
test(#3769): pin full mode in the upgrade-compat suite
docs: drop stale duplicate storage rows from generated config referen…
docs: drop stale duplicate storage rows from generated config referen…
Merge pull request #4097 from ranxianglei/2026-10-21_full-flip-determ…
fix(ci): flush the v2 envelope synchronously in the ranxianglei#3818 …
docs: align the ranxianglei#3818 parsed-view note with the orphan jou…
test: pin exact orphan content bytes in the writerOff reap-shape test (…
test: re-pin storage-lane proofs onto the #4316 one-time ledger align…
fix(tests+cli): align three suites with the no-degradation contract
docs(review nits on #5475): correct the unified-storage flip release …
fix: correct stale storage.unified default comment (absent defaults t…
docs(tests): correct stale storage-default comment in preload-storage…
docs(tests): correct stale storage-default comment in preload-storage…
fix: correct stale storage.unified default comment (absent defaults t…