Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
🚧 Files skipped from review as they are similar to previous changes (6)
📝 WalkthroughWalkthroughThe change adds native Pi/OMP title detection for working, permission, and idle states, including wrapped terminal titles. Native detection runs before synthetic and general title detection. The main process now stops synthetic title spinners for pane-scoped status-clear events. Connection-scoped clears do not stop spinners. Tests cover title parsing, renderer/main parity, and spinner cleanup behavior. Mergeability Score: ⚪ Minimal · up to The change updates native title status handling and spinner cleanup with focused regression coverage and runtime validation; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
5912ed8 to
5981a64
Compare
|
This is effectively P0 for the Windows + WSL OMP workflow. OMP 17.3.0 contains Grok fixes we need, but it retains the static ConPTY title states that this PR handles. Upgrading before this Orca fix makes live agent status unreliable: the working state can disappear or the workspace spinner can remain stuck after a turn completes. That leaves us pinned to an older OMP build and unable to use the newer Grok support in the normal Orca workflow. The implementation is narrowly scoped, reproduced, and already has focused regression coverage. Could this please be prioritized for review, merge, and the next stable release? |
f0126f8 to
8adb994
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. |
|
Related OMP lifecycle work has now appeared in #14279 and #14330 (tracking #14278). They confirm a second cause of the same user-visible stuck-working symptom: Orca's generated OMP extension can wait forever for This PR remains complementary and non-duplicative:
I added reciprocal comments on both newer PRs so these changes can be evaluated together rather than as competing fixes. |
|
Completing the cross-link: #13923 is the competing implementation for the same #13890 WSL/ConPTY native-title and stale-spinner bug addressed here. The related OMP lifecycle pair remains #14279 / #14330 for #14278 ( |
8adb994 to
d2ed811
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. |
|
#13923 is the implementation to land for #13890. It is now rebased on current This PR is incomplete for the same bug:
#13923 owns those contracts: shared first-marker opaque parser, |
Summary
working,idle, orpermission.π:title as idle.Closes #13890
Screenshots
No screenshots attached. The fix changes terminal-title-derived status rather than layout or styling. The live smoke was verified through Orca's terminal and worktree APIs without publishing local workspace or session data.
Testing
pnpm lint— not run project-wide; the pre-commitoxlint, React Doctor lint, andoxfmttasks passed for all changed files.pnpm typecheck—pnpm run typecheck:nodeandpnpm run typecheck:webpassed.pnpm test— not run project-wide; 3 focused suites passed locally (95 tests).pnpm build— not run as a production build; the Electron dev runtime launched successfully.donewith no stuck spinner.⠋ Pi, then returned toPiafter completion.AI Review Report
Reviewed the native OMP title → shared status classifier → main/renderer title tracker path and the hook clear → synthetic spinner lifecycle. The review covered delimiter precedence, the legacy no-space
π:title, nested wrapper prefixes, working-to-idle ordering, ordinary pane clears, and connection-scoped transient clears.An independent review found that the first parser version missed wrapper-prefixed titles such as
zsh | π : cwd. The parser was updated to use the repository's existinggetWrapperTitleSegmentsconvention, bare and nested-wrapper regression cases were added, and the follow-up review returnedAPPROVEwith no remaining actionable findings.Cross-platform scope was checked explicitly: the new state-title protocol is used for WSL/ConPTY, existing animated Pi-compatible titles remain unchanged, and the shared parser behavior stays identical between main and renderer paths.
Security Audit
This change adds no network requests, credentials, persistence, renderer IPC surface, or privilege boundary. Native title parsing is bounded to existing terminal-title strings and requires an explicit π state delimiter. The no-space legacy
π:form remains idle to avoid broadening the working match.Pane-scoped clears stop only the addressed spinner. Connection-scoped transient clears carry no pane key and are intentionally ignored, preserving the existing cross-connection isolation contract.
Notes