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

FlexMeasures / flexmeasures / 29721054646
83%

Build:
DEFAULT BRANCH: main
Ran 20 Jul 2026 06:26AM 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

20 Jul 2026 06:13AM UTC coverage: 82.099% (-0.002%) from 82.101%
29721054646

push

github

web-flow
refactor: derive the UI flex-model schema from the DB schema (#2330)

* refactor: derive the UI flex-model schema from the DB schema

Make DBStorageFlexModelSchema the single source of truth for which
flex-model fields the UI editor exposes. UI_FLEX_MODEL_SCHEMA is now built
by iterating the DB schema's fields against a per-field UI-presentation
registry; a DB field without a presentation entry raises at import time,
so adding a flex-model field can no longer silently break DB/UI parity.

The rendered UI_FLEX_MODEL_SCHEMA is identical (key-for-key, value-for-value)
to the previous hand-maintained dict, verified by a committed baseline
fixture and a guardrail test. The parity test is repurposed to assert each
derived entry is well-formed. OpenAPI spec is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MLCUiSdXDqDBmg8GbYp1B
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Address review: drop the baseline guardrail and the changelog entry

The baseline-equivalence test and its JSON fixture proved the derived UI
schema matches the old one; that's done, so remove them (the well-formedness
test remains). Drop the changelog entry too - this is an internal refactor.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MLCUiSdXDqDBmg8GbYp1B
Signed-off-by: F.N. Claessen <claessen@seita.nl>

---------

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

13 of 16 new or added lines in 1 file covered. (81.25%)

15314 of 18653 relevant lines covered (82.1%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
92.91
-0.47% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 29721054646.1 20 Jul 2026 06:26AM UTC 171
82.1
GitHub Action Run
Source Files on build 29721054646
  • Tree
  • List 171
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29721054646
  • 36be1204 on github
  • Prev Build on main (#29662786777)
  • Next Build on main (#29753161502)
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