Repository navigation
Fix retained closed window contexts and PTY respawn #8567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 9 commits
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
3b3643b
test: cover retained closed main window cleanup
austinywang b71813a
fix: finalize closed main window ownership
austinywang 5a6bfc4
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang eec5d64
test: cover recoverable orphan and manager cleanup
austinywang 3acbafd
test: cover retained manager background state
austinywang 1b58a27
fix: preserve transient routes and finalize window managers
austinywang 510e69b
test: cover stale windowless duplicate close
austinywang ccd7752
test: cover finalized manager startup recovery
austinywang 7cc2fcd
refactor: extract startup workspace recovery
austinywang 2e59d41
test: isolate windowless duplicate fallback
austinywang 99da9b4
fix: validate recoverable window lifecycle ownership
austinywang e6613d2
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang 3f649b5
test: import terminal registry protocol
austinywang 41e4595
fix: block late workspace acquisition after window close
austinywang 367728d
test: cover hidden window lifecycle retirement
austinywang 7ed4a4f
fix: complete hidden window lifecycle teardown
austinywang b7a7cf0
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang 6570c04
test: cover lifecycle ownership mutation boundaries
austinywang 0e74a01
fix: preserve finalized window ownership boundaries
austinywang 1cb581d
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang 68a082b
Fix current-main agent liveness test fixture
austinywang 04c0733
test: reject focus of committed main windows
austinywang 2d2085e
Prevent committed windows from being focused
austinywang 81a5ec6
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang 7f95b08
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang d101702
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang fe0ca65
Test rejected window and registry teardown edge cases
austinywang 6db3c64
Finalize rejected windows and coalesce route cleanup
austinywang 6336791
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
austinywang b55ee85
Preserve deinit registry retirement
austinywang d54ec0f
test: cover finalized window and weak registry cleanup
austinywang 77fc1dd
fix: harden finalized workspace and surface ownership
austinywang f58902f
fix: preserve bounded registry cleanup
austinywang 90afc0d
test: cover retained controller and bounded weak eviction
austinywang 3f0b37d
fix: bound weak eviction and preserve window release
austinywang 279b774
test: cover complete bulk git probe reset
austinywang b64d807
fix: make teardown cleanup reentrancy-safe
austinywang fd6fb2b
docs: explain registry lock safety
austinywang 115788a
test: import workspace fixture value modules
d40615f
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
c7a12f6
test: name bulk reset coverage precisely
c0eaa30
test: cover finalized intruder and invisible route isolation
240204f
fix: isolate exact window and visible mutation routes
7dcd763
test: cover browser-only routes and retired surfaces
bdceaa1
fix: preserve lifecycle-owned window routes
7d0d532
test: cover retired direct split creators
43af6e1
fix: reject retired workspace split creators
fcb96d6
test: cover stale-key exact window close
773c129
test: compare retired workspace layout snapshots
0f7e310
fix: close stale owners and roll back orphan worktrees
2d74f38
test: cover exact close routing and route history
c28880b
test: isolate final close routing regressions
c19f9a5
test: avoid AppKit teardown in close regressions
182bd74
test: make duplicate close routing deterministic
facd2f3
fix: finalize exact recoverable window closes
a606ef3
test: retain rejected duplicate windows
c51ac9b
test: cover recoverable route persistence and pruning
c68a447
fix: persist and prune recoverable window routes
04d95cf
test: reject stale window ownership and unsafe rollback
fdd3927
fix: reject stale owners and unsafe rollback
2d1e7a2
test: reject foreign windowless context owners
dd2aea0
fix: preserve registered window ID ownership
31edc98
test: reject main window manager aliasing
16006b2
fix: reject main window manager aliases
cb07059
test: protect key-window context ownership
e064a8e
fix: guard main window context reindexing
dfc9b35
test: preserve locked worktree rollback state
1bb4fc3
fix: make worktree rollback artifact-safe
5c544d3
test: reject stale main window identity authority
dd49ef3
fix: require exact main window identity authority
2f5051d
test: retire orphaned launch bootstrap manager
75e5cf9
fix: retire orphaned launch bootstrap manager
1a00c17
Merge origin/main into issue-8349-ghost-window-contexts
2813c4d
Merge origin/main into issue-8349-ghost-window-contexts
9bcbe7a
test: cover mobile create reservation after window close
d175973
fix: preserve mobile create retries after window close
edb983b
Merge origin/main into issue-8349-ghost-window-contexts
8d32977
fix: import workspace shell activity state
880229c
fix: make Dock snapshot inference explicit
f5efc00
fix: return resume approval policy explicitly
98fe00a
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
5684917
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
2f71fd1
test: cover fresh manager after committed close
f908a56
fix: retire managers rejected by committed windows
9912934
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
eb0a594
test: cover review lifecycle races
372d2e5
fix: close review lifecycle gaps
49e10d4
test: cover retained workspace surface factories
99403ef
test: cover lazy Dock creation after retirement
6eaa2a2
fix: permanently retire retained workspace factories
4496a75
test: cover retained window Dock after close
652ef43
fix: retire window Dock on teardown
b63bfbd
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
1d7427e
test: cover retired feature flag observer
dafe5e7
fix: guard retirement and rollback races
8d2f43b
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
d11cb11
test: cover full idempotency rollback
0d4921e
fix: restore evicted idempotency tombstones
76f2a91
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
5661ae1
test: cover symlinked worktree rollback
8bf3856
fix: compare worktree filesystem identity
d2c5c73
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
d750af0
test: cover windowless close and nested rollback
72a2f52
fix: preserve windowless close and rollback ownership
ee419e7
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
529f022
fix: guard merged UI test workspace setup
c8b3954
fix: guard merged remote fork workspace creation
962e033
fix: reconcile remote tmux route lifecycle test
513e429
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
5fc8336
test: cover windowless route quit confirmation
6956c17
fix: include windowless routes in quit safety
786d5ca
Merge origin/main into issue-8349-ghost-window-contexts
e5e1f4e
Add regression coverage for stale main-window close callback
647e190
Route main-window close termination by sender identity
a926fa5
Merge branch 'main' of https://github.com/manaflow-ai/cmux into issue…
732a1c8
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
a19a261
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
8cbe53e
Fix workspace creation after main merge
121e579
Fix restore argument canonicalization build
777512b
Fix shortcut tests after workspace lifecycle merge
4106370
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
2461383
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
d016a62
fix: close final window lifecycle review gaps
22f5788
test: unwrap retained Dock fixture
6dd7c97
test: model notification surface preflight
e3bb216
fix: address final window lifecycle review findings
0659cb9
fix: type window Dock snapshot explicitly
19d7aed
fix: return sanitized worktree rollback error
4bffdd6
test: cover abandoned recoverable Dock owner
1bdfc18
fix: retire recoverable Dock with weak owner
695c9b4
test: import workspace creation value modules
3f65a54
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
4276304
test: fix browser-only Dock lifecycle fixture
017fc3c
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
ce5e9f9
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
91e0b8b
test: cover final window lifecycle review gaps
89e2c19
test: stabilize inherited CI lifecycle fixtures
4806cce
fix: preserve exact routing and rollback chronology
b7ada49
test: cover rollback backup mutation race
8444393
fix: retain raced worktree rollback artifacts
4f44373
Merge remote-tracking branch 'origin/main' into issue-8349-ghost-wind…
c05791a
test: cover reusable workspace dock teardown
48ecc12
fix: keep workspace Dock reusable during panel teardown
3742caa
fix: close late workspace lifecycle routes
b89ccc2
fix: fence retired Dock ingress and remote owners
5dd1417
fix: preserve recoverable owner adoption boundaries
7f15f35
fix: detach remote mirrors during workspace retirement
82922b1
fix: retain workspace creation compatibility
4210af2
fix: fence rollback against replacement worktrees
396b207
fix: validate recoverable workspace ownership
fcc9061
fix: clean up failed extension worktrees
1d2eee8
fix: close windowless recoverable owners
9bb62d2
fix: allow windowless noninteractive closes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.