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

FlexMeasures / flexmeasures / 30485697069
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: test-1947-multi-session-same-sensor
DEFAULT BRANCH: main
Ran 29 Jul 2026 07:57PM UTC
Jobs 1
Files 171
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

29 Jul 2026 07:43PM UTC coverage: 83.058% (+0.05%) from 83.007%
30485697069

Pull #2367

github

Flix6x
fix: ground nominal durations, fix session-var persistence, address round-4 nits

- EventWindowSchema.derive_missing_bound added/subtracted `duration` from a
  datetime directly, which raises a TypeError for nominal durations (e.g.
  "P1M", a calendar month) that deserialize to isodate.Duration rather than
  timedelta. Now grounds via DurationField.ground_from(), matching the
  pattern already used elsewhere (data/schemas/sensors.py,
  data/schemas/scheduling). Added regression tests for both directions.
- get_chart (dev/sensors.py and v3_0/assets.py) persisted the selected time
  range into the session by reading request.values for the legacy
  event_starts_after/event_ends_before keys only, so a client using the new
  canonical start/end params wouldn't get their window remembered across UI
  page loads. Now merges the already-alias-resolved kwargs into
  request.values first, mirroring the existing pattern used by the
  default_asset_view/keep_legends_below_graphs session vars a few hundred
  lines down in the same file. Added a regression test.
- Shortened the two new main-changelog bullets to match the terse,
  user-facing style of surrounding entries.
- Rewrapped three docstrings that broke lines mid-sentence instead of after
  punctuation.

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Pull Request #2367: fix: let annotation searches filter by belief time

93 of 100 new or added lines in 7 files covered. (93.0%)

56 existing lines in 3 files now uncovered.

16154 of 19449 relevant lines covered (83.06%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
81.33
-0.58% flexmeasures/api/v3_0/assets.py
3
73.12
5.0% flexmeasures/api/dev/sensors.py

Coverage Regressions

Lines Coverage ∆ File
32
81.33
-0.58% flexmeasures/api/v3_0/assets.py
17
73.12
5.0% flexmeasures/api/dev/sensors.py
7
86.01
0.7% flexmeasures/ui/utils/view_utils.py
Jobs
ID Job ID Ran Files Coverage
1 30485697069.1 29 Jul 2026 07:57PM UTC 171
83.06
GitHub Action Run
Source Files on build 30485697069
  • Tree
  • List 171
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30485697069
  • Pull Request #2367
  • PR Base - main (#30451093351)
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