Skip to content

command/init: Simplify how we block upgrading the PSS provider during init -upgrade#38690

Open
SarahFrench wants to merge 1 commit into
mainfrom
simplify-blocking-pss-upgrade-via-init
Open

command/init: Simplify how we block upgrading the PSS provider during init -upgrade#38690
SarahFrench wants to merge 1 commit into
mainfrom
simplify-blocking-pss-upgrade-via-init

Conversation

@SarahFrench
Copy link
Copy Markdown
Member

@SarahFrench SarahFrench commented Jun 5, 2026

In #38648 the provider download process was changed:

Previously the two steps were:

  1. Download providers based on configuration
  2. Download providers based on state

The process remains two steps but the new steps are:

  1. Download 0-1 provider if one is needed for PSS (PSS is in use)
  2. Download all other providers (configuration + state)

Because the first download step is specific to the provider used for state storage we can specifically block that provider being upgraded during init. We block upgrade unless the -reconfigure flag is supplied. Users see a warning when they perform an uprgade action and PSS is in use.

Prior to this, users would get an error if the upgrade process impacted the state store provider, now it's never impacts and warnings remind users to upgrade that provider via another command.

Target Release

1.16.x

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

…pgrade`, now that one download step is specific to the PSS provider.
@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Jun 5, 2026
@SarahFrench SarahFrench marked this pull request as ready for review June 5, 2026 17:05
@SarahFrench SarahFrench requested a review from a team as a code owner June 5, 2026 17:05
@SarahFrench SarahFrench requested a review from radeksimko June 5, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog-needed Add this to your PR if the change does not require a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant