DOC-FULL-024 P0 | EventBuffer ack 测试 【status:todo】 #77
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
push→export→ack→clear→export again→mark failed→retry,ack后不重复导出,未ack不丢失
M-DOC-FULL 里程碑 issue。详见设计文档。
DOC-FULL-024 P0 | EventBuffer ack 测试to DOC-FULL-024 P0 | EventBuffer ack 测试 【status:todo】审查结论:document runtime 当前有文件类型识别/MaterialType/PreviewMode/DocumentInfo(基本)/Markdown解析/Text解析/ImageMeta/Search(V1 Markdown+Text)/NoteAnchor(V1)/ReadingEvent(V1)/ReadingPosition(V1)/EventBuffer(V1基础)/iOS构建/UniFFI绑定/docs。但 V2 核心模型(ReadingSession/EventV2/ActiveTimeTracker)不存在,EventBuffer 缺 ack/failed,Position 缺 camelCase+clamp,PDF/EPUB/Office 为 stub,测试覆盖不足 V2。
本 Issue: ack 机制不存在 → 无测试。
状态: status:todo
工作类型: work:test
完成报告
改动文件
crates/zx_document_core/src/events_v2.rs— 新增 2 个 buffer 生命周期测试现有覆盖
test_export_ack_flow— export→ack→验证不重复导出test_mark_failed_and_retry— mark_failed→retry export→acktest_ack_nonexistent_no_crash— 边界 casetest_buffer_size_not_exceeded— 溢出驱逐新增测试(2 个)
test_full_buffer_lifecycletest_buffer_limit_export代码证据
验证