Harden GUI smoke regressions#263
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR updates tmux session recovery, heartbeat transport selection, URL-based tab routing, and several agent-related UI and logging behaviors. ChangesTmux Session Resilience
Heartbeat Native EventSource Transport
URL-Search-Param-Driven Tab Navigation
Agent Lifecycle, Refresh, and UI Feedback
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
app/app/(main)/(tabs)/(threads)/threads.tsxESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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 `@app/app/`(main)/_layout.tsx:
- Around line 58-66: Update the project-scope detection so root dashboard detail
routes are included, not just the exact "/" path. In the path-matching logic
used by isProjectScopedPath() and the PROJECT_SCOPED_PATH_PREFIXES list, add the
dashboard detail prefixes for /agent and /service so the URL-sync effect runs on
those screens. Keep the change aligned with the existing routing helpers in
_layout.tsx and the related URL-sync code that relies on the project-scoped
check.
In `@app/lib/heartbeat.ts`:
- Around line 82-89: The EventSource selection in heartbeat setup should avoid
the native browser transport whenever an authorization token is present, since
`window.EventSource` cannot send auth headers. Update the logic in the heartbeat
flow around `getNativeBrowserEventSource` and the `es` initialization so the
native `EventSource` is used only for unauthenticated connections, and
authenticated SSE continues through `EventSourcePolyfill` with headers.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: a9339a5c-b2f1-404f-8533-3b3510e966fa
📒 Files selected for processing (19)
app/app/(main)/(tabs)/(inbox)/notifications/index.tsxapp/app/(main)/(tabs)/(threads)/threads.tsxapp/app/(main)/_layout.tsxapp/components/MobileTabBar.tsxapp/components/ProjectSidebar.tsxapp/components/agent-actions.tsxapp/components/agent-create-panel.tsxapp/components/screens/AgentChatScreen.tsxapp/components/worktree-management-panel.tsxapp/lib/agent-lifecycle.test.tsapp/lib/agent-lifecycle.tsapp/lib/heartbeat.test.tsapp/lib/heartbeat.tsapp/lib/main-tabs.tsapp/lib/view-location.test.tsapp/lib/view-location.tsapp/stores/projectViews.test.tssrc/tmux/runtime-manager.test.tssrc/tmux/runtime-manager.ts
💤 Files with no reviewable changes (1)
- app/components/worktree-management-panel.tsx
Summary
Verification
Summary by CodeRabbit