feat(diagnostics): add Connect incident investigation portal - #3072
Merged
reachjalil merged 1 commit intoJul 24, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@reachjalil is attempting to deploy a commit to the Different AI Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
Author
|
PR chain: #3072 Diagnostics portal → #3073 Den relay → #3074 desktop client. Each PR targets |
reachjalil
marked this pull request as ready for review
July 24, 2026 07:17
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.
Value
Today the diagnostics service can test paths, but it cannot retain and investigate intermittent OpenWork Connect incidents after they happen. Support therefore sees a generic “disconnected” report without a customer timeline, failure cluster, or way to distinguish DNS/TLS/HTTP/MCP lifecycle symptoms.
This PR gives the diagnostics app one focused incident-investigation surface:
/api/connections/incidents/connectionsportal with organization, client, source, phase, outcome, error, network, HTTP, and time filtersPrivacy boundary
The shared schema accepts only connection metadata: timestamps, lifecycle phase/outcome, allowlisted DNS/TCP/TLS class, HTTP status, retryability, duration, failure count, categorical platform, versions, and opaque correlation IDs.
It rejects unknown fields and cannot carry emails, member identity, prompts/messages, tokens/cookies, URLs, tool names/arguments, or request/response bodies.
Scope
This is the diagnostics-app slice only. It does not instrument Den, the desktop client, plugins, or OpenCode. The small
packages/typesincident contract is intentionally shared with the two sibling PRs so every slice independently builds fromdev; after the first slice merges, the identical contract patch drops out of the others.Checks
git diff --check— passedRollout
Uses the existing diagnostics bearer and Redis configuration. Production should rate-limit
/api/connections/incidentsat the firewall as documented. No production deployment or live customer verification is included.Split 1 of 3. Merge this first, followed by the Den relay and desktop client slices.