Commit 2ef4280
committed
fix(codebuff): stat-only scheduling fingerprint for incremental sync
Added Codebuff case to discoveredFileEffectiveMtime that computes a
stat-only composite mtime across all three files (chat-messages.json,
run-state.json, chat-meta.json) instead of using the full content-
hashing fingerprint. This reduces background I/O for unchanged sessions
from O(N) file reads to O(1) stat checks during incremental sync cutoff
filtering.1 parent cff9854 commit 2ef4280
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5309 | 5309 | | |
5310 | 5310 | | |
5311 | 5311 | | |
| 5312 | + | |
| 5313 | + | |
| 5314 | + | |
| 5315 | + | |
| 5316 | + | |
| 5317 | + | |
| 5318 | + | |
| 5319 | + | |
| 5320 | + | |
| 5321 | + | |
| 5322 | + | |
| 5323 | + | |
| 5324 | + | |
| 5325 | + | |
| 5326 | + | |
| 5327 | + | |
| 5328 | + | |
| 5329 | + | |
| 5330 | + | |
| 5331 | + | |
| 5332 | + | |
| 5333 | + | |
| 5334 | + | |
| 5335 | + | |
| 5336 | + | |
| 5337 | + | |
5312 | 5338 | | |
5313 | 5339 | | |
5314 | 5340 | | |
| |||
0 commit comments