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

brotherlogic / logging / 22280543736
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: fix/memory-usage
DEFAULT BRANCH: master
Ran 22 Feb 2026 04:06PM UTC
Jobs 1
Files 2
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 04:05PM UTC coverage: 90.845%. First build
22280543736

Pull #11472

github

brotherlogic
Fix: Reduce transient memory usage in GetLogs API

Optimized the loadAllLogs function to prevent excessive transient memory
allocation when handling GetLogs API requests. Previously, the function
would load all matching log entries into memory before applying the
limit of 20 logs.

This change introduces an early exit condition within the filepath.Walk
loops, ensuring that log processing stops as soon as 20 relevant log
entries are collected. This significantly reduces memory pressure and
improves performance, especially when dealing with large log files and
frequent GetLogs requests.

Closes #11471
Pull Request #11472: Fix: Reduce transient memory usage in GetLogs API

2 of 6 new or added lines in 1 file covered. (33.33%)

129 of 142 relevant lines covered (90.85%)

1.1 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
90.0
loggingutils.go
Jobs
ID Job ID Ran Files Coverage
1 22280543736.1 22 Feb 2026 04:06PM UTC 2
90.85
GitHub Action Run
Source Files on build 22280543736
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #11472
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