Repository navigation
feat: bound many-shard lifecycle queries with private scratch storage - #231
Conversation
|
最终冻结树654b156bf7ed20e98ec7fd5c6ed6ef4e4d3fb82f本地验收完成:全套含slow及本轮wheel验收2198 passed / 2 intentional skips(不支持slice leak的参数组合);branch coverage92.73%,critical92/90/85%全过,scratch模块98%。构建/审计、独立安装CLI/API、Ruff/Black和typecheck0errors通过;1630warnings中新增83项为已复核的非阻断标注债。 规模实测(同一512MiB派生main页限额、默认fetched预算,查询实验deadline300s):
840项同树独立差分、真实源写拒绝、磁盘页限额/FULL/I/O/timeout清理和源hash不变通过。512MiB只承诺派生main页限额,journal/sort和RSS仍另有开销;任意更大数据仍可正确预算失败。最终exact-head CI另行等待,PR保留草稿。 |
|
精确最终head a5298ea 已通过完整CI(全部6 jobs):https://github.com/codeasier/pt-snap-cli/actions/runs/38063116328 。本地2198项与安装wheel/规模/独立复核证据如上一评论。PR仍为草稿,保留#230合入依赖,等待顺序合入决定。 |
|
After #230 was squash-merged, reconciled ancestry using a fast-forward dual-parent commit f7b61c0. Its tree remains exactly the tested 654b156bf7ed20e98ec7fd5c6ed6ef4e4d3fb82f; no source content changed. The new main parent has exactly the former #230 head tree. GitHub now reports the PR mergeable. Final local results supersede the earlier pending full-suite status: 2198 passed / 2 intentional skips, 92.73% coverage; the 6M-event scale checks and 840 independent semantic differential cases passed. Original exact-head CI 38063116328 passed all six jobs. Fresh exact-head CI for the ancestry-only commit is running: https://github.com/codeasier/pt-snap-cli/actions/runs/38065401174 . Merge will wait for it. This is partial work for #218, which remains open. The scratch page cap is not a total disk/RSS cap, and crash cleanup is not guaranteed. |
|
Squash-merged as c467aee. The final main tree is verified as 654b156bf7ed20e98ec7fd5c6ed6ef4e4d3fb82f, exactly the frozen tested tree. Before merge, fresh exact-head CI 38065401174 completed successfully with all six jobs passing. The preceding #230 main push CI 38065366192 also completed successfully with all six jobs passing. Final main push CI is being monitored. #218 remains open for its remaining scope. |
依赖与范围
Stacked on #230。Related to #218,不自动关闭其全部剩余范围。
超过实际 SQLite ATTACH 上限时,使用一次查询私有的磁盘 SQLite 窄表归约 refs 与 lifecycle state,源分片始终只读并逐个挂载。<=cap 的既有快路径保留。证明、生命周期归并及冲突检测在过滤/分页前完成,最终仅取回有界结果,保留 source hydration、scope/NULL/free/tie 等语义。
当前验证
最终tree654b156bf7ed20e98ec7fd5c6ed6ef4e4d3fb82f已冻结。
当前为草稿;合入前还需最终完整本地证据与exact-head CI。