Commit 1a55c49
fix: review findings — persist applyAttributedOp entries to recoverable OT log
applyAttributedOp appended to the in-memory opLog but never called
useOtLogStore.append(), so reconnecting agents read an empty persisted
log and session recovery was dead. Now persist each logEntry to
useOtLogStore after the set().
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 68eaa74 commit 1a55c49
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
390 | 394 | | |
391 | 395 | | |
392 | 396 | | |
| |||
0 commit comments