Repository navigation
Conversation
|
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
Merge Risk:
|
1b4a60d to
b5230c0
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
|
Rebased onto current Head is now Regression: |
b5230c0 to
764d8dd
Compare
Sync update (
|
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
764d8dd to
abc6e43
Compare
Sync update (
|
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
abc6e43 to
e05d2fc
Compare
Sync update (
|
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Greptile SummaryThis PR preserves completion metadata when stale agent activity is demoted for remote session-tab publication, allowing paired and mobile clients to display the last assistant message without restoring a stale working indicator.
Confidence Score: 5/5The PR appears safe to merge, with the focused projection change preserving completion metadata while maintaining stale working-state suppression. The retained fields are valid members of the normalized done-state payload, and the existing demotion behavior for state, prompt, and terminal-title ownership remains intact with regression coverage.
|
| Filename | Overview |
|---|---|
| src/main/runtime/orca-runtime.ts | Preserves bounded completion metadata in the remote/mobile demotion branch while retaining the existing stale-activity suppression behavior. |
| src/main/runtime/orca-runtime.test.ts | Adds focused coverage showing that the message and interrupt flag survive demotion while the spinner, prompt, and title ownership remain suppressed. |
Reviews (1): Last reviewed commit: "fix(runtime): keep lastAssistantMessage ..." | Re-trigger Greptile
Paired clients mirror the mobile/session terminal projection. Demoting a stale working status under a neutral title dropped lastAssistantMessage, so remote workspace cards lost the completion subtitle that local cards still show from the in-process hook row. Fixes stablyai#9914
e05d2fc to
ddb72e7
Compare
…te-workspace-last-message-subtitle
Mid-turn hook snapshots carry tool stdout as lastAssistantMessage; a shell or idle title must not surface that as the final reply.
|
Maintainer follow-up (824d4ff, merged current main):
|
Paired workspace cards can lose the last assistant reply when a title update rebuilds completed agent status. The host still has the reply, but the paired client receives a status without the completion subtitle.
Preserve the existing completion message and its tool-output classification in both demotion paths. Title-only reconstruction retains that text and the interruption verdict only for completed status, so new working/blocked title intervals cannot replay older replies. State, prompt clearing, title ownership, and provider-session checks keep their existing behavior. The completed projection lives in the existing status module to keep the session projection within the lint file budget.
Fixes #9914. Original contribution by @innocarpe is retained in the branch history.
Validation: 73 focused tests across eight runtime suites, three production mobile-preview boundary checks, full Node TypeScript, all changed-code quality gates, base lint, anti-slop lint, formatting, and diff check passed. Independent review is LOW at
1f75bb02c107dd377e25c3f299b88e54b4d9e161; a fresh owner repeat passed afterward.A real Claude Code conversation in a folder project reproduced the missing reply on untouched main before adoption. Actual paired Electron apps over the production transport then verified the fix, with the client still on main. The fresh post-review completion reaches the paired card as done with its prompt cleared and exact reply retained. Both apps ran hidden and unfocused. Separate mobile-device rendering and Linux/Windows native execution were not exercised locally.
Before — clean main on host and client: the local card retains the reply while the paired card shows
Before - Claude.After — reviewed host and client still on main: a fresh real completion renders
OK-9930-1029in the paired subtitle with a done indicator.