Repository navigation
fix(web): preserve paired runtime ownership - #9776
Conversation
|
Warning Review limit reached
Next review available in: 11 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: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughWeb runtime persistence now tracks compatible environment IDs, validates stored data, rejects stale responses, and preserves runtime ownership on repository and worktree results. Workspace port scanning uses a shared validated client with explicit unsupported responses for browser-local workspaces. Pairing tests cover reverse-proxy endpoints with ports and paths. Additional tests cover runtime isolation, cache invalidation, detected worktrees, direct/proxied connections, and runtime-owned file deletion. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
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
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: ec98f99c-b7c5-4c60-844c-493b3825fffb
📥 Commits
Reviewing files that changed from the base of the PR and between f1c84d3 and 45260a752210e8ba4ffba0876bcb898594e6ec51.
📒 Files selected for processing (13)
mobile/src/transport/pairing.test.tssrc/renderer/src/components/ports/WorkspacePortScanner.test.tsxsrc/renderer/src/lib/workspace-port-actions.tssrc/renderer/src/lib/workspace-port-scan-client.tssrc/renderer/src/runtime/file-explorer-delete-owner-provenance.test.tssrc/renderer/src/web/WebConnect.tsxsrc/renderer/src/web/main.tsxsrc/renderer/src/web/web-pairing.test.tssrc/renderer/src/web/web-preload-api.test.tssrc/renderer/src/web/web-preload-api.tssrc/renderer/src/web/web-runtime-direct-proxy-live.integration.test.tssrc/renderer/src/web/web-runtime-environment.tssrc/shared/pairing.test.ts
45260a7 to
5960669
Compare
* fix(web): preserve paired runtime ownership * fix(web): validate runtime port scan payloads --------- Co-authored-by: OrcaWin <[email protected]>
Summary
unavailableReasonhandlingThis addresses the immediate reproducible ownership and renderer-crash portions of #9760 and #9047. It intentionally avoids the global active-runtime fallback proposed in #9090/#9147 because that can route server A's worktree through server B.
Investigation matrix
localunavailableReasoncrashVerification
git diff --checkws://and TLS reverse proxywss://.../orca/runtimeScope notes