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

stacklok / minder / 10096650143
53%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2024 03:14PM UTC
Jobs 1
Files 220
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

25 Jul 2024 03:07PM UTC coverage: 54.355% (-0.009%) from 54.364%
10096650143

push

github

web-flow
Add history purge command to minder server cli. (#3976)

This command is used to manage the life cycle of the history log. The
business requirement is to delete all records older than 30 days
maintaining the most recent one for each entity/rule pair even if
older than 30 days.

Implementing this requirement mandates the processing of the whole set
of records older than 30 days, which cannot be processed in chunks
without creating arbitrary holes in the history. As a first
approximation, the proposed implementation loads all records in RAM,
filters out the ones to keep, and issues a series of deletions of up
to 1000 records each. A test was added to keep track of the record
size. A future improvement would be to spill records to secondary
storage, where we would perform sorting and filtering, but it was
overly complex and unjustified at this point in time.

Fixes #3636

12363 of 22745 relevant lines covered (54.35%)

47.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10096650143.1 25 Jul 2024 03:14PM UTC 0
54.35
GitHub Action Run
Source Files on build 10096650143
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10096650143
  • 07a22f18 on github
  • Prev Build on main (#10094546408)
  • Next Build on main (#10097429520)
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