Repository navigation
feat(multigrescluster): track sticky InitializedAt on first Healthy phase - #662
Merged
niconosenzo merged 3 commits intoSep 21, 2026
Merged
Conversation
niconosenzo
force-pushed
the
add-cluster-initialized-at
branch
from
September 18, 2026 06:16
3f9405b to
667c531
Compare
…hase Adds status.InitializedAt, set once when a cluster first reaches PhaseHealthy and never cleared on later Degraded transitions. Exposes it as an `initialized` label on multigres_operator_cluster_info so alerting can distinguish first-time bootstrap from a real incident on an established cluster. Signed-off-by: Nicolas Nosenzo <niconosenzo@gmail.com>
niconosenzo
force-pushed
the
add-cluster-initialized-at
branch
from
September 18, 2026 06:20
667c531 to
15c9a43
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Verolop
reviewed
Sep 18, 2026
Verolop
approved these changes
Sep 18, 2026
niconosenzo
force-pushed
the
add-cluster-initialized-at
branch
from
September 21, 2026 08:29
8433052 to
d8c6a94
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
/e2e |
|
✅ E2E tests success — View run |
Prevent an incomplete child cache from making a cluster vacuously Healthy. Compare observed Cells and TableGroups with the children expected from the cluster spec, and require the resolved managed global TopoServer when applicable. Keep the cluster Progressing while expected children are missing so InitializedAt is only recorded after genuine cluster readiness. External topology remains valid without a TopoServer child. Signed-off-by: Nicolas Nosenzo <niconosenzo@gmail.com>
niconosenzo
force-pushed
the
add-cluster-initialized-at
branch
from
September 21, 2026 10:47
d8c6a94 to
ad2564d
Compare
This comment has been minimized.
This comment has been minimized.
niconosenzo
enabled auto-merge (rebase)
September 21, 2026 11:23
🔬 Go Test Coverage ReportSummary
Status✅ PASS DetailShow New Coverage |
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.
Description
Adds status.InitializedAt, set once when a cluster first reaches PhaseHealthy and never cleared on later Degraded transitions. Exposes it as an
initializedlabel on multigres_operator_cluster_info so alerting can distinguish first-time bootstrap from a real incident on an established cluster.Summary of changes
MultigresClusterStatus.InitializedAt *metav1.Timefield, set once, sticky (first time phase reaches Healthy, never cleared).status.go: sets it right after phase computation, before the server-side patch.multigres_operator_cluster_infogauge: new initialized label ("true"|"false"), SetClusterInfo signature updated, controller call site updated.pkg/monitoring/doc.goexample + tests updated for the new signature.TestUpdateStatus_InitializedAtStickyproving it survives a later Degraded transition.Closes #669