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

FlexMeasures / flexmeasures / 29182464850
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: fix/latest-task-run-timestamp
DEFAULT BRANCH: main
Ran 12 Jul 2026 06:35AM 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 06:18AM UTC coverage: 81.294% (-0.06%) from 81.355%
29182464850

Pull #2303

github

Flix6x
fix: three long-standing failures on main

- Forecasting with past/future regressors raised a TypeError on pandas 2.2+:
  _slice_closed used the deprecated Series.view("int64") detour and then
  set values into an existing column with .loc[:, col], which validates
  against that column's dtype. Search the datetime64 values directly, and
  replace the column instead of setting into it.
- CLI validation messages were swallowed for every marshmallow-typed option:
  since the click 8.2 upgrade (#2219) removed the click.ParamType base,
  click wraps these fields in FuncParamType, whose convert() reports the
  offending *value* and discards the reason. Raise a click error carrying the
  validation message instead (the ParamType base stays off, to keep the
  Python 3.10 MRO fix intact).
- The task detail page returned a 500 for jobs whose meta data is not
  JSON-serializable, because rq-dashboard serializes meta with a bare
  json.dumps(). Give it a tolerant default (see rq-dashboard#510).

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 28 new or added lines in 3 files covered. (89.29%)

273 existing lines in 10 files now uncovered.

14315 of 17609 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
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 29182464850.1 12 Jul 2026 06:35AM UTC 168
81.29
GitHub Action Run
Source Files on build 29182464850
  • Tree
  • List 168
  • Changed 13
  • Source Changed 12
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29182464850
  • 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