Skip to content

Conversation

@SarahFrench
Copy link
Member

Addresses feedback here: #37899 (comment)

Target Release

N/A

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.

@SarahFrench SarahFrench added the no-changelog-needed Add this to your PR if the change does not require a changelog entry label Nov 26, 2025
@SarahFrench SarahFrench marked this pull request as ready for review November 26, 2025 13:37
@SarahFrench SarahFrench requested a review from a team as a code owner November 26, 2025 13:37
@SarahFrench SarahFrench enabled auto-merge (squash) November 28, 2025 13:04
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for following-up, just left one minor suggestion

// don't yet.
panic("provider does not implement providers.StateStoreChunkSizeSetter interface. This is a bug in Terraform and should be reported.")
}
cs := p.provider.(providers.StateStoreChunkSizeSetter)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cs := p.provider.(providers.StateStoreChunkSizeSetter)
// If we reached this point with a non-pluggable backend then that's certainly a bug.
// TODO: Introduce compile-time guard via pluggable interface for the entire provider
cs := p.provider.(providers.StateStoreChunkSizeSetter)

@SarahFrench SarahFrench merged commit 64015ca into main Nov 28, 2025
18 of 19 checks passed
@SarahFrench SarahFrench deleted the sarah/refactor-panic-setting-chunk-size branch November 28, 2025 13:48
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.

2 participants