Repository navigation
feat(mcp): add live connection diagnostic tracing - #2672
reachjalil wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@reachjalil is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
Agent integration rehearsal update — 2026-07-11This source branch is published at 3e84bd3 and was exercised in the independent combined rehearsal, #2675. The rehearsal confirmed post-OAuth resource-phase classification, diagnostic deletion and start-race cleanup, runner cancellation and recovery audit behavior, callback stability, and a visible Catalog Ready scope boundary that does not imply provider-operation readiness. Status remains deliberately separate:
This PR remains based on upstream dev because the controlled parent branch exists only on the Jalil fork. #2674 is the approval ledger; this PR is the source and evidence branch. |
|
Validation disposition: hold, do not merge this current head. The live tracing direction is useful, but integration testing found additional runtime/security work that is not present on this PR head, including bounded JSON/SSE handling and cancellation, callback credential commit fencing, cross-replica authorization resume, stale-writer protection, and safe structured error mapping. The branch is also currently dirty against Those gaps were exercised and corrected in the isolated cumulative candidate. Final target behavior is green in production-mode fraimz, including version failure, fresh authorization retry, Catalog Ready, retained history, redaction, and cleanup: No merge or branch mutation performed. |
…gnostic-tracing # Conflicts: # ee/apps/den-api/src/capability-sources/external-mcp-connections.ts # ee/apps/den-api/src/routes/org/mcp-connections.ts # ee/apps/den-api/src/server.ts
…gnostic-tracing # Conflicts: # packages/types/package.json # packages/types/src/index.ts # packages/types/tsup.config.ts
|
Update after reviewing this hold against the current head: The hold was valid for the head that existed when this comment was posted, but the named runtime/security gaps are now addressed on
The latest Post-sync local verification:
GitHub checks have restarted for this head and are still running. I would therefore treat the original blanket “do not merge this current head” disposition as outdated for the current head, while retaining the documented limitation around an authorization URL that was never delivered before process loss and keeping final merge subject to CI and the guided UI verification. |
|
Closing during the 2026-07-27 repository-progress reconciliation. Its own queue audit says do not merge this stale 29-file revision because diagnostics endpoint, attribution, agent context, and recovery work landed later. No unmerged branch is being treated as delivered; any residual gap must be reproduced before new implementation. |
Warning
Queue audit (2026-07-17): returned to draft — do not merge this revision. The live-diagnostics goal remains useful, but this 29-file / 16k-line branch predates the subsequently merged diagnostics endpoint, structured failure attribution, agent-context diagnostics, and current MCP recovery model. Rebuild only the missing persisted-timeline/SSE capability against current
devafter confirming it is not already covered.Important
Ready for review and merge. This branch is current with
upstream/devat7ba1f09a; automated acceptance and current GitHub tests are green. The real-provider walkthroughs below remain useful release verification, but are not represented as completed customer-tenant validation.Manager summary
This adds an administrator-only live diagnostic mode for remote MCP connections. It records the handshake from Den's point of view, shows the highest proven phase and immutable first failure, identifies the likely owner, and provides a safe next action without requiring access to server logs.
Connect remains the concise user-facing result. Diagnose is the detailed, persisted timeline beside it.
What administrators get
Concurrency and trust boundaries
Upstream integration
0037_woozy_night_nurse; rebase/regenerate if another schema PR lands first.Validation
Review boundaries
Recommended reviewer walkthrough