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

prisma-risk / tsoracle / 26272116796 / 1
95%
main: 95%

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

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.

6503 of 6757 relevant lines covered (96.24%)

81769.07 hits per line

Source Files on job 26272116796.1
  • Tree
  • List 51
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26272116796
  • f56e283a on github
  • Prev Job for on main (#26271048265.1)
  • Next Job for on main (#26274068826.1)
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