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

elastic / cloudbeat / 19963983098
76%

Build:
DEFAULT BRANCH: main
Ran 05 Dec 2025 01:26PM UTC
Jobs 1
Files 230
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 Dec 2025 01:10PM UTC coverage: 76.225% (-0.03%) from 76.25%
19963983098

push

github

web-flow
refactor: use injected loggers instead of global logger creation (#3698)

### Summary of your changes
- Replace newLogger() with newLoggerFromBase() in evaluator package to
reuse passed logger instances and derive log level from base logger's
core
- Update tests to use testhelper.NewObserverLogger() instead of
deprecated methods
- Convert evaluator tests from suite-based to standard test functions as
no state sharing is needed

### Related Issues
- Closes https://github.com/elastic/cloudbeat/pull/3676
- #3603 -- global loggers should be avoided

### Checklist
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added the necessary README/documentation (if appropriate)

23 of 23 new or added lines in 3 files covered. (100.0%)

1 existing line in 1 file now uncovered.

9641 of 12648 relevant lines covered (76.23%)

16.41 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.05
-1.71% internal/evaluator/opa.go
Jobs
ID Job ID Ran Files Coverage
1 19963983098.1 05 Dec 2025 01:26PM UTC 230
76.23
GitHub Action Run
Source Files on build 19963983098
  • Tree
  • List 230
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 02dff731 on github
  • Prev Build on main (#19954956264)
  • Next Build on main (#20024605041)
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