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

trickstercache / trickster / 22737041277
74%

Build:
DEFAULT BRANCH: main
Ran 05 Mar 2026 09:18PM UTC
Jobs 1
Files 301
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

05 Mar 2026 09:14PM UTC coverage: 72.818% (+0.3%) from 72.551%
22737041277

push

github

web-flow
fix: [tls] handle CA-only and client-cert-only TLS configurations in Validate (#940)

TLS.Validate() would attempt os.ReadFile("") for FullChainCertPath and
PrivateKeyPath when only CertificateAuthorityPaths and/or client cert
paths were configured, causing a fatal startup crash:

  error="open : no such file or directory"

Guard each ReadFile call so that server cert/key paths are only read
when non-empty, and additionally validate client cert/key paths when
provided.

Adds options_test.go with coverage for all Validate branches.

Signed-off-by: Luis Cusihuaman <luiscusihuaman88@gmail.com>

16 of 16 new or added lines in 1 file covered. (100.0%)

14895 of 20455 relevant lines covered (72.82%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.26 - 22737041277.1 05 Mar 2026 09:18PM UTC 301
72.82
GitHub Action Run
Source Files on build 22737041277
  • Tree
  • List 301
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1b782010 on github
  • Prev Build on main (#22647371311)
  • Next Build on main (#22739592855)
  • Delete
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