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

mostafa / xk6-kafka / 29491525924
79%

Build:
DEFAULT BRANCH: main
Ran 16 Jul 2026 10:51AM UTC
Jobs 1
Files 26
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

16 Jul 2026 10:38AM UTC coverage: 78.685% (+0.07%) from 78.614%
29491525924

push

github

web-flow
fix: clear TLSNextProto on schema registry transport when TLS is configured (#404)

* fix: clear TLSNextProto on schema registry transport when TLS is configured

The gzipTransport wrapper (added in #363) is bypassed when TLS is configured
because Clone() of http.DefaultTransport copies TLSNextProto (the HTTP/2
protocol handler map). Setting TLSClientConfig on the clone without clearing
TLSNextProto causes HTTP/2 to be negotiated via ALPN, but the cloned transport
has no own h2 connection pool. The h2 frames reach gzipTransport which
interprets the binary framing as gzip, causing:
  invalid character '\x1f' looking for beginning of value

Fix: clear TLSNextProto after setting TLSClientConfig to force HTTP/1.1,
which is what gzipTransport was designed for.

Also restructures the nil-check to early-return before the Clone path, and
adds unit tests for both the TLS and non-TLS transport construction paths.

* style: fix line length in TestNewSchemaRegistryTransportWithTLS assertion message

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

3854 of 4898 relevant lines covered (78.69%)

43.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29491525924.1 16 Jul 2026 10:51AM UTC 26
78.69
GitHub Action Run
Source Files on build 29491525924
  • Tree
  • List 26
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e6389020 on github
  • Prev Build on main (#29199582634)
  • Next Build on main (#29654092331)
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