Repository navigation
Conversation
Co-authored-by: sisyphus-dev-ai <[email protected]>
Co-authored-by: sisyphus-dev-ai <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
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. |
Owner
Author
|
Superseded by #4725 |
devswha
added a commit
that referenced
this pull request
Nov 25, 2026
…xture (#4725) ## Changes - [#4701 — Preserve last-pane history](#4701). In an isolated core, a picker jump from a zoomed pane returned `layout_conflict`: the screen stayed on `t2`, but the previous-pane history changed to `t1`. Preserve history through the tentative focus change and intervening refresh; record the pane left only after confirmation. Codex reviewed `478825873`; its reproduced refresh finding was fixed in `0ed0033cc`. [CodeRabbit was rate-limited](#4701 (comment)). Closes #4519 - [#4702 — Use the intended launcher target](#4702). Isolated PTY probes reproduced the wrong core with a non-default Herdr plugin session and a relative socket; launcher fixtures reproduced inherited SSH X11 settings, the wrong desktop session, and one request to an unrelated listener after the app stopped. Share plugin-config lookup, resolve the socket relative to the calling shell, drop forwarded X11 settings only for a newly started core, and verify the desktop server record and listener before using its port. Codex reviewed `672d07e8a`; its three reproduced findings (shutdown port reuse, standalone TUI gating, and legacy launcher validation) were fixed in `1869a756c`. [CodeRabbit was rate-limited](#4702 (comment)). Closes #4577 Closes #4576 Closes #4561 Closes #4463 Refs #4460 (partly: the remaining gaps are listed on the issue) Bundle follow-up `e5f6cad72` restores the desktop `start`/`stop` guidance that the new listener check masked. These commands do not contact the server; commands that use its port still require a valid listener record. - [#4703 — Synchronize the stop-and-continue fixture](#4703). An isolated Linux child-subreaper probe found seven launcher/screen pairs left behind in 80 runs on main. Wait for the screen itself to stop before `fg`, then let the launcher reap the screen and Bash reap the launcher. Production code is unchanged by this source PR. Codex reviewed `c42d2c2f7`; its reproduced teardown finding was fixed in `52553fac1`. [CodeRabbit was rate-limited](#4703 (comment)). Closes #4562 Supersedes #4701 #4702 #4703 ## Validation - Linux: 14 focused zoom and last-pane tests passed; 197 launcher tests passed (one Windows-only case skipped); all 30 terminal-restoration PTY tests passed. - The real `ovis tui` entry rendered an isolated test pane and detached in both PTY probes: a non-default session discovered through the Herdr plugin and a relative core socket. - The stop-and-continue regression passed 40 repeats; the isolated process-group check passed 60 repeats. - `bun run typecheck` and `git diff --check origin/main...HEAD` passed. - The existing desktop lifecycle regression failed on the initial bundle and passed after `e5f6cad72`. The first fast run also hit an unrelated SSH Unix-socket path-length failure; all three tests in `server/ssh-account-add.test.ts` passed with a shorter `TMPDIR`. - `bun run check fast` passed on `e5f6cad72` with the shorter `TMPDIR`: 27,969 unit tests passed, 0 failed, 247 skipped. - Native macOS and Windows were not exercised. --------- Co-authored-by: sisyphus-dev-ai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What broke
In the standalone TUI PTY test, Bash reported the launcher stopped before the screen itself stopped.
fgcould send its continuation too early. Teardown could then leave the fixture's stopped launcher and screen behind.Fix
Wait for the screen's actual stopped state before
fg. Infinally, end only the identified screen and allow its launcher and then Bash to reap their children before the PTY is closed. Production code is unchanged.Validation
bun test --timeout 30000 ./tui/host/restore.contract.test.tspassed. A separate focused process-group check also passed 60 times. Native macOS was not exercised.bun run check fastwith a shorterTMPDIRand six unit workers. Workflow syntax, generated-file checks, typecheck, and build passed; the unit stage reached the 510-second command deadline (exit 124) without a reported assertion failure before interruption. A prior remote run failed on the same account invite case as main CI's Fast checks. Publishing with that validation gap per the lead's decision.bun run typecheckandbun run buildpassed on the final code.Review notes
Codex reviewed
c42d2c2f7f6bc05455904ac32c119f6f8a1d614fonce. Fixed the reproduced medium finding that killing a whole process group could orphan the screen. The previous group-ID reuse concern was not reproduced; teardown now checks exact process identities and no longer signals the entire group.Closes #4562