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

gatewayd-io / gatewayd / 22079022632
59%

Build:
DEFAULT BRANCH: main
Ran 16 Feb 2026 10:20PM UTC
Jobs 1
Files 66
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 Feb 2026 10:13PM UTC coverage: 59.222% (-0.5%) from 59.742%
22079022632

push

github

web-flow
Pre-authenticate backend pool connections with PostgreSQL startup handshake (#724)

* Pre-authenticate the connections in the available pool
* Drain both OnTraffic goroutines before connection recycling
Rewrite OnTraffic to use sync.WaitGroup so both the client->server and
server->client goroutines are fully drained before returning. When one
goroutine exits it expires the other's read deadline, ensuring prompt
teardown. After both exit the backend deadline is cleared so Disconnect
can run DISCARD ALL on an idle connection. This fixes the "unexpected
EOF" errors during session reset and eliminates a goroutine leak where
the second goroutine would block forever on the stopConnection channel.
Also snapshot net.Conn in Client.Send/Receive under the mutex to prevent
a nil-pointer panic when Proxy.Shutdown closes the client concurrently.
* Update deps
* Update stubs
* Format
* Revert config
* Update deps
* Update docs
* Fix linter issues
* Remove unused variable
* Fix TextParser panic with prometheus/common v0.67.5
Use expfmt.NewTextParser(model.UTF8Validation) instead of the bare
struct literal, which defaults to UnsetValidation and panics.
* Fix connection counter race in server shutdown
Replace the two-goroutine stopConnection channel pattern with a single
goroutine that decrements connections after OnTraffic returns, eliminating
the race where select could pick stopServer over stopCh.
* Fix port conflict
* Silence noisy raft transport errors in logs
Replace os.Stderr with io.Discard for the Raft TCP transport logger
to suppress expected connection reset errors that occur during normal
peer removal operations.

202 of 343 new or added lines in 7 files covered. (58.89%)

56 existing lines in 2 files now uncovered.

5738 of 9689 relevant lines covered (59.22%)

479.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
71.43
-3.94% network/server.go
5
0.0
0.0% raft/proto/raft_grpc.pb.go
28
70.41
-2.56% network/client.go
30
57.33
-3.98% network/proxy.go
76
60.21
network/pg_startup.go

Uncovered Existing Lines

Lines Coverage ∆ File
24
57.33
-3.98% network/proxy.go
32
71.43
-3.94% network/server.go
Jobs
ID Job ID Ran Files Coverage
1 22079022632.1 16 Feb 2026 10:20PM UTC 66
59.22
GitHub Action Run
Source Files on build 22079022632
  • Tree
  • List 66
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 60681e1a on github
  • Prev Build on main (#20144174851)
  • Next Build on main (#22080495924)
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