Skip to content

[PR] fix: refuse unverifiable content digests and isolate unparseable rows in unified storage (#7335) - #7336

Open
ranxianglei wants to merge 6 commits into
masterfrom
2026-11-20_storage-poison-row-isolation
Open

ranxianglei wants to merge 6 commits into
masterfrom
2026-11-20_storage-poison-row-isolation

Conversation

@ranxianglei

@ranxianglei ranxianglei commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

(ai: sglang-gpu0/qwen3.8-27b)

Fixes #7335
Fixes #7337

改了什么

一条坏数据行(CAS 哈希与字节不匹配 / JSON 解析不了)过去可以炸掉整个会话:冷加载抛异常 → legacy 回退失败 → 状态清零 → 裸上下文从零重压(实例:26 行毒数据 → 32 轮串行 preflight,用户侧卡死 12+ 分钟)。本 PR 关两个结构性缺口:

  1. 写入端拒写毒数据(src/storage/store.ts + src/storage/mysql.ts 的 putContent):调用方提供的摘要现在一律与 sha256(bytes) 复核,不一致即抛错、事务回滚。代价 = 每次写入多哈希一次实际写入的字节(增量稳态亚毫秒;全量重导入罕见且也只是几毫秒)。
  2. 读取端坏行隔离(src/storage/ingest.ts LegacyViewBuilder + src/storage/shadow.ts):解析失败的行跳过并点名记录,加载路径打响亮 warn(unified view degraded … N unparseable row(s) skipped);尾行计入既有 tailGaps。会话带伤加载,块/ref/压缩状态全保住。sidecar 校验器(verify-sample)同样隔离:坏行标 drift,不再让每次保存永久失败重试。

与 #7173(已合并)的关系:互补,不重合

#7173 修的是文件级损坏(双写者炸 WAL、.chk 完整性判词、webSummaryRows 的 json_valid 防护、启动期首写损坏分类);本 PR 修的是行级逻辑毒(CAS 哈希≠字节、单行 JSON 解析不了)——同一事故的两个不同层,文件级防护挡不住行级毒,反之亦然。已 rebase 到含 #7173 的最新 master,无冲突。

证据

  • 新回归测试 tests/storage-poison-row-isolation.test.ts 3/3 绿(毒哈希拒写且零残留;毒消息行 → 视图带 tailGaps 加载、块全在;毒块行 → 视图加载、消息全在)。
  • 定向回归(rebase 后):tests/storage-*.test.ts 全套 324 pass / 0 fail。
  • npm run typecheck 干净。全量套以远端 CI 为准。

评审提示

  • 触达存储写入 CAS 入口 + 冷加载/视图重建 + sidecar 校验,sqlite 与 mysql 两后端一致。
  • 不改 wire / 配置面 / 持久化格式版本;库中既有坏行不受影响。
  • 按 §7.4 属 fallback 行为变更档 → 请人工评审。

Review follow-up(2026-11-20,commit 34da63d)

评审发现原修复漏掉的两种行形状(都能继续炸掉整个会话加载 / 让每次保存失败——即事故的失败模式),本 commit 补上:

  1. 块内容 CAS 行隔离(src/storage/ingest.ts appendBlockContents):每块的 CAS 解析 summary/one 原本无隔离——坏块内容行会让 viewFor 与 resident-fields 读取抛异常。现按行隔离(与 addMessages/addBlocks 同一 skip-and-record sink)。自愈:blocks 写入路径是权威 upsert,下一次全量 ingest 会把该行重指向合成内容(completeBlockContents fallback),drift 收敛。
  2. verify-sample 块行隔离(src/storage/shadow.ts BatchedViewVerification.addBlocks):payload_json 与 summary/one CAS 字符串原本裸解析——坏块行会在 verify-sample 内抛异常、此后每次保存都失败(事故症状 feat: persistent + namespaced sessions, multi-tenant session isolation, stream robustness #5)。现改为标 drift(保持位置对齐)。

新增测试:2 个回归 case(坏块 summary CAS 行 → 视图加载、块文本缺失、fallback 生效;坏尾消息 CAS 行 + live record → verify-sample 标 drift 而非抛异常)。两者在修复前 head 上均失败。

行为变更披露(旧 → 新):

  • 归档导入(putContent(body, hash)):dump 内摘要与字节不符时,旧=照写(毒数据落库);新=抛错、导入失败(loud-fail,与本 PR 写入端哲学一致;罕见路径)。
  • 带坏块内容行的会话冷加载:旧=整体抛异常 → legacy 回退 → 状态清零(事故路径);新=视图带伤加载(坏块文本缺失,payload_json 内联 summary 兜底),下一次全量 ingest 收敛。
  • verify-sample 遇坏块行:旧=抛异常 → 每次保存失败;新=标 drift 走 heal 路径(watermark 清除 / drift latch / 升级)。

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

📦 Built Package Artifact

Branch: 2026-11-20_storage-poison-row-isolation (0fa87fc)

Latest build — install this exact version

npm install -g billion-context@0.0.11831-pr.7336.00929f2

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
0fa87fc billion-context@0.0.11831-pr.7336.00929f2 build
04399e5 billion-context@0.0.11045-pr.7336.3b3c789 build
0dc18f1 billion-context@0.0.11040-pr.7336.4c65e09 build
9d3d890 billion-context@0.0.11037-pr.7336.b302aa0 build
34da63d billion-context@0.0.11034-pr.7336.3d8c875 build
2e395a5 billion-context@0.0.11030-pr.7336.63a65df build
09d8e2d billion-context@0.0.11029-pr.7336.e7744cc build

Download artifact

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

Install instructions are refreshed on each push.

@ranxianglei ranxianglei changed the title fix: refuse unverifiable content digests and isolate unparseable rows in unified storage (#7335) [PR] fix: refuse unverifiable content digests and isolate unparseable rows in unified storage (#7335) Nov 20, 2026
@ranxianglei
ranxianglei force-pushed the 2026-11-20_storage-poison-row-isolation branch from 09d8e2d to 2e395a5 Compare November 20, 2026 04:06
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)

查重: 不重复。检索 open+closed 的 issue/PR(poison row / content digest / CAS / 坏行隔离 等关键词)无其他条目触及同一机制;open [PR] 行中只有本 PR (#7336) 指向本线程,无并行 PR。

标签: 已按 triage 打好 bug + pi + scope/storage + p1(会话被清零属数据丢失类,按 2026-10-19 裁定一律 p1;事故客户端为 pi 会话)。

状态: 评审进行中。PR 分支(2026-11-20_storage-poison-row-isolation)已检出并通读 diff,CI 在 merge ref 上运行中(test 车道 in progress)。初步判断:方向正确(写入端摘要复核 + 读取端坏行隔离,正对 #7335 的两个结构性缺口),但审出同机制的两处缺口——block 的 summary/one CAS 内容与校验器(verify-sample)的 block 行仍无隔离解析,事故失败模式对这两种行形状仍然存活。我会在本分支补上(带回归测试),然后给出完整八问评审结论。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)

评审结论

已完整评审本 PR,并在 PR 分支上补了原修复漏掉的两个缺口(commit 34da63d)。方向正确、机制成立;CI 绿 + 人工评审后可合。

验证过什么

  • 写入端(putContent 摘要复核):逐一核过所有调用方——合法调用方都对实际存储的字节做哈希(splitMediaContent / finishPlan 的 summary+one / ccr / media),无误伤路径。
  • 读取端(消息行 / 块 payload 行隔离):事故 26 行毒数据正是 message content 行,已覆盖;tailGaps 计数正确(resolveSeqs 按缺失 seq 逐条计 gap)。
  • 自愈机制:blocks 写入是权威 upsert,坏块行下次全量 ingest 重指向合成内容(收敛,无永久 drift);坏消息行 INSERT OR IGNORE 不重写,走 drift-latch 路径(已在 PR 正文披露)。

评审发现并已补的两个缺口(commit 34da63d,均已推上 PR 分支)

  1. 块内容 CAS 行(summary/one)无隔离:appendBlockContents 裸解析——坏块内容行仍会让 viewFor 抛异常,事故失败模式对该行形状仍在。现按行隔离(与 addMessages/addBlocks 同一 sink)。
  2. verify-sample 块行无隔离:BatchedViewVerification.addBlocks 裸解析 payload_json 与 summary/one——坏块行会在 verify-sample 内抛异常 → 此后每次保存都失败(事故症状 feat: persistent + namespaced sessions, multi-tenant session isolation, stream robustness #5)。现改为标 drift(保持位置对齐)。
  • 新增 2 个回归测试(在修复前 head 上均失败);storage-* 家族 326 pass / 0 fail;typecheck 干净。

残留(未修,已登记 #7335 作清单项,不另开 issue——同症状同机制)
session 行自身的 JSON(kstateJson/tailJson/metaJson 等)仍未隔离:坏 kstate = 压缩记账清零,属 fallback 语义产品决策(§7.4 人工档),建议与消息/块行相同的 degrade+loud-warn 模式,待你拍板。详见 #7335 评论。

行为变更(旧 → 新,已写入 PR 正文)

  • 归档导入:dump 内摘要与字节不符,旧=照写(毒数据落库);新=抛错、导入失败(罕见路径,与写入端哲学一致)。
  • 带坏块内容行的会话冷加载:旧=整体抛异常 → 状态清零(事故路径);新=视图带伤加载,下次全量 ingest 收敛。
  • verify-sample 遇坏块行:旧=抛异常、每次保存失败;新=标 drift 走 heal 路径。

CI:新 commit(34da63d)的 CI 在跑(旧 run 被本次 push 取消);本地 typecheck + storage 定向回归已绿。


八问

  1. 是什么问题:统一存储里一条坏数据行(CAS 哈希与字节不匹配 / JSON 解析不了)能炸掉整个会话——冷加载抛异常 → 状态清零 → 600K token 从零重压(用户侧卡死 12+ 分钟),且 sidecar verify-sample 此后每次保存都失败。
  2. 什么原因导致的:两个结构性缺口——写入端信任调用方提供的摘要、不与字节复核(旧 dev build 写入了 26 行毒数据);读取端逐行裸解析、无行级隔离(一条坏行 = 整个加载失败)。
  3. 影响范围与严重程度:只影响库中已有坏行的会话(写入端现已封死,不再产生新坏行);触发即 p1——会话状态清零重压 + 每次保存失败。
  4. 怎么修复的:写入端一律 sha256(bytes) 复核、不符即抛错回滚(拒写毒数据);读取端逐行解析、失败跳过并点名记录 + 响亮 warn,会话带伤加载(块/ref/压缩状态全保住);verify-sample 同样隔离并标 drift,走既有 heal 路径(watermark 清除 / drift latch / 升级)。
  5. 是否有回归问题:逐一审过既有行为——合法 putContent 调用方无误伤;tailGaps 计数不变;块 upsert 自愈不变;唯一行为变化是上面披露的 3 项(均有意,均为「丢不了会话」方向的 loud-fail/降级)。
  6. 是否破坏缓存:不涉及 prompt/前缀缓存;存储侧 ingest watermark 语义未变(verify-drift 路径原有的 watermark 清除语义未动)。
  7. 是否改了设计方向:未改——是既有「统一存储 + sidecar 校验」架构的补全,自愈依赖既有权威 upsert + drift-latch 机制,无转向。
  8. 是否引入了新的配置:无新 env/config/默认值。

判定:修复完整(含评审补的两个缺口)、测试钉住行为、行为变更已披露——CI 绿后建议人工评审合入(§7.4 fallback 行为变更档,合并按流程由你执行)。

@ranxianglei

Copy link
Copy Markdown
Owner Author

:写入端一律 sha256(bytes) 复核 是否有不额外做sha256的方法 这个sha256做了很多次了 重复计算

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)

直接回答:复核就是重算本身——内容哈希只能靠重算来验证(我们不存任何 proof 工件),所以「验证但不哈希」做不到;能选的只有「保证放在哪一层」。拆开说:

1. 为什么 sink 必须重算
事故 26 行毒数据正是 (hash, bytes) 不匹配——哈希与字节来自处理管线的不同点(事故中字节被截断)。#3133 的 skip(信任调用方提供的摘要)就是毒数据写入的洞:调用方摘要是不可信输入,「调用方哈希的字符串 ≠ 它存储的字符串」这类 bug,唯一能在写入时抓住的检查就是 sink 重算。它不是重复计算,它就是验证。

2. 诱人的「跳过」都不安全

  • 行已存在就跳过复核:「key H 下有行」只证明 H 下存着某些字节,不证明调用方要写的字节就是它们。buggy 调用方(正是事故形状:哈希了处理前的字符串)产生的错 key 恰好命中已有行 → 错误行的 refcount 被 bump、消息行指向不同字节 → 重载后内容与内存会话静默分叉——事故的失败模式,但从 loud 变 silent。这个场景恰好就是「buggy build 重新保存一个已有毒行的会话」,即事故本身。loud failure 是本 PR 的要点。
  • 完全信任调用方(影子存储(默认开启)每次落盘把整个会话重新序列化+哈希,大会话明显变卡;jsonWriter=off 时连防抖合并都没了 #3133 原状):下一次调用方 bug 再写毒数据。不可行。

3. 实际代价(本机实测 node crypto sha256)

  • 10KB ≈ 6µs · 100KB ≈ 52µs · 1MB ≈ 0.6ms
  • 每字节哈希次数:每条新消息 2×(planner 的 splitMediaContent + sink 的 putContent);delta 保存另有边界消息每 save 1×(ingest.ts:352 的 probe,PR 之前就存在);全量重导入 N×2×。
  • 稳态 delta 保存(1-3 条新消息):亚毫秒;600K token 会话全量重导入:几 ms。相对同一保存里的 DB 事务 + 序列化 + 视图 JSON.parse,是噪音。

4. 真正能消除双哈希的唯一安全路径:结构性单一 pair 生产者
让 (hash, bytes) 只由一个 canonical 函数产出、sink 信任 pair(回到 #3133 的形状)。热路径双哈希消失、不匹配在结构上不可能——但代价是:(a) 跨 ingest.ts/identity.ts/store.ts/mysql.ts 的接口重构,不是几行;(b) 保证从运行时检查降级为代码纪律——未来任何调用方绕过生产者内联算哈希,bug 无运行时守卫地回来;且事故「字节被截断」证明字节可以在哈希算出之后被再变换,结构保证只覆盖产出点、不覆盖写入点;(c) 归档导入路径(外部不可信 dump)仍必须在 sink 验证;(d) #3140 已经丢过一次 intern memo(被 per-request wire 重解析打败)——这条管路 churn 过。

我的推荐:保持 PR 现状(sink 一律复核),不改。 亚毫秒的代价换最强形态的保证——任何现在或未来的调用方 bug 都变成响亮的保存失败,而不是静默的存储投毒。如果你仍想消除双哈希,结构性单一生产者是唯一安全做法,我可以作为 follow-up 单独做(不阻塞本 PR)。

不决定的默认行为:PR 保持现状,等 CI 绿 + 人工评审。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[ework] CI fix verified green ✓

ranxianglei and others added 6 commits November 25, 2026 00:20
… in unified storage (#7335)

Field incident: 26 content rows of one pi session were poisoned by an
older dev build (CAS hash != stored bytes, JSON unparseable). The next
cold load threw out of LegacyViewBuilder, the legacy fallback found no
file, the state was discarded ('starting fresh') and a ~600K-token
context re-folded from scratch in 32 serial preflight summary rounds
(67-84s each) — a 12+ minute user-visible freeze.

Two structural gaps closed:
- writer (store.ts + mysql.ts putContent): caller-supplied digests are
  now verified against sha256(bytes) and a mismatch fails the save
  loudly instead of persisting a hash/bytes pair readers cannot use.
- reader (ingest.ts LegacyViewBuilder, shadow.ts): unparseable rows are
  skipped and recorded (skippedCorruptRows; tail rows counted into the
  existing tailGaps) and the load path logs which rows were dropped —
  the session loads degraded with all blocks/refs intact. The
  verify-sample verifier gets the same isolation (marks drift instead
  of failing every subsequent save).

Regression tests: tests/storage-poison-row-isolation.test.ts (poisoned
digest refused with full rollback; poisoned message row -> view loads
with tailGaps>=1 and all blocks; poisoned block payload -> view loads
with all messages).

Fixes #7335
… verify-sample (#7335)

Review follow-up on the poison-row isolation PR: two row shapes the
original fix left unisolated, both still able to abort a whole session
load or fail every save (the incident's failure modes):

- appendBlockContents (ingest.ts) parsed each block's CAS-resolved
  summary/one without isolation; a corrupt block content row aborted
  the view load (viewFor) and the resident-fields read. Now parsed per
  row with the same skip-and-record sink as addMessages/addBlocks.
  Self-heal: the blocks write path is an authoritative upsert, so the
  next full ingest re-points the row at the synthesized content
  (completeBlockContents fallback) and the drift clears.

- BatchedViewVerification.addBlocks (shadow.ts) parsed payload_json and
  the summary/one CAS strings bare; a corrupt block row threw inside
  the verify-sample and failed every subsequent save (incident symptom
  #5). Now: payload parse failure marks state drift (positional
  alignment kept), summary/one parse failure marks blockContents
  drift. Message-row isolation already landed in the original commit.

Tests: two new regression cases in storage-poison-row-isolation
(corrupt block summary CAS row -> view loads, block text missing,
fallback applies; corrupt tail message CAS row + live record ->
verify-sample marks drift instead of throwing). Both fail on the
pre-fix head. storage-* family: 326 pass / 0 fail.
…ft in the poison-row fixture (#7335)

Review follow-up on the two poison-row commits:

- The seed fixture stamped its messages with `ts`, which never rides the
  stored content bytes (#4313: ts is a dedicated column). Every
  verify-sample therefore digest-drifted on `fields: ts` regardless of
  any corruption — the message-row verify test passed for the wrong
  reason: its drift came from the fixture, not from the poisoned row it
  claims to pin. Drop the stamp so the drift assertions are anchored to
  the corruption.

- The block-row isolation added to BatchedViewVerification.addBlocks
  (payload/summary/one parse failures mark drift instead of throwing)
  had no regression test — the new test 4 pins the view-load side
  (appendBlockContents), the message-row test pins the addMessages side
  (already landed in the first commit). Add the block-row side: a
  poisoned block summary CAS body must surface as digest drift on the
  sampled read-back, not as a verify-sample throw that fails every save.

Verified: tests 4 and 6 fail on the pre-fix head (2e395a5), all six
pass on the fixed head.
…7335)

CI (windows-latest, node 22, shard 4): all five storage-poison-row tests
failed with failureType=hookFailed — EBUSY unlinking the fixture's
index.db in t.after. The bare rmSync retry budget (5x100ms) lost the
Windows AV/indexer race (#2799/#2908 family); the assertions themselves
passed. Switch the teardown to the repo-standard rmrf (tests/tmp-rm.ts)
exponential ladder, same as every other suite that leaves a fresh db
file behind.
…rder, not AV (#7335)

node:test runs t.after hooks in REGISTRATION order (FIFO), so the fixture's
hook (store.close; db.close; rmrf) ran BEFORE the test's shadow.close() in
every shadow test: rmrf deleted index.db while the shadow's sqlite
connection was still open — a deterministic EBUSY on Windows (unlink of an
open file) that the 9.6s rmrf ladder cannot out-wait, and invisible on
Linux where unlink of an open file succeeds. Test 1 (no shadow) passed;
tests 2-6 failed in both CI runs and both shards, always at the full-ladder
duration (~9.9s).

Split the teardown: the fixture hook now closes only the fixture's own
connections; each test's later-registered hook closes the shadow (if any)
and runs rmrf. FIFO order guarantees every handle is released before the
delete; rmrf keeps the exponential ladder for the genuine external
AV/indexer race (#2799/#2908 family).
…ry_bytes (#7335)

Rebasing onto master (which moved block summaries onto the inline
blocks.summary_bytes column, #7439-2) broke two poison-row tests: getBlocks
now reads COALESCE(summary_bytes, CAS), so poisoning the CAS row no longer
degrades the view or the verify-sample. Adapt the two block-content fixtures
to poison the surface each path actually reads:
- view-load: poison blocks.summary_bytes (the inline column getBlocks reads)
- verify-sample: poison the "one" CAS row (the summary is rewritten by the
  re-ingest's COALESCE(excluded, stored); the "one" content still rides the
  CAS only and survives it)
@ranxianglei
ranxianglei force-pushed the 2026-11-20_storage-poison-row-isolation branch from 04399e5 to 0fa87fc Compare November 24, 2026 16:35
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[bot] 🏷

Rebase complete — the PR now merges cleanly into master.

Branch 2026-11-20_storage-poison-row-isolation was rebased onto current master and force-pushed (new head 0fa87fc4). All conflicts resolved; the branch merges cleanly into master (verified via git merge-tree — the newest master commit 85afa7b21 touches none of the PR's files). This is the final head (no [ework:ci-held] marker), so it gets the one full CI pass.

七问

  1. 是什么问题:PR 与 master 冲突(merge state dirty),无法合并。
  2. 什么原因:master 在 PR 分支切出后前进了 ~30 个 commit,其中 新提案:egress 流水表成为会话内容唯一权威(存储解耦 + 服务端快照权威) #7439-2 给 blocks 表加了内联 summary_bytes 列、[PR] msgid delivery × snapshot plane: unified merge (absorbing #6564 + #5901 + #6680, including gate fully-open lane local ve | msgid 递送 × 快照平面:统一合并(收编 #6564 + #5901 + #6680,含 gate 全开 lane 本地验证) #6785 给 LegacyViewBuilder 加了 ccr/orphan/stateFields 字段,与 PR 改动落在同一区域(字段声明、viewFor/viewForAsync、readResidentFieldsFor)产生文本冲突。
  3. 影响范围与严重程度:仅本 PR 分支与 master 的合并冲突,不影响任何已发布行为;冲突解决后 PR 可正常合并。
  4. 怎么修复的:
    • 冲突解决(union of intent,保留双方):ingest.ts 字段声明保留 master 的 4 个字段 + PR 的 skippedCorruptRows;shadow.ts 的 viewFor/viewForAsync 保留 master 的 addCcrEntries/addOrphanViews/addStateFields 调用 + PR 的 warnCorruptSkips;readResidentFieldsFor 保留 PR 的 corruptSkips 告警 + master 的 getOrphanViews 调用。
    • 测试适配(rebase 后 2 个 poison-row 测试转红):master 的 新提案:egress 流水表成为会话内容唯一权威(存储解耦 + 服务端快照权威) #7439-2 把 block summary 移到内联 summary_bytes 列(getBlocks 读 COALESCE(summary_bytes, CAS)),原来只毒化 CAS 行不再让视图降级。适配两处 fixture 去毒化各路径实际读取的表面:view-load 毒化内联 blocks.summary_bytes;verify-sample 毒化 "one" CAS 行(summary 会被 re-ingest 的 COALESCE(excluded, stored) 重写,"one" 内容仍只走 CAS、能存活 re-ingest)。
  5. 是否有回归问题:无。冲突解决保留双方意图(不丢 master 的 [PR] msgid delivery × snapshot plane: unified merge (absorbing #6564 + #5901 + #6680, including gate fully-open lane local ve | msgid 递送 × 快照平面:统一合并(收编 #6564 + #5901 + #6680,含 gate 全开 lane 本地验证) #6785/新提案:egress 流水表成为会话内容唯一权威(存储解耦 + 服务端快照权威) #7439 字段与调用,也不丢 PR 的隔离逻辑)。本地定向验证:typecheck 干净、poison-row 6/6 绿、相关存储套件([Bug][storage] Takeover spawns before reclaim: old and new sidecars simultaneously hold index.db, causing corruption; em | [Bug][storage] 接管时先 spawn 后回收:新旧侧车同时持有 index.db 引发损坏;空 payload_json 又让历史会话静默变 0 #7156 损坏、[Bug][storage] Shadow digest drift clears ingest watermark and forces full-tail re-ingest (v0.1.201) #3919 漂移取证、fix: bound ordinary session loading and avoid full reloads for lazy fields #4739 读快照、unified shadow storage digest drift on long dsh sessions (telemetry-only) | 统一存储影子模式摘要漂移 #3407 blockContents 顺序、snapshot-shadow)全过(18 pass / 2 skip,skip 为未安装 better-sqlite3)。
  6. 是否破坏缓存:不涉及。改动只触存储视图加载/校验采样路径与测试,不动缓存/重试/增量游标/去重键。
  7. 是否改了设计方向 / 引入新配置:不涉及。无新 env/config/默认值,无架构转向;测试适配是机械性的(跟随 master 的存储模型变化),不改变产品行为。

状态:rebase 完成并已 force-push(head 0fa87fc4)。镜像缓存仍显示旧 head(04399e54,mergeable_state dirty,fetched 2026-11-23),尚未刷新到新 head,故新 head 的 CI 结论暂无法实时确认——本地定向验证已全绿,等镜像缓存刷新后 CI 跑完即可见。

@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[ework] CI fix verified green ✓

1 similar comment
@ranxianglei

Copy link
Copy Markdown
Owner Author

🤖 Powered by ework · qwen3.8-27b

[ework] CI fix verified green ✓

This branch has not been deployed

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