Skip to content

fix(ui): resume cache metric polling after temporary failures - #6064

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/resume-cache-metrics-after-transient-errors
Dec 2, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/resume-cache-metrics-after-transient-errors

Conversation

@Aminark

@Aminark Aminark commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

A single 503 or connection failure disabled the affected cache reading for the lifetime of the detail panel. Even after the service recovered, the cache size or hit and miss counters stayed blank until the page was reopened.

Retry on the next scheduled poll. Stop requesting a measurement when the metric catalogue omits it or its endpoint returns 404. Only complete counter samples enter the interval chart. The regression test returns 503 for the first cache-size request and verifies that the recovered value appears on the next poll.

The UI suite passed locally (669 tests), as did the production build.

@Aminark
Aminark requested a review from a team as a code owner December 1, 2026 16:19
@SteKoe
SteKoe merged commit dbdb4fd into codecentric:master Dec 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants