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

stacklok / toolhive / 20316801386
51%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2025 08:50PM UTC
Jobs 1
Files 406
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

17 Dec 2025 08:48PM UTC coverage: 50.206% (-0.03%) from 50.232%
20316801386

push

github

web-flow
Apply default MaxDataSize when config value is zero (#3061)

When max_data_size is not specified in the audit config, Go's zero
value (0) was used directly. This caused the size check len(body) <= 0
to always fail for non-empty bodies, preventing data capture.

Changes:
- Validate() now applies the default value (1024) when MaxDataSize is 0
- CreateMiddleware() now calls Validate() to ensure defaults are applied
- Added test coverage for default application and value preservation

5 of 7 new or added lines in 2 files covered. (71.43%)

21 existing lines in 1 file now uncovered.

28001 of 55772 relevant lines covered (50.21%)

57.17 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.48
-4.4% pkg/audit/middleware.go

Uncovered Existing Lines

Lines Coverage ∆ File
21
50.3
-2.13% pkg/workloads/manager.go
Jobs
ID Job ID Ran Files Coverage
1 20316801386.1 17 Dec 2025 08:50PM UTC 406
50.21
GitHub Action Run
Source Files on build 20316801386
  • Tree
  • List 406
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20316801386
  • d2aca213 on github
  • Prev Build on main (#20314363415)
  • Next Build on main (#20319157990)
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

© 2025 Coveralls, Inc