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

FlexMeasures / flexmeasures / 34282089360
85%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2026 09:54PM UTC
Jobs 1
Files 182
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

08 Sep 2026 09:42PM UTC coverage: 85.012% (+0.01%) from 85.002%
34282089360

push

github

web-flow
Status page: show every sensor it asks about, and stop asking about fixed-value sensors (#2489)

* Fix status page dropping sensors and asking about fixed-value sensors

The status page asks the status endpoint about each sensor separately and
collects the answers. A failing request used to be counted twice, because both
the "error" and the "complete" handler counted it, so the table was handed over
before the slower requests had come back — which sensors made it onto the page
then depended on which ones answered first.

The collecting is now a module of its own, fetchSensorStatuses, which waits for
every request and reports the sensors in the order they were given, so a sensor
that cannot be fetched no longer hides the ones that can.

Two of those requests could not succeed in the first place: fixed-value sensors
stand in for flex-config quantities, carry negative IDs and have no row in the
database, so they are no longer listed as sensors to report connectivity for.

Fixes #2478

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Add changelog entry for the status page fix

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* Keep the status page script classic, so its tables build first

Making the script a module made it deferred, so it registered its ready handler
after flexmeasures.js registered its own. The generic table setup in
flexmeasures.js then reached both tables first and built them with default
options, and the page's own calls failed as a reinitialisation — DataTables
warned about sensorStatusTable and jobsTable, and neither table had any rows.

The page content is rendered before flexmeasures.js is loaded, so a classic
script here registers first, and the generic setup finds both tables already
built and leaves them alone. sensor-status-utils.js is imported where it is
used instead, which needs no module script.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* black

Signed-off-by: Nicolas Höning <nicolas@seita.nl>... (continued)

2 of 2 new or added lines in 1 file covered. (100.0%)

18480 of 21738 relevant lines covered (85.01%)

0.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34282089360.1 08 Sep 2026 09:54PM UTC 182
85.01
GitHub Action Run
Source Files on build 34282089360
  • Tree
  • List 182
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34282089360
  • b5988630 on github
  • Prev Build on main (#34280535465)
  • Next Build on main (#34325410544)
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