Repository navigation
fix(watcher): show new sessions in live monitor - #216
Conversation
Initialize missing session aggregates during incremental reloads so newly created sessions appear without restarting the TUI. Signed-off-by: jimyag <git@jimyag.com>
|
Warning Review limit reached
Next review available in: 35 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughIncremental reloads now detect previously unseen conversation sessions and update the live view through a multi-session contribution for single-message and single-session strategies. New test fixtures and regression coverage verify the behavior for both strategies. ChangesIncremental session visibility
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/analyzer.rs`:
- Around line 644-648: The new-session application in src/analyzer.rs lines
644-648 and 662-666 is not reversible because it applies a
MultiSessionContribution while caching a single-message/session contribution.
Update both strategy branches to cache and later subtract contribution data
equivalent to what add_new_sessions_to_view applies, and add regression coverage
for adding then deleting a new session under both strategies.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 27bbc3ac-3ce3-4fb7-a411-939e96118cf2
📒 Files selected for processing (1)
src/analyzer.rs
Keep lightweight contributions and session metadata reversible so deleting the last source removes its live session and conversation count. Signed-off-by: jimyag <git@jimyag.com>
mike1858
left a comment
There was a problem hiding this comment.
Perfect, thank you; outstanding issue closed!
Summary
Fix the live monitor so sessions created after startup appear immediately without restarting Splitrail.
Key changes
Validation
Closes #7
Summary by CodeRabbit
Bug Fixes
Tests