Skip to content

fix(server): constrain MCP App transport fallback - #4774

Merged
reachjalil merged 1 commit into
devfrom
fix/mcp-app-transport-fallback
Sep 10, 2026
Merged

reachjalil merged 1 commit into
devfrom
fix/mcp-app-transport-fallback

Conversation

@benjaminshafii

@benjaminshafii benjaminshafii commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Retry legacy SSE only when the InitializeRequest is rejected with HTTP 400, 404, or 405.
  • Preserve fixed-category transport diagnostics without exposing credentials or response bodies.
  • Add an isolated server-boundary journey covering legacy App resolution, modern optional GET behavior, rejected operations, disconnects, and the real initialization timeout.
  • Only the MCP App host transport and its journey changed; no catalog or private connection configuration changes.

Evidence and verdict

  • Head: f886f03; pinned dev base: 7d5097d.
  • pnpm evals:pr specs/mcp-app-transport-fallback.test.ts: exit 0; 1 passed, 0 failed, 0 skipped; 62.40 seconds on committed head. Cold isolated CLI, loopback fixture, real approximately 60-second timeout; Vitest suppressed the placement console line.
  • pnpm --filter openwork-server typecheck: exit 0 on committed head.
  • Published assertion evidence: all four recorded assertion groups passed, no pending judgments. Single-run publication exit 0. Multi-run private-report publication initially exited 1 because OPENWORK_REVIEW_URL was absent; the documented single-run comment publication succeeded without that service.
  • Journey verdict: Passed. All applicable CI checks reached terminal success; workflow-selected non-applicable jobs remain skipped, not claimed as passed. No tests or policies were changed to bypass checks.
  • CI tests: core, build and required gate passed. Code analysis, audit and preview checks passed. Final gh pr checks --watch exited 0.

Final Warden review

  • Sole local owner for this PR; ran bare pnpm warden:check after tests on the clean committed tree. Reviewed scope: two files / five diff chunks against origin/dev.
  • Before and after refs were identical: HEAD f886f03; origin/dev 7d5097d.
  • Expected applicable skills: diff-security-review, confidentiality-review, spec-provenance-review. All matched locally, but actual local coverage was incomplete: security/confidentiality authentication failures and skipped file coverage. Exit 1; local verdict Incomplete. One approved credential discovery attempt returned no usable credentials. No model configuration was changed; private logs remain private (local run 4b2cf9c0).
  • CI counterpart completed all three applicable skills successfully on this head. desktop-den-sync-review is outside the changed paths. Native findings: 0; native IDs: none; blockers/advisories: none. CI disposition: Clear; current PR state CLEAN and APPROVED from native automation, not a local approval.
  • Clear when: applicable skills complete on this exact scope without blocking findings and required checks pass. Satisfied by CI; local authentication remains an environment limitation, not local clearance.

No merge, amend, force-push, model change, or policy weakening performed.

@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 10, 2026 5:01am UTC
openwork-den Ready Ready Preview Sep 10, 2026 5:01am UTC
openwork-diagnostics Ready Ready Preview Sep 10, 2026 5:01am UTC
openwork-landing Ready Ready Preview, v0 Sep 10, 2026 5:01am UTC

@benjaminshafii

benjaminshafii commented Sep 10, 2026 •

Copy link
Copy Markdown
Member Author

Passed · 6/6 tests · 7/7 assertions · 5 images

Commit f886f0316e48948831de4040dd6399fac58cec48 · selected evidence

Open review report

@github-actions

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (48425 ms), confidentiality-review (12342 ms), spec-provenance-review (46897 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f886f0316e48948831de4040dd6399fac58cec48). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

This branch was successfully deployed

4 active deployments
Preview – openwork-landing — f886f031 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — f886f031 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — f886f031 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — f886f031 Deployed Sep 10, 2026 by vercel[bot]
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.

2 participants