Skip to content

fix(server): drop cached health groups removed by a deployment - #6061

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/expire-removed-health-groups
Dec 2, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/expire-removed-health-groups

Conversation

@Aminark

@Aminark Aminark commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

When a deployment removed its last health group, the next Actuator health document omitted groups. Admin retained the previous list for the same instance ID and continued advertising groups that no longer existed.

Clear the cached list when a health document with a status omits the field. A gateway error document leaves the last known list intact. The tests start with a cached readiness group and exercise both responses through the status updater.

The server module suite passed on Java 17 (553 passed, 5 Docker-dependent tests skipped).

@Aminark
Aminark requested a review from a team as a code owner December 1, 2026 16:19
@SteKoe
SteKoe merged commit 10fdb39 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