[6/6] Fail exec client operations after disconnect#18027
Open
aibrahim-oai wants to merge 2 commits intomainfrom
Open
[6/6] Fail exec client operations after disconnect#18027aibrahim-oai wants to merge 2 commits intomainfrom
aibrahim-oai wants to merge 2 commits intomainfrom
Conversation
26e6cb2 to
cbf2f50
Compare
04edeeb to
db17256
Compare
cbf2f50 to
a5fb6ce
Compare
db17256 to
aa58931
Compare
a5fb6ce to
d73da80
Compare
aa58931 to
c4a27cd
Compare
d73da80 to
82da696
Compare
aibrahim-oai
added a commit
that referenced
this pull request
Apr 16, 2026
## Summary - Add an MCP server environment setting with local as the default. - Thread the default through config serialization, schema generation, and existing config fixtures. ## Stack ```text o #18027 [8/8] Fail exec client operations after disconnect │ o #18025 [7/8] Cover MCP stdio tests with executor placement │ o #18089 [6/8] Wire remote MCP stdio through executor │ o #18088 [5/8] Add executor process transport for MCP stdio │ o #18087 [4/8] Abstract MCP stdio server launching │ o #18020 [3/8] Add pushed exec process events │ o #18086 [2/8] Support piped stdin in exec process API │ @ #18085 [1/8] Add MCP server environment config │ o main ``` Co-authored-by: Codex <noreply@openai.com>
c4a27cd to
1e3bb61
Compare
82da696 to
16f8737
Compare
1e3bb61 to
fa90957
Compare
16f8737 to
3967571
Compare
fa90957 to
e420153
Compare
b82920d to
418679b
Compare
580771d to
f694598
Compare
d2afcaa to
d326394
Compare
f694598 to
c2713b6
Compare
d326394 to
a7c7ede
Compare
c2713b6 to
acd96bd
Compare
aibrahim-oai
added a commit
that referenced
this pull request
Apr 16, 2026
## Summary - Add an explicit stdin mode to process/start. - Keep normal non-interactive exec stdin closed while allowing pipe-backed processes. ## Stack ```text o #18027 [8/8] Fail exec client operations after disconnect │ o #18025 [7/8] Cover MCP stdio tests with executor placement │ o #18089 [6/8] Wire remote MCP stdio through executor │ o #18088 [5/8] Add executor process transport for MCP stdio │ o #18087 [4/8] Abstract MCP stdio server launching │ o #18020 [3/8] Add pushed exec process events │ @ #18086 [2/8] Support piped stdin in exec process API │ o #18085 [1/8] Add MCP server environment config │ o main ``` Co-authored-by: Codex <noreply@openai.com>
a7c7ede to
f1324a4
Compare
acd96bd to
88e5a56
Compare
f1324a4 to
f05fcee
Compare
adbbe17 to
c970502
Compare
48d6f2d to
2ac989f
Compare
aibrahim-oai
added a commit
that referenced
this pull request
Apr 17, 2026
## Summary - Add a pushed `ExecProcessEvent` stream alongside retained `process/read` output. - Publish local and remote output, exit, close, and failure events. - Cover the event stream with shared local/remote exec process tests. ## Testing - `cargo check -p codex-exec-server` - `cargo check -p codex-rmcp-client` - Not run: `cargo test` per repo instruction; CI will cover. ## Stack ```text o #18027 [6/6] Fail exec client operations after disconnect │ o #18212 [5/6] Wire executor-backed MCP stdio │ o #18087 [4/6] Abstract MCP stdio server launching │ @ #18020 [3/6] Add pushed exec process events │ o #18086 [2/6] Support piped stdin in exec process API │ o #18085 [1/6] Add MCP server environment config │ o main ``` --------- Co-authored-by: Codex <noreply@openai.com>
aibrahim-oai
added a commit
that referenced
this pull request
Apr 17, 2026
## Summary - Move local MCP stdio process startup behind a launcher trait. - Preserve existing local stdio behavior while making transport creation explicit. ## Stack ```text o #18027 [6/6] Fail exec client operations after disconnect │ o #18212 [5/6] Wire executor-backed MCP stdio │ @ #18087 [4/6] Abstract MCP stdio server launching │ o #18020 [3/6] Add pushed exec process events │ o #18086 [2/6] Support piped stdin in exec process API │ o #18085 [1/6] Add MCP server environment config │ o main ``` --------- Co-authored-by: Codex <noreply@openai.com>
05c5a98 to
2b8b185
Compare
2ac989f to
3f74a4b
Compare
2b8b185 to
8f30991
Compare
3f74a4b to
92d13e7
Compare
8f30991 to
93f49bf
Compare
92d13e7 to
cab9201
Compare
93f49bf to
be849e0
Compare
cab9201 to
b53f34f
Compare
be849e0 to
0ac58e2
Compare
b53f34f to
31c25bf
Compare
0ac58e2 to
5615470
Compare
31c25bf to
7c6544f
Compare
Add the executor-backed RMCP stdio transport, pass MCP runtime placement through manager construction, and cover stdio MCP tests with the remote-aware helpers. Co-authored-by: Codex <noreply@openai.com>
5615470 to
c219aeb
Compare
Reject new exec-server operations once the transport disconnects and convert pending RPC calls into closed errors. This lets remote MCP stdio calls surface executor loss immediately instead of waiting for the MCP tool timeout. Co-authored-by: Codex <noreply@openai.com>
7c6544f to
b8070ad
Compare
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.
Summary
Verification
just fmtcargo check -p codex-exec-serverStack