Skip to content

chore(database): drop the never-read haConversionConfig from the CLI's config shape - #1161

Merged
paulocsanz merged 1 commit into
masterfrom
pcs/ha-revert-scope-and-root-targeting
Aug 31, 2026
Merged

chore(database): drop the never-read haConversionConfig from the CLI's config shape#1161
paulocsanz merged 1 commit into
masterfrom
pcs/ha-revert-scope-and-root-targeting

Conversation

@paulocsanz

@paulocsanz paulocsanz commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Rebased onto v5.47.0 and rescoped: this branch's original content — the image-lineage-scoped revert debris sweep and any-member-to-root resolution — landed via #1159. What remains is the one piece #1159 didn't carry:

The CLI's ServiceInstance config struct parsed haConversionConfig (and its role selectors) but nothing ever read it — by design: conversion bounds are read from the companion template record, the same record the server-side gate reads, because a standalone service's own copy can be partial, stale, or absent entirely (the redis template carries none, and the postgres slot shipped a stale one that offered even-voter cluster sizes). Keeping the field parsed was an invitation for a future call site to trust the service's copy and silently skip the real bounds for exactly the engines that need them.

Removed, with a note on the struct saying why it is absent.

cargo test — 1310 pass; cargo clippy / cargo fmt clean.

…s config shape

The CLI's ServiceInstance config struct parsed haConversionConfig (and its
role selectors) but nothing ever read it -- by design: conversion bounds are
read from the COMPANION template record, the same record the server-side
gate reads, because a standalone service's own copy can be partial, stale,
or absent entirely (the redis template carries none, and the postgres slot
shipped a stale one that offered even-voter cluster sizes). Keeping the
field parsed was an invitation for a future call site to trust the service's
copy and silently skip the real bounds for exactly the engines that need
them. Remove it, with a note on the struct saying why it is absent.

The rest of this branch's original content -- the image-lineage-scoped
revert sweep and any-member-to-root resolution -- landed via #1159
(v5.47.0).
@paulocsanz
paulocsanz force-pushed the pcs/ha-revert-scope-and-root-targeting branch from 04a9936 to 5cdd898 Compare August 31, 2026 22:26
@paulocsanz paulocsanz changed the title fix(database): scope revert's debris sweep to the engine's own cluster; resolve any member to its root chore(database): drop the never-read haConversionConfig from the CLI's config shape Aug 31, 2026
@paulocsanz
paulocsanz merged commit 116cdc8 into master Aug 31, 2026
9 checks passed
@paulocsanz
paulocsanz deleted the pcs/ha-revert-scope-and-root-targeting branch August 31, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Author patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant