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

FlexMeasures / flexmeasures / 29183674716
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: fix/latest-task-run-timestamp
DEFAULT BRANCH: main
Ran 12 Jul 2026 07:23AM UTC
Jobs 1
Files 168
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

12 Jul 2026 07:05AM UTC coverage: 81.289% (-0.07%) from 81.355%
29183674716

Pull #2303

github

Flix6x
fix: three more long-standing failures on main

- [GET] /api/ops/getLatestTaskRun turned any database error into an opaque
  500: the retry in get_task_run() ran on the still-aborted transaction,
  so it was rejected with InFailedSqlTransaction and the original error was
  never surfaced. Roll back before retrying.
- test_api_task_run_get_recent_entry did not declare the fixture seeding its
  data, so it queried a database without the latest_task_run table at all
  (which is what aborted the transaction above).
- test_build_asset_jobs_data and test_get_job_status_requires_read_access
  asserted on job counts and job identity without flushing the Redis job
  cache, so leftover jobs from earlier tests (which @job_cache also reuses
  for identical requests) made them fail depending on test order. Both now
  use the existing clean_redis fixture.

Fixes #2302

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rbix8k1JfeUWNXEmHEZVpX
Pull Request #2303: Fix three long-standing failures on main (regressor splits on pandas 2.2+, swallowed CLI validation messages, task page 500)

25 of 29 new or added lines in 4 files covered. (86.21%)

273 existing lines in 10 files now uncovered.

14315 of 17610 relevant lines covered (81.29%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
88.24
-1.93% flexmeasures/data/schemas/utils.py
1
82.69
-1.62% flexmeasures/api/common/implementations.py
1
94.68
-0.19% flexmeasures/ui/__init__.py

Coverage Regressions

Lines Coverage ∆ File
131
70.81
-0.66% flexmeasures/cli/data_add.py
58
78.97
-0.04% flexmeasures/data/models/generic_assets.py
26
66.94
3.03% flexmeasures/app.py
13
93.36
-0.05% flexmeasures/api/common/utils/api_utils.py
11
87.06
-0.15% flexmeasures/ui/views/assets/forms.py
10
87.46
-0.04% flexmeasures/data/schemas/generic_assets.py
10
28.13
-15.63% flexmeasures/data/transactional.py
9
68.92
-0.41% flexmeasures/data/utils.py
3
76.92
0.0% flexmeasures/ui/views/assets/views.py
2
97.84
-1.45% flexmeasures/utils/config_defaults.py
Jobs
ID Job ID Ran Files Coverage
1 29183674716.1 12 Jul 2026 07:23AM UTC 168
81.29
GitHub Action Run
Source Files on build 29183674716
  • Tree
  • List 168
  • Changed 14
  • Source Changed 13
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29183674716
  • Pull Request #2303
  • PR Base - main (#29172455524)
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