-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat(coding-agent): direct session transport between TUI and worker (ENG-5817) #1926
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e4185ad
feat(coding-agent): protocol groundwork for direct worker peer transport
snimu a3723fc
feat(coding-agent): worker-side direct peer transport admission
snimu a79854b
feat(coding-agent): supervisor issues direct worker transport tickets
snimu 8998fcc
feat(coding-agent): route session commands over a direct worker trans…
snimu 6d55967
docs(coding-agent): add the direct session transport changelog fragment
snimu fc553bb
fix(coding-agent): schedule supervisor recovery from the socket role,…
snimu e868986
fix(coding-agent): keep reasoned closes authoritative on the direct t…
snimu 13c1b2a
chore(coding-agent): slim direct-transport comments to genuine ambiguity
snimu 736457b
fix(coding-agent): resync only when a reconnect re-established sessio…
snimu 5442fcb
fix(coding-agent): one close-handler owner; direct loss always falls …
snimu 5326d6e
fix(coding-agent): flush the roster when direct viewers attach or detach
snimu fc04a26
test(coding-agent): supervisor-swap E2E expects no resync while the d…
snimu 2c59ac9
fix(coding-agent): reject the attach when a shutdown lands during ini…
snimu d6376d4
fix(coding-agent): compose pause invalidation with direct-loss fallba…
snimu 3779746
fix(coding-agent): revert the reattach transport upgrade; never park …
snimu 9535146
fix(coding-agent): held-direct recovery is control-plane only and unb…
snimu 0b1713d
docs(coding-agent): state the peer grant's scope and threat model on …
snimu b19a08b
fix(coding-agent): rebind the roster subscription during held-direct …
snimu 11c5f74
chore(coding-agent): slim transport comments and one subsumed test as…
snimu bb47b4a
fix(coding-agent): unparkable fallback attach; one liveness check aft…
snimu 60efcec
fix(coding-agent): held recovery stands down for an in-flight update …
snimu 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
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
packages/coding-agent/.changes/eng-5817-direct-session-transport.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| - Added a direct session transport: the TUI now talks to its session's worker over a supervisor-issued single-use ticket, falls back to supervisor routing on any direct-path failure, and keeps the session streaming while a lost supervisor socket reconnects in the background. | ||
| - Workers bind their identity to a fresh per-process instance id, enforced only when the authenticating supervisor presents one, so a downgraded supervisor can still adopt live workers. |
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.