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

prisma-risk / tsoracle / 26272116796
95%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 06:29AM UTC
Jobs 1
Files 51
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

22 May 2026 06:26AM UTC coverage: 96.241% (-0.07%) from 96.309%
26272116796

push

github

web-flow
fix(client): reject plaintext leader-hint under tls_config (#108)

Closes a downgrade gap where a TLS-configured client could be redirected
onto an `http://` endpoint by a `tsoracle-leader-hint-bin` trailer from
a contacted peer. The retry loop now drops such hints when the client
was built with `ClientBuilder::tls_config`, while operator-supplied
`http://` entries in `endpoints` are still honored ("explicit beats
configured" remains true for caller-controlled config).

The filter lives in `retry::issue_rpc`, scoped to wire input, so the
TLS-aware connector stays a pure URI→Channel function. A
`channel_connector` closure replaces the policy entirely and is
responsible for whatever scheme rule it wants to enforce; calling
`channel_connector` after `tls_config` clears the flag accordingly.

Integration test in `client_tls.rs` boots a real plaintext leader plus
a TLS follower that hints `http://<plaintext-leader>`; the client must
refuse the redirect and surface `FAILED_PRECONDITION` instead of
dialing plaintext. Scheme matrix and leader-hint subsystem docs updated
to reflect the new wire-input rule.

43 of 49 new or added lines in 3 files covered. (87.76%)

6503 of 6757 relevant lines covered (96.24%)

81769.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
88.89
-5.56% crates/tsoracle-client/src/retry.rs
Jobs
ID Job ID Ran Files Coverage
1 26272116796.1 22 May 2026 06:29AM UTC 51
96.24
GitHub Action Run
Source Files on build 26272116796
  • Tree
  • List 51
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26272116796
  • f56e283a on github
  • Prev Build on main (#26271048265)
  • Next Build on main (#26274068826)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc