feat(ot)!: refactor ot to prepare for tracking operations per-session - #515
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughRefactors ChangesOpTracker render-agnostic refactor with indicatif shim
Sequence Diagram(s)sequenceDiagram
participant CLI as run_cli
participant OT as OpTracker
participant Shim as IndicatifShim
participant CB as ConfigBuilder
CLI->>OT: new_root()
CLI->>Shim: render_to_stderr(ot_root) — spawns async task
CLI->>CB: with_operation_tracker(ot_root)
rect rgba(100, 150, 255, 0.5)
note over Shim,OT: Async render loop
loop on each mutation
OT-->>Shim: changed() wakes
Shim->>OT: version(), snapshot()
OT-->>Shim: Vec<OpSnapshot>
Shim->>Shim: reconcile bars (add/update/rebuild/clear)
end
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
|
This pull request has no accompanying spec. Comment |
Refactors the operations tracker to:
A future PR can chain this up to minimald sessions and print progress down the ssh channel.
Summary by CodeRabbit
New Features
Chores