No actionable comments were generated in the recent review.
External image Recent review info
-
External image Run configuration
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: maria/takeover-pr-22802
- File: .coderabbit.config.ts
- Commit: bbeca01
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4e0f11c5-907d-4af0-b6b7-863e9ae652db
External image Commits
Reviewing files that changed from the base of the PR and between 42f0b3c630569e0a2d81e05791291854219ecd53 and bbeca01a811638f442af335161f4f3c4add0b935.
External image Files selected for processing: 7
apps/mobile/src/features/threads/ThreadQueueControl.tsxapps/mobile/src/features/threads/threadQueueControlPresentation.tsapps/server/src/orchestration-v2/CommandPolicy.tsapps/server/src/orchestration-v2/Orchestrator.tsapps/web/src/components/chat/QueuedRunsControl.browser.test.tsxapps/web/src/components/chat/QueuedRunsControl.tsxpackages/contracts/src/orchestrationV2.ts
External image Files with no reviewable changes: 1
- apps/server/src/orchestration-v2/CommandPolicy.ts
External image Files skipped from review as they are similar to previous changes: 1
- apps/mobile/src/features/threads/ThreadQueueControl.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Walkthrough
Shared contracts define when queued commands cannot be steered. Client queue state derives these rejection reasons, and web and mobile controls use them to select eligible runs and present rejection details. Server steer validation uses the shared rules.
Changes: Queued-run steering
Layer / File(s) Summary Shared rejection rules and server validation
packages/contracts/src/orchestrationV2.ts,packages/contracts/src/orchestrationV2.test.ts,apps/server/src/orchestration-v2/CommandPolicy.ts,apps/server/src/orchestration-v2/Orchestrator.ts,apps/server/src/orchestration-v2/RestartContinuation.tsContracts add rejection checks for standalone /goal,/compact, and/logoutcommands. Server steer dispatch uses the shared rejection helper, and server imports use the shared maintenance-command classifier.Queue state and web steering controls
packages/client-runtime/src/state/threadWorkflows.ts,packages/client-runtime/src/state/threadWorkflows.test.ts,apps/web/src/components/chat/QueuedRunsControl.tsx,apps/web/src/components/chat/QueuedRunsControl.browser.test.tsxQueue state derives and stores each run’s rejection reason. Web controls select an eligible run, disable rejected steer actions, and display the rejection reason. Tests cover selection and command dispatch. Mobile queue controls
apps/mobile/src/features/threads/ThreadQueueControl.tsx,apps/mobile/src/features/threads/threadQueueControlPresentation.ts,apps/mobile/src/features/threads/threadQueueControlPresentation.test.tsMobile controls pass rejection reasons into row-control resolution, prevent rejected runs from being sent when steering is required, and display the reason in menu and accessibility text. Tests cover sendability and row states. Priority: External image Normal
Estimated code review effort: 3 (Moderate) | ~25 minutes
Change: Bug fix
Possibly related issues
- pingdotgg/t3code#24137 — The change applies a shared rejection rule to standalone
/compactcommands in client steering controls.
Suggested labels:
bugfixSuggested reviewers:
t3dotgg- pingdotgg/t3code#24137 — The change applies a shared rejection rule to standalone
Merge Risk: External image Minimal · up to bbeca
No blocking issue was identified; the change is ready to merge after normal checks.
Pre-merge checks: Passed 4
Check name Status Explanation Title check Passed The title "fix(clients): disable steering for queued standalone commands" follows conventional commit style and names the main change. The changeset disables Steer for queued /goal, /compact, and /log… Linked Issues check Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request. Description check Passed The pull request description includes all required sections: Problem, Change, Scope and approval, and Verification. It provides expected behavior, implementation details, approval references, focused … Full details: Title check
Explanation
The title "fix(clients): disable steering for queued standalone commands" follows conventional commit style and names the main change. The changeset disables Steer for queued /goal, /compact, and /logout commands in web and mobile, and makes the web shortcut skip rejected rows. The title is specific and matches the objectives and file changes. "Standalone commands" is slightly less precise than naming the command types, but it does not mislead.
Full details: Description check
Explanation
The pull request description includes all required sections: Problem, Change, Scope and approval, and Verification. It provides expected behavior, implementation details, approval references, focused test results, manual UI verification, screenshots, known coverage limits, and the agent model and harness.
Finishing Touches
📝 Generate docstrings
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.