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

FlexMeasures / flexmeasures / 29949045536
83%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2026 07:12PM 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

22 Jul 2026 06:59PM UTC coverage: 82.787% (+0.01%) from 82.776%
29949045536

push

github

web-flow
Show inherited flex-context fields in the flex-context editor (#2346)

* feat: show the resolved flex-context on the asset context page

Scheduling an asset resolves its flex-context by filling in missing
fields from ancestors, which made it hard to see in the UI which values
a schedule would actually use. The context page now shows the resulting
flex-context, saying for each field whether it is set on the asset
itself or inherited, with a link to the defining ancestor.

The merge logic in get_flex_context is refactored to track each field's
origin (get_flex_context_with_provenance), keeping a single source of
truth for the resolution order. Saving the flex-context editor now
reloads the page, so the table reflects the saved changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015qxM7UZ5wHTz3ftz1Mf9yy
Signed-off-by: F.N. Claessen <felix@seita.nl>

* test: cover flex-context provenance and its display on the context page

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015qxM7UZ5wHTz3ftz1Mf9yy
Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: changelog entry for the resolved flex-context view

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015qxM7UZ5wHTz3ftz1Mf9yy
Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: refresh the resolved flex-context in place, and link sensor references

Saving the flex-context editor no longer reloads the page: the table is
extracted into a fragment template, served by a new
/assets/<id>/context/resolved-flex-context endpoint, which the page
fetches after a successful save. Sensor references in field values now
render as links to the sensor pages, labeled with the sensor's name,
for sensors the user is allowed to read.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015qxM7UZ5wHTz3ftz1Mf9yy
Si... (continued)

11 of 11 new or added lines in 2 files covered. (100.0%)

15814 of 19102 relevant lines covered (82.79%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29949045536.1 22 Jul 2026 07:12PM UTC 171
82.79
GitHub Action Run
Source Files on build 29949045536
  • Tree
  • List 171
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29949045536
  • 69d87b2a on github
  • Prev Build on main (#29948808031)
  • Next Build on main (#29994092576)
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