Repository navigation
fix: auto-recovered incidents in insights, disabled checks in status page rollup - #893
Merged
Merged
Conversation
…b/solidping-business#82, fclairamb/solidping-business#83) The incident insights page showed 0 auto-recovered incidents. The check state machine's recovery path (resolveIncident, server/internal/handlers/ incidents/service.go) never wrote resolution_type, so every incident closed by its check recovering kept NULL and landed in "other". It now writes "auto" (row, in-memory incident and resolved-event payload), and insights reads a NULL type on a resolved row as auto so past data is right without a backfill. Tests: TestCheckRecoveryResolvesWithAutoType and TestCompute_NullResolutionTypeCountsAsAuto, both failing before the fix. Closes fclairamb/solidping-business#82 Closes fclairamb/solidping-business#83 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…olidping-business#84) A status page with disabled checks read "System outage, 189 of 200 operational": a disabled check keeps the status it had when it was turned off (often down), and enrichResourceInfo (server/internal/handlers/ statuspages/service.go) fed every check resource to RollupPageStatus. A disabled check is now skipped there, so it neither sets the overall status nor counts in the total, matching how group rollups already ignore disabled members. Test: new disabled-check case in TestViewStatusPage_OverallStatus, failing before the fix. Closes fclairamb/solidping-business#84 Co-Authored-By: Claude Opus 5.5 <[email protected]>
fclairamb
enabled auto-merge (squash)
November 15, 2026 23:16
Merged
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #893 +/- ##
==========================================
+ Coverage 90.71% 90.72% +0.01%
==========================================
Files 1370 1370
Lines 140850 140857 +7
==========================================
+ Hits 127769 127795 +26
+ Misses 13072 13053 -19
Partials 9 9
🚀 New features to boost your workflow:
|
fclairamb
added a commit
that referenced
this pull request
Nov 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.50.2](v0.50.1...v0.50.2) (2026-11-15) ### Bug Fixes * auto-recovered incidents in insights, disabled checks in status page rollup ([#893](#893)) ([450955d](450955d)) * **deps:** update go.opentelemetry.io/otel/sdk/log to v1.47.0 ([#889](#889)) ([55775c6](55775c6)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
auto, and insights count a resolved incident with no type as auto (fixes past data with no migration).Closes fclairamb/solidping-business#82
Closes fclairamb/solidping-business#83
Closes fclairamb/solidping-business#84
Follow-up (not done)
A check disabled while down still shows its red card on the status page; hiding it or showing it as disabled is a product decision.
🤖 Generated with Claude Code