• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / tools / 38098016627
94%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2026 12:20AM UTC
Jobs 6
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Oct 2026 12:11AM UTC coverage: 96.7% (-3.3%) from 100.0%
38098016627

push

github

web-flow
[json_rpc_2] Add strictProtocolChecks parameter to Client (#2555)

Closes #2422

`Server` and `Peer` already accept a `strictProtocolChecks` flag that
allows requests which don't include the `jsonrpc` field. `Client` had no
equivalent, so there was no way to interoperate with a peer whose
responses omit that field.

Add a `strictProtocolChecks` parameter to `Client` and
`Client.withoutJson`, defaulting to `true` to match `Server`. When it is
`false`, a response missing the `jsonrpc` key is accepted, but a response
with a `jsonrpc` key set to anything other than `"2.0"` is still
rejected.

Pass the flag through `Peer.withoutJson` to the internal `Client`, so
`Peer(strictProtocolChecks: false)` relaxes response validation on the
client side as well as request validation on the server side.

967 of 1000 relevant lines covered (96.7%)

53.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os:ubuntu-latest/dart:3.1/platform:vm - 38098016627.1 11 Oct 2026 12:20AM UTC 9
94.42
GitHub Action Run
2 os:ubuntu-latest/dart:stable/platform:chrome - 38098016627.2 11 Oct 2026 12:23AM UTC 9
92.01
GitHub Action Run
3 os:ubuntu-latest/dart:dev/platform:chrome - 38098016627.3 11 Oct 2026 12:23AM UTC 9
92.01
GitHub Action Run
4 os:ubuntu-latest/dart:stable/platform:vm - 38098016627.4 11 Oct 2026 12:20AM UTC 9
94.64
GitHub Action Run
5 os:ubuntu-latest/dart:dev/platform:vm - 38098016627.5 11 Oct 2026 12:20AM UTC 9
94.64
GitHub Action Run
6 os:ubuntu-latest/dart:3.1/platform:chrome - 38098016627.6 11 Oct 2026 12:24AM UTC 9
92.0
GitHub Action Run
Source Files on build 38098016627
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38098016627
  • 2337f995 on github
  • Prev Build on main (#38097698178)
  • Next Build on main (#38098656002)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc