Skip to content

cli/verify: expose latest transition on verify#2187

Open
davidweisse wants to merge 1 commit intomainfrom
dav/expose-transitions
Open

cli/verify: expose latest transition on verify#2187
davidweisse wants to merge 1 commit intomainfrom
dav/expose-transitions

Conversation

@davidweisse
Copy link
Member

This returns the LatestTransition object on contrast verify and writes the latest transition hash to the verify directory. Obtaining the signature of the latest transition is a prerequisite for recovering the Coordinator config map history. The transition hash can be used during contrast set to disallow updates to an unknown Coordinator state.

Returning the transition hash here is not strictly necessary as it can be recomputed using the manifest history already returned by contrast verify but this makes it easier and allows, e.g., passing a transition hash directly per command line flag during contrast set.

We don't write the signature to the verify directory. I'm currently planning on integrating the config map recovery into the verify subcommand, since in this step we get everything we need to reconstruct the config map history, so there is no need for the user to see the signature.

@davidweisse davidweisse added the changelog PRs that should be part of the release notes label Feb 17, 2026
@burgerdev burgerdev self-assigned this Feb 18, 2026
@davidweisse davidweisse force-pushed the dav/expose-transitions branch from 475e720 to d6fdaad Compare February 23, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog PRs that should be part of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants