-
Notifications
You must be signed in to change notification settings - Fork 2
pr-convergence #117
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
pr-convergence #117
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2ce5c2e
Add PR convergence runtime and inventory tools
arul28 0d46e19
Refactor CTO convergence runtime patching and launch context
arul28 d7aaa4c
Make Path to Merge tab permanent and simplify convergence wiring
arul28 a5c9db3
Add PR issue tool guidance to agent system prompts
arul28 398542f
Use ADE MCP PR runtime, tool names, and timeouts
arul28 71954a2
Add ADE MCP namespacing for PR issue tool names
arul28 63dcddf
Add Codex MCP override mapping for ADE server settings
arul28 9d4d13a
Refactor MCP socket handling to reusable JSON-RPC server
arul28 3c71147
Pass projectRoot when resolving Codex MCP launches
arul28 49e7176
Treat aborts as interruptions and preserve chat state
arul28 2e12590
Ignore textual artifact URLs and require PR branch push
arul28 dd1ec57
Address all 12 PR review comments + fix MCP tools in unified sessions…
arul28 5eed09e
Resolve chat provider and model per model descriptor
arul28 9b3e645
Support headless MCP by guarding electron safeStorage
arul28 2d822a4
Harden MCP config and enforce ADE query controls
arul28 716bbe1
Resolve rebase route selection using active rebase needs
arul28 c8897e7
Wire MCP tools into unified chat sessions + show all models in picker
arul28 ffaf1a3
Fix storeConvergenceState guard and add MemoryRouter to issueResolver…
Copilot f54dcbc
Fix CI test failures: remove process.env leak from MCP launch + add M…
arul28 3c23bff
final changes
arul28 ee1389c
Fix convergence test failures and update Mintlify docs for PR converg…
arul28 88496e5
Fix PR review findings: guards, validation, a11y, error handling acro…
arul28 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
Binary file not shown.
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
52 changes: 52 additions & 0 deletions
52
apps/desktop/src/main/services/ai/codexAppServerConfig.test.ts
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,52 @@ | ||
| import { describe, expect, it } from "vitest"; | ||
| import { buildCodexAppServerMcpConfigOverrides } from "./codexAppServerConfig"; | ||
|
|
||
| describe("buildCodexAppServerMcpConfigOverrides", () => { | ||
| it("maps ADE stdio MCP server settings into Codex app-server config overrides", () => { | ||
| const result = buildCodexAppServerMcpConfigOverrides({ | ||
| ade: { | ||
| transport: "stdio", | ||
| command: "node", | ||
| args: ["/tmp/mcp-server.js"], | ||
| env: { ADE_RUN_ID: "run-1" }, | ||
| required: true, | ||
| startup_timeout_sec: 30, | ||
| tool_timeout_sec: 120, | ||
| }, | ||
| }); | ||
|
|
||
| expect(result).toEqual({ | ||
| "mcp_servers.ade.required": true, | ||
| "mcp_servers.ade.startup_timeout_sec": 30, | ||
| "mcp_servers.ade.tool_timeout_sec": 120, | ||
| "mcp_servers.ade.command": "node", | ||
| "mcp_servers.ade.args": ["/tmp/mcp-server.js"], | ||
| "mcp_servers.ade.env": { ADE_RUN_ID: "run-1" }, | ||
| }); | ||
| }); | ||
|
|
||
| it("supports camelCase timeout keys and HTTP MCP servers", () => { | ||
| const result = buildCodexAppServerMcpConfigOverrides({ | ||
| docs: { | ||
| transport: "http", | ||
| url: "https://mcp.example.com", | ||
| startupTimeoutSec: 15, | ||
| toolTimeoutSec: 45, | ||
| httpHeaders: { "x-tenant": "acme" }, | ||
| envHttpHeaders: { Authorization: "MCP_AUTH" }, | ||
| }, | ||
| }); | ||
|
|
||
| expect(result).toEqual({ | ||
| "mcp_servers.docs.startup_timeout_sec": 15, | ||
| "mcp_servers.docs.tool_timeout_sec": 45, | ||
| "mcp_servers.docs.url": "https://mcp.example.com", | ||
| "mcp_servers.docs.http_headers": { "x-tenant": "acme" }, | ||
| "mcp_servers.docs.env_http_headers": { Authorization: "MCP_AUTH" }, | ||
| }); | ||
| }); | ||
|
|
||
| it("returns undefined when no MCP servers are configured", () => { | ||
| expect(buildCodexAppServerMcpConfigOverrides()).toBeUndefined(); | ||
| }); | ||
| }); |
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.