Repository navigation
11374 Improve cloud project open flow on error - #11678
embarc-gabriel merged 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughAfter a cloud-open error, the controller stores the results of force-open and latest-synced retries. It stops further UI changes after a successful retry or when a project is already open. If no project remains open, it closes the current window when multiple windows exist. Otherwise, it opens the home page. Priority: ➖ Normal — Impact reflects medium issue severity. Estimated code review effort: 2 (Simple) | ~10 minutes Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to Cloud-open failures now close an extra project window or return the remaining window to the home page, avoiding a stranded half-initialized project window. No current merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Warning Tools execution failed with the following error: Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error) Warning Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped 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: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 05f30724-c3ae-4632-9d2e-36b594a800d2
📥 Commits
Reviewing files that changed from the base of the PR and between 0ba74a9 and 21c5ea19e840c13135b26c24fc9c1173cf66c464.
📒 Files selected for processing (1)
src/project/internal/projectactionscontroller.cpp
83898f7 to
3725578
Compare
3725578 to
64f19ab
Compare
|
Note The previously reviewed commits are no longer reachable (likely due to a force-push or rebase), so CodeRabbit is performing a full review instead of an incremental one. This review may take a little longer. |
11374 Improve cloud project open flow on error (#11678)
Resolves: #11374
If we fail to open a cloud project in a new window we could have a dangling project pointer.
After this change, if no project is available we close the window if there is more than one project or we navigate to the home page for single window case.
Recommended:
QA: