Repository navigation
Conversation
|
@coderabbitai review |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the
Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d0d1b0ab-467e-46e7-9c84-341a2051c0d3
📒 Files selected for processing: 23
docs/site/content/docs/agents/native-chat.mdxmobile/src/session/use-mobile-omp-model-discovery.test.tssrc/cli/agent-launch-request.tssrc/cli/handlers/orchestration-worker-cli.test.tssrc/cli/handlers/orchestration-worker-recovery-output.test.tssrc/cli/index-agent-launch.test.tssrc/cli/specs/orchestration-worker-specs.tssrc/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.test.tssrc/renderer/src/components/native-chat/native-chat-session-option-enrichment.test.tssrc/renderer/src/lib/structured-agent-session-launch-persistence.test.tssrc/shared/agent-launch-model-preferences.tssrc/shared/agent-launch-runtime-capability.tssrc/shared/agent-session-option-catalog-omp.test.tssrc/shared/agent-session-option-catalog-omp.tssrc/shared/agent-session-option-catalog-types.tssrc/shared/agent-session-option-launch.tssrc/shared/commit-message-agent-spec.tssrc/shared/commit-message-plan.tssrc/shared/native-chat-session-option-defaults.test.tssrc/shared/native-chat-session-option-defaults.tssrc/shared/omp-model-list-probe.tssrc/shared/omp-thinking-generation.test.tssrc/shared/structured-agent-session-options.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
|
|
@coderabbitai review Please review current head 73553b1, including the correction for discussion_r4312655317 and direct mounted replay. Verification: 45 focused tests, full Windows typecheck/build, changed-code quality, and a production-module old/new-host capability smoke passed. Existing exact652 native Low/Off visual evidence is retained honestly; the followup only closes paired-host capability refusal. The generic docstring-percentage warning conflicts with this repository rule: concise non-obvious comments only. The existing docs now describe paired/replay refusal and model-only compatibility; adding boilerplate docstrings solely to raise a percentage would violate that standard and does not correct a consumer defect. Please treat that warning according to repository policy rather than requesting bulk comments. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d3506624-1ee7-4139-ad36-3e87658b5149
📒 Files selected for processing: 7
docs/site/content/docs/agents/native-chat.mdxsrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport-create-outcome-recovery.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport.tssrc/renderer/src/lib/runtime-agent-background-create.tssrc/renderer/src/runtime/remote-agent-session-launch.test.tssrc/renderer/src/runtime/remote-agent-session-launch.tssrc/renderer/src/runtime/web-runtime-terminal-create-operation.ts
🚧 Files skipped from review as they are similar to previous changes: 1
- docs/site/content/docs/agents/native-chat.mdx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
|
|
@coderabbitai review Please review actual current head dff2ad9, including discussion_r4312881225 and the same existing background/web-host operation retry boundaries. Explicit OMP thinking is checked immediately before every existing create attempt; other agents, model-only behavior and retry/deadline/fallback policy are unchanged. Verification:65 focused tests, full Windows build/typecheck,29-file changed-quality gate and standalone real production-transport/background replay smoke passed. The earlier numeric docstring warning remains non-actionable under repository concise non-obvious comments-only policy; no boilerplate source changes were made to raise a percentage. |
|
@coderabbitai review Please review actual current head8f04f20db685f419a1c937bfcb3b3f8f62253f51, completing discussion_r4312881225 across every actual retrying callback including legacy. First-attempt uncertainty remains replayable under the original operation/mutation ID; a later unsupported host is not evidence the first execution never happened. Verification:66 focused tests, full Windows build/typecheck,29-file quality gate, and standalone actual production host-authority/legacy transport smoke with real timers passed. Existing model-only/non-OMP behavior and retry/deadline/fallback policy are unchanged. |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
9a09183e-63c9-4b84-a433-b154b2aeb04e
📒 Files selected for processing: 6
docs/site/content/docs/agents/native-chat.mdxsrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport-create-outcome-recovery.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport.tssrc/renderer/src/lib/runtime-agent-background-create.tssrc/renderer/src/runtime/web-runtime-session-terminal-host-authority.test.tssrc/renderer/src/runtime/web-runtime-terminal-create-operation.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
|
@coderabbitai review Please review actual current head659942877e7d18eb50bec95eee7039276f7b7c72 for discussion_r4313153486. Per-attempt capability probes remain before every existing create callback, but uncertain-create bookkeeping starts only immediately before actual lower create/ensure dispatch. Zero-dispatch preflight failures do not invent uncertain creation; genuinely dispatched original operations remain replayable under the same identity.68 focused tests, full Windows build/typecheck,29-file quality and standalone actual production transport real-timer preflight smoke passed. No new retry/fallback/deadline/default or wire change. |
|
|
@coderabbitai full review Current head659942877e7d18eb50bec95eee7039276f7b7c72 has a clean incremental verdict, but the recent review lists remote-runtime-pty-transport.ts as skipped because it is similar to previous changes. Please fully inspect that actual production file at the current head, including per-attempt thinking guards, create-start marker placement after preflight, zero-create failures, and preservation of genuine earlier-unknown replay identity, and confirm any remaining actionable findings. No additional source change is proposed;68 focused tests, actual production real-timer smoke and full Windows build/typecheck passed. |
✅ Action performedFull review finished. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
682fbf23-6a45-4852-aee3-a6e6eb059d98
📒 Files selected for processing: 30
docs/site/content/docs/agents/native-chat.mdxmobile/src/session/use-mobile-omp-model-discovery.test.tssrc/cli/agent-launch-request.tssrc/cli/handlers/orchestration-worker-cli.test.tssrc/cli/handlers/orchestration-worker-recovery-output.test.tssrc/cli/index-agent-launch.test.tssrc/cli/specs/orchestration-worker-specs.tssrc/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.test.tssrc/renderer/src/components/native-chat/native-chat-session-option-enrichment.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport-create-outcome-recovery.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport.tssrc/renderer/src/lib/runtime-agent-background-create.tssrc/renderer/src/lib/structured-agent-session-launch-persistence.test.tssrc/renderer/src/runtime/remote-agent-session-launch.test.tssrc/renderer/src/runtime/remote-agent-session-launch.tssrc/renderer/src/runtime/web-runtime-session-terminal-host-authority.test.tssrc/renderer/src/runtime/web-runtime-terminal-create-operation.tssrc/shared/agent-launch-model-preferences.tssrc/shared/agent-launch-runtime-capability.tssrc/shared/agent-session-option-catalog-omp.test.tssrc/shared/agent-session-option-catalog-omp.tssrc/shared/agent-session-option-catalog-types.tssrc/shared/agent-session-option-launch.tssrc/shared/commit-message-agent-spec.tssrc/shared/commit-message-plan.tssrc/shared/native-chat-session-option-defaults.test.tssrc/shared/native-chat-session-option-defaults.tssrc/shared/omp-model-list-probe.tssrc/shared/omp-thinking-generation.test.tssrc/shared/structured-agent-session-options.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
|
@coderabbitai full review Please perform the unskipped full review at latest head037994d97a, including actual promptless prepared-command preservation and existing guarded create/replay invariants. The full659 review finding4313471753 is fixed minimally; no other source or default/retry policy changes. |
✅ Action performedFull review finished. |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
838f8d79-105b-4c5c-b801-36c8936175e6
📒 Files selected for processing: 31
docs/site/content/docs/agents/native-chat.mdxmobile/src/session/use-mobile-omp-model-discovery.test.tssrc/cli/agent-launch-request.tssrc/cli/handlers/orchestration-worker-cli.test.tssrc/cli/handlers/orchestration-worker-recovery-output.test.tssrc/cli/index-agent-launch.test.tssrc/cli/specs/orchestration-worker-specs.tssrc/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.test.tssrc/renderer/src/components/native-chat/native-chat-session-option-enrichment.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport-create-outcome-recovery.test.tssrc/renderer/src/components/terminal-pane/remote-runtime-pty-transport.tssrc/renderer/src/lib/launch-agent-web-host-tab.tssrc/renderer/src/lib/runtime-agent-background-create.tssrc/renderer/src/lib/structured-agent-session-launch-persistence.test.tssrc/renderer/src/runtime/remote-agent-session-launch.test.tssrc/renderer/src/runtime/remote-agent-session-launch.tssrc/renderer/src/runtime/web-runtime-session-terminal-host-authority.test.tssrc/renderer/src/runtime/web-runtime-terminal-create-operation.tssrc/shared/agent-launch-model-preferences.tssrc/shared/agent-launch-runtime-capability.tssrc/shared/agent-session-option-catalog-omp.test.tssrc/shared/agent-session-option-catalog-omp.tssrc/shared/agent-session-option-catalog-types.tssrc/shared/agent-session-option-launch.tssrc/shared/commit-message-agent-spec.tssrc/shared/commit-message-plan.tssrc/shared/native-chat-session-option-defaults.test.tssrc/shared/native-chat-session-option-defaults.tssrc/shared/omp-model-list-probe.tssrc/shared/omp-thinking-generation.test.tssrc/shared/structured-agent-session-options.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.
|
@coderabbitai full review Please fully review latest d4379a8, including complete existing prepared-plan metadata and unchanged authority selection, plus the guarded uncertain-create/replay invariants. Actual full037 finding4313750637 corrected; no new planner, fallback/default/retry policy or scope added. |
✅ Action performedFull review finished. |
|
@coderabbitai review Updated to current main ( |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
🧹 Nitpick comments: 1
src/renderer/src/lib/launch-agent-in-new-tab-web-runtime.test.ts: 1
101-108: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winRestore caller-level coverage for prepared host-launch arguments.
launchAgentInNewTabprepares the command, environment, launch configuration, and prompt-delivery fields before callinglaunchAgentInWebHostTab. The remaining caller tests check only the result and a few routing fields. The runtime tests callcreateWebRuntimeSessionTerminaldirectly. A caller regression that drops the prepared fields can therefore pass.Suggested fix
+ it('forwards prepared prompt launch data to the host runtime', async () => { + store.settings.agentDefaultArgs = { codex: '--model gpt-5 --reasoning-effort high' } + store.settings.agentDefaultEnv = { codex: { CODEX_PROFILE: 'captured' } } + const { launchAgentInNewTab } = await import('./launch-agent-in-new-tab') + + launchAgentInNewTab({ + requestId: 'request-2', + agent: 'codex', + worktreeId: 'wt-1', + prompt: 'fix the spinner', + groupId: 'group-1' + }) + + expect(mocks.createWebRuntimeSessionTerminal).toHaveBeenCalledWith( + { + worktreeId: 'wt-1', + environmentId: 'web-runtime', + targetGroupId: 'group-1', + activate: true, + agentSessionKind: 'fresh', + launchAgent: 'codex', + command: "codex '--model' 'gpt-5' '--reasoning-effort' 'high' 'fix the spinner'", + env: { CODEX_PROFILE: 'captured' }, + launchConfig: { + agentCommand: "codex '--model' 'gpt-5' '--reasoning-effort' 'high'", + agentArgs: '--model gpt-5 --reasoning-effort high', + agentEnv: { CODEX_PROFILE: 'captured' } + }, + startupCommandDelivery: 'shell-ready', + prompt: 'fix the spinner', + promptDelivery: 'auto-submit', + viewMode: 'terminal' + }, + { notifyFailure: false } + ) + })
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a8561729-f026-41c9-bcab-237fcf528838
📒 Files selected for processing: 9
src/main/agent-hooks/server/server-status-application.tssrc/main/agent-hooks/server/server-status-update.tssrc/main/daemon/pty-subprocess-spawn-file-foreground.test.tssrc/main/daemon/terminal-host-process-inspection.test.tssrc/main/github/github-remote-identity-parsing.test.tssrc/main/providers/local-pty-child-process-verdict.test.tssrc/main/providers/local-pty-provider-foreground-process.test.tssrc/renderer/src/components/terminal-pane/remote-pane-layout-push.tssrc/renderer/src/lib/launch-agent-in-new-tab-web-runtime.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
|
@coderabbitai review Removed the eight unrelated formatting edits in Caller coverage already exists in |
✅ Action performedReview finished.
|
|
@coderabbitai full review Please review final Please also reassess the remaining caller-coverage nit: the cited real regression invokes |
✅ Action performedFull review finished. |
ELI5
OMP workers could accept a thinking preference but leave it out of the actual launch. Orca now passes the requested setting to OMP, including Off and Auto; leaving it unset still uses your OMP configuration.
What Changed
--effortto native--thinking, preserving Off, literal Auto and opaque model selectors.Why
A native thinking policy is not always an effort tier. Keeping omission, Off and Auto distinct avoids silently changing the user's configuration or acknowledging a preference the host drops. This reuses the existing option and launch paths rather than adding another setting store.
Linked Issue
Fixes #23388
Overlap: PR28438 handles ordinary effort mapping; PR29798 adds native discovery. Both remain open. This candidate retains the gap around configured-default omission and explicit Off/Auto; it does not copy either PR or add another discovery path.
Visual Proof
Both launches requested Off, with OMP's configured default set to Low. Windows before:
51530bb; after:652a8a4.Before — request ignored
After — request honored
Actual native policy rows captured with OMP still running, not after returning to the shell. No completed model turn or per-turn Auto classification is claimed.
Testing
652a8a4, the rebuilt Windows app and worker CLI checked unset, Off, Auto and explicit argument precedence; the native-alive Low/Off images above retain that exact revision.cb490bd: Linux full lint, typecheck, changed-code quality and all four canonicalpnpm testshards passed: run.cb490bdon Windows: 113 focused tests, full build/typecheck and changed-code quality passed. Production-planner smoke preserved unset, Off, Auto and explicit argument precedence. Earlierd4379a8production-graph smokes covered host refusal/replay/preflight and prepared command/environment/resume/native delivery with controlled RPC; no live SSH or inference claim.652a8a4checks passed 188 focused root tests and 8 focused mobile tests. Intermediate037994dLinux failed one obsolete exact-object mock assertion; that assertion and duplicate forwarding-only test were deleted, not repinned or hidden by changing runtime behavior.AI Disclosure
Implementation, integration and final review: OpenAI Codex GPT-6.1 Sol. Earlier independent review also used Claude Fable 5.1. Checks were agent-run, not human testing.
Review
Agent skill upstream boundary
Notes
No dependency or release-version changes.
Author
GitHub: @NarryG. X: @NarryOnTheNet.
Checklist