Skip to content

Sort skipped healthchecks last in check displays#230

Open
passcod wants to merge 1 commit into
mainfrom
sort-skipped-checks-last
Open

Sort skipped healthchecks last in check displays#230
passcod wants to merge 1 commit into
mainfrom
sort-skipped-checks-last

Conversation

@passcod

@passcod passcod commented Jun 18, 2026

Copy link
Copy Markdown
Member

🤖 Sort the healthchecks so skipped ones appear at the end of the list.

CHECK_RESULT_ORDER drives the display sort in the server detail view's checks table (and the status snapshot, which shares the same ordering). Previously skipped sat between broken and passed; this moves it to the very end, since a skipped check ran no assertion and is the least interesting result to surface. Within each result group checks remain sorted alphabetically.

Added Playwright coverage in health.spec.ts that seeds failed/passed/skipped checks (with names whose alphabetical order is the reverse of the expected result order) and asserts the rendered vertical order is failed → passed → skipped.

Move "skipped" to the end of CHECK_RESULT_ORDER so skipped checks
sort after passing ones in the server detail view (and the status
snapshot, which shares the same ordering). A skipped check ran no
assertion, so it's the least interesting to surface.
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.

1 participant