Repository navigation
[PR] feat: windowed render source (D5-5) + view-domain judge tailStart (#4241 teeth regression) - #4584
Merged
ranxianglei merged 1 commit intoOct 24, 2026
Conversation
regression) - store: messageIdRows (seq+msg_id, no bytes) + uncoveredRows(intervals) — covered rows' bytes are never read, so covered-row corruption can no longer degrade a live render - snapshot-render buildView: block anchoring switches to the msg_id column, two-phase load (light rows for anchoring/chain, bytes only for uncovered), full-load fallback on the race window - judge: snapshotRenderTailStart now records the VIEW-domain tail start (view rows - tail count) — the judge indexes judgeBaseline (the rendered view) with it; the client-domain join could point past the view's end and the judge validated nothing (vacuous clean — blinded the #4241 teeth after the T1-consolidation train) - tests: d5-5-render-window (zero full loads + covered corruption tolerated + outbound complete) + issue4241 teeth now drops the last client tail row (exitCores.length - 2, the trailing nudge occupies the final wire slot)
This was referenced Oct 24, 2026
Merged
Owner
Author
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.
内容(用户批的三件套之 2,叠在 #4575 上)
D5-5 渲染源窗口化(storage-review 唯一性能硬卡)
buildView原路每渲染请求全表加载正史行 + 每行媒体水合(数万行会话 = 每轮 O(全史) 读放大)。messageIdRows(seq+msg_id 列,无字节,全行 — 驱动块锚定+接缝链)+uncoveredRows(intervals)(只取覆盖区间外的行字节;covered 字节永不读)。msg_id列匹配(同值,零语义变化);两查询间隙新行 → 一次全量回退兜底。row-unparsable整轮回 legacy。判官 tailStart 视图域修复(master 回归)
snapshotRenderTailStart原记客户端域下标(clientJoin),判官却拿它索引judgeBaseline(渲染视图)。视图前缀压缩后 clientJoin 可指向视图末尾之外 → 判官空转(total=0 空转 clean)。merged.length - tailCount);牙齿测试改注尾巴行(exitCores.length - 2— 引擎尾随 nudge 占末位):渲染前缀豁免是 Egress Judge false positive on Snapshot Render Lane I2: prefix comparison baseline needs to be aware of the render view | 出站判官对快照渲染车道误报 I2:前缀比对基准需要感知渲染视图 #4241 设计内,尾巴行丢失必须开火。打桩
tests/d5-5-render-window.test.ts(先红后绿):T1 渲染轮unifiedTailViewRows零调用 / T2 covered 行腐败→渲染不降级(出站完整含锚+尾巴) / T3 renderTurns≥1。issue4241牙齿改尾巴行后 1/1(修复前 master 红,bisect+probe 三向取证)。验证
d5-5 1/1 + issue4241 1/1 + snapshot-render 12 + snapshot-shadow 5 + storage-unified 14 + storage-corpus 9 + full-flip 10 + incremental-lane 24 + msgid-lane-flow 5 + seq-interval-lane 1 + plugin-fork 49 + issue3250 5 + media-cas 3 全绿;tsc 0;探针已清(master-check 同步清理)。
kernel-change: none(纯 host
src/)