This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
决策
回放 seek 使用“最近 inclusive 快照 + 增量事件静默重放”的策略。所有入口必须统一调用
ReplayScheduler.seek(targetTimeMs),禁止各组件自行实现 seek。备选方案
理由
最新方案明确快照的
eventSeq是 inclusive,表示已包含所有seq <= eventSeq的事件;增量事件按(timestampMs, seq)应用。Replay.io、Codecast/RecDev 调研也说明长录制不能依赖从头重放。影响
录制端必须生成初始快照、周期快照和语义快照。回放端 seek 需要 clamp 时间、处理缺失/损坏快照 warning、重算短生命周期 UI,并维护
lastAppliedSeq。All reactions