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

FlexMeasures / flexmeasures / 47140232437
89%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 03:44PM UTC
Jobs 1
Files 203
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

03 Dec 2026 03:34PM UTC coverage: 89.021% (+0.006%) from 89.015%
47140232437

push

github

web-flow
feat: delete automation run records older than their time-to-live (#2908)

* Share the monitor's criterion for an unreported failed automation run

Pruning old runs needs the same rule, so that it never deletes a failure before the monitor reported it.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Delete automation run records older than their time-to-live

FLEXMEASURES_AUTOMATION_DBLOGS_TTL sets a time-to-live per automation type.
Once an hour, flexmeasures jobs run-automations deletes older runs, with their attempts and jobs,
keeping each automation's latest run, runs under a live claim and failures the monitor did not report yet.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Document the time-to-live of automation run records

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Add changelog entries for pruning old automation runs (#2908)

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs: list pruning of old automation runs under v1.2.0, not the released v1.1.3 (#2908)

Signed-off-by: Vibe Nuage Agent <vibe@mistral.ai>

---------

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Vibe Nuage Agent <vibe@mistral.ai>
Co-authored-by: Vibe Nuage Agent <vibe@mistral.ai>

72 of 77 new or added lines in 4 files covered. (93.51%)

1 existing line in 1 file now uncovered.

26424 of 29683 relevant lines covered (89.02%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
61.97
0.29% flexmeasures/cli/jobs.py
2
96.15
flexmeasures/data/services/automation_pruning.py

Coverage Regressions

Lines Coverage ∆ File
1
61.97
0.29% flexmeasures/cli/jobs.py
Jobs
ID Job ID Ran Files Coverage
1 47140232437.1 03 Dec 2026 03:44PM UTC 203
89.02
GitHub Action Run
Source Files on build 47140232437
  • Tree
  • List 203
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47140232437
  • 1e620a12 on github
  • Prev Build on main (#47099181316)
  • Next Build on main (#47347279297)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc