fix(tui): release stale daemon viewer leases - #8475
Closed
lawrencecchen wants to merge 12 commits into
Closed
lawrencecchen wants to merge 12 commits into
lawrencecchen wants to merge 12 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
lawrencecchen
force-pushed
the
codex/cmux-tui-viewer-lease-release
branch
from
July 20, 2026 00:41
18f39a6 to
021a8e3
Compare
lawrencecchen
force-pushed
the
codex/cmux-tui-durable-state-root
branch
from
July 20, 2026 00:41
50e2616 to
99f2f25
Compare
lawrencecchen
force-pushed
the
codex/cmux-tui-viewer-lease-release
branch
from
July 20, 2026 02:58
021a8e3 to
293b538
Compare
lawrencecchen
force-pushed
the
codex/cmux-tui-durable-state-root
branch
from
July 20, 2026 02:58
99f2f25 to
5031e22
Compare
added 8 commits
July 21, 2026 15:32
…ux-tui-viewer-lease-release
…ux-tui-viewer-lease-release
…ux-tui-viewer-lease-release
…viewer-lease-release
# Conflicts: # cmux-tui/crates/cmux-tui/src/app.rs
Contributor
Author
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.
Stacked on #8460.
The durable daemon-side Admin connection used to remain a host viewer at its snapshot grid. After Chromium cut over from the compatibility control attachment to a direct renderer, the old Admin lease could keep the canonical terminal at 80x24 forever.
This PR:
Validation:
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by cubic
Fixes stale daemon viewer leases that could pin the PTY after switching to the direct renderer, and hardens zero‑width startup to avoid attach panics. Leases now release and re‑apply so the terminal follows the smallest active viewer; the sidebar stays hidden until a real size arrives.
Written for commit 59dfa84. Summary will update on new commits.