fix(panel): correct cluster mode detection and error surfacing - #114
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
Warning Review limit reached
Next review available in: 40 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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 (1)
📝 WalkthroughWalkthroughChangesCluster state detection
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant index
participant client.health
participant client.cluster_status
participant client.cluster_streams
participant template
index->>client.health: probe cluster health
client.health-->>index: enabled, standalone, or unknown
index->>client.cluster_status: resolve unknown state
client.cluster_status-->>index: explicit enabled state
index->>client.cluster_streams: fetch streams when enabled
client.cluster_streams-->>index: return stream data or error
index->>template: render navigation and cluster state
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Panel Integration builds librtmp2-server from source; main still ships glibc+gcompat (exit 127). Point at #151 until musl stages merge, then revert to main. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
|



Summary
/clusterenabled(not via successfulcluster_streams, which standalone also serves).list_streamsfailure, resolve cluster via health so confirmed standalone hides Cluster nav.cluster_statuserrors on/clusterinstead of silently rendering standalone.Companion server PR: OpenRTMP/librtmp2-server#151
Test plan
tests/test_cluster_ui.pyNeed help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit