Skip to content

Report Cloud MCP failures to Sentry - #3370

Closed
reachjalil wants to merge 1 commit into
different-ai:devfrom
reachjalil:codex/report-cloud-mcp-sentry
Closed

Report Cloud MCP failures to Sentry#3370
reachjalil wants to merge 1 commit into
different-ai:devfrom
reachjalil:codex/report-cloud-mcp-sentry

Conversation

@reachjalil

Copy link
Copy Markdown
Collaborator

Summary

  • report terminal openwork-cloud MCP reconciliation failures through the existing authenticated Den telemetry path
  • promote the allowlisted event to Den's Sentry backend when it is configured
  • attach bounded diagnostic context and deduplicate the same failure fingerprint until recovery

Root cause

The app showed a blocking Cloud MCP failure but retained the evidence only in the local UI and diagnostics. The desktop does not have its own Sentry SDK, so the terminal reconciliation failure never reached production error monitoring.

Privacy and scope

The event includes only allowlisted classification/status fields and component versions. Both the client and server map unknown or content-like values to safe fallbacks. It never sends messages, raw errors, URLs, paths, IDs, tokens, labels, metadata, or raw diagnostic payloads.

This does not change UI or recovery behavior. It is separate from #3198's Cloud MCP repair work and from #3073/#3074's explicit opt-in diagnostics relay.

Verification

  • corepack pnpm --filter @openwork/app exec bun test --isolate tests/cloud-mcp-diagnostics.test.ts tests/session-mcp-maintenance.test.ts — 17 passed
  • corepack pnpm --filter @openwork-ee/den-api exec bun test test/telemetry-sentry.test.ts — 3 passed
  • corepack pnpm --filter @openwork/app typecheck — passed
  • corepack pnpm --filter @openwork-ee/den-api exec tsc -p tsconfig.json --noEmit — passed
  • git diff --check — passed

No Fraimz/browser proof is included because this is an observability-only change with no user-visible UI behavior.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openwork-landing Ready Ready Preview, v0 Jul 30, 2026 6:24pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openwork-diagnostics Skipped Skipped Jul 30, 2026 6:24pm

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant