Skip to content

Show the component group status in the system status view - #503

Merged
jbrooksuk merged 2 commits into
cachethq:mainfrom
jayhemnani9910:fix/system-status-group-status
Nov 30, 2026
Merged

jbrooksuk merged 2 commits into
cachethq:mainfrom
jayhemnani9910:fix/system-status-group-status

Conversation

@jayhemnani9910

Copy link
Copy Markdown
Contributor

Fixes #484.

With "Display system status" on, the status page uses the system status list, and its group rows ignore "Show component group status": a collapsed group always shows a green check, even when one of its components has a major outage.

The group row now uses the group's worst component status, with the same icon and colour the component rows use, when the setting is on. With the setting off it shows no status icon, like the other status page view.

Tests in StatusPageTest: a group with a major outage component, with the setting on and off. Both fail on main. Full suite: same 2 failures as main (the two SVG badge tests), everything else passes.

jayhemnani9910 and others added 2 commits November 30, 2026 14:59
Use the statuses already computed for visible component rows so the group icon agrees with its details without additional database queries.

Amp-Thread-ID: https://ampcode.com/threads/T-01a22bfd-d3ec-706d-a245-8ed12527ee83
Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: James Brooks <jbrooksuk@me.com>
@jbrooksuk
jbrooksuk force-pushed the fix/system-status-group-status branch from 1ad5fa7 to 463e492 Compare November 30, 2026 15:52
@jbrooksuk
jbrooksuk merged commit 29a1c87 into cachethq:main Nov 30, 2026
23 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.

Show component group status fails, when Display system status is set

3 participants