Skip to content

Consolidate JSON-RPC metadata hardening#270

Draft
leehack wants to merge 1 commit into
spec/2026-result-semanticsfrom
spec/2026-json-rpc-metadata-hardening
Draft

Consolidate JSON-RPC metadata hardening#270
leehack wants to merge 1 commit into
spec/2026-result-semanticsfrom
spec/2026-json-rpc-metadata-hardening

Conversation

@leehack
Copy link
Copy Markdown
Owner

@leehack leehack commented Jun 1, 2026

Summary

Validation

  • dart format --output=none --set-exit-if-changed .
  • dart analyze
  • git diff --check
  • dart test
  • dart pub global run coverage:test_with_coverage

Stacked on #269. This is a draft RC PR and should stay off main until the official spec release.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

❌ Patch coverage is 93.26047% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.47%. Comparing base (e9b94c7) to head (c994327).

Files with missing lines Patch % Lines
...kages/mcp_dart_cli/lib/src/conformance_runner.dart 85.14% 15 Missing ⚠️
lib/src/types/sampling.dart 80.59% 13 Missing ⚠️
lib/src/types/initialization.dart 95.38% 3 Missing ⚠️
lib/src/server/streamable_mcp_server.dart 91.30% 2 Missing ⚠️
lib/src/types/content.dart 95.12% 2 Missing ⚠️
lib/src/client/streamable_https.dart 93.33% 1 Missing ⚠️
lib/src/types/tasks.dart 95.23% 1 Missing ⚠️
Additional details and impacted files
@@                      Coverage Diff                       @@
##           spec/2026-result-semantics     #270      +/-   ##
==============================================================
+ Coverage                       84.11%   84.47%   +0.36%     
==============================================================
  Files                              69       69              
  Lines                           11790    12098     +308     
==============================================================
+ Hits                             9917    10220     +303     
- Misses                           1873     1878       +5     
Flag Coverage Δ
cli 71.04% <85.14%> (+0.49%) ⬆️
unittests 88.45% <95.08%> (+0.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@leehack leehack force-pushed the spec/2026-result-semantics branch from d390756 to e9b94c7 Compare June 2, 2026 17:07
@leehack leehack force-pushed the spec/2026-json-rpc-metadata-hardening branch from d554960 to c994327 Compare June 2, 2026 17:07
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