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

gatewayd-io / gatewayd / 22284621791
60%
main: 60%

Build:
Build:
LAST BUILD BRANCH: renovate/go-1.x
DEFAULT BRANCH: main
Ran 22 Feb 2026 08:25PM 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

22 Feb 2026 08:19PM UTC coverage: 59.676% (+0.2%) from 59.468%
22284621791

push

github

web-flow
Extensive plugin tests (#731)

* Add test fixtures for plugin-specific CI tests

- Mock prediction API (mock_sqli_api.py) for sql-ids-ips plugin
- Auth plugin fixtures: credentials, Casbin model and policy
- JS plugin test hooks script
- GatewayD config with startupParams for auth plugin tests
- Update .gitignore to allow testdata/plugins/

* Refactor test-plugin CI to test all OSS plugins via matrix strategy

Replace the single plugin-template-go test with a matrix of four real
plugin tests (cache, auth, js, sql-ids-ips), each with plugin-specific
behavioral assertions:

- cache: Redis-backed query caching, invalidation on writes, TLS
- auth: cleartext auth, invalid credential rejection, Casbin RBAC
- js: Goja-based JS hook interception, query logging, TLS
- sql-ids-ips: legitimate query passthrough, SQLi pattern blocking
  (OR 1=1, UNION SELECT, stacked queries) via mock prediction API

* Fix cache TLS and auth plugin CI test failures

- Remove duplicate SELECT from cache TLS test (cache hit returns raw
  bytes that break the TLS connection)
- Add connect_timeout=5 to all auth psql URLs to fail fast instead of
  hanging indefinitely
- Increase auth startup wait to 3s

* Remove cache TLS test due to cache plugin TLS bug

The cache plugin corrupts TLS connection state after caching a SELECT
response, causing subsequent connections to fail. Cache behavior is
fully tested over plaintext. TLS passthrough is tested by other plugins.

* Bring back the TLS test

* Flush cache before starting test

* Instal redis-cli for testing

* Pin cache plugin

* Fix connection pool exhaustion caused by tight loop in PassThroughToClient

When the client-to-server goroutine expired the backend read deadline,
PassThroughToClient ignored the resulting error if received == 0,
causing the server-to-client goroutine to spin forever. This prevented
connection cleanup and eventually exhausted the backend pool.

* Fetch latest version

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

38 existing lines in 4 files now uncovered.

5791 of 9704 relevant lines covered (59.68%)

17.73 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
73.33
-4.44% network/stack.go
4
69.32
-1.1% network/client.go
9
75.6
3.21% network/server.go
23
60.31
0.79% network/proxy.go
Jobs
ID Job ID Ran Files Coverage
1 22284621791.1 22 Feb 2026 08:25PM UTC 66
59.68
GitHub Action Run
Source Files on build 22284621791
  • Tree
  • List 66
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bb731040 on github
  • Prev Build on main (#22279812421)
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