Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

helper/resource: compatibility refresh after config mode test step (#496)#538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bbasata merged 1 commit intorelease/1.13.xfrombackport-refresh-after-config
Aug 15, 2025

Conversation

bbasata
Copy link
Collaborator

@bbasatabbasata commentedAug 14, 2025
edited
Loading

Related Issue

Backports#496 intorelease/1.13.x

cc:@BBBmau

Description

This change is intended to unlock an upgrade path from v1.5.1 to latest v1.13.1.

When "refresh after apply" is set to non-empty via an environment variable, a Config-mode test step will invoke a refresh before successful completion. This is intended as a compatibility measure for test cases that have different -- but semantically-equal -- state representations in their test steps. When comparing two states, the testing framework is not aware of semantic equality or set equality, as that would rely on provider logic.

A Config-mode test step that is followed by a Refresh-mode test step will not incur an extra refresh. This is a backward-compatible way for a provider to eventually remove the compatibility flag – existing tests can be updated to explicitly refresh, incrementally.

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

None

)* experimental: refresh after config mode test step* fixup! experimental: refresh after config mode test step* Skip an unnecessary refresh* Rename compatibility flag and extract to compatibility.go* Add header* Use an environment variable* logging > fmt* Add changelog entry
@bbasatabbasata marked this pull request as ready for reviewAugust 14, 2025 20:32
@bbasatabbasata requested a review froma team as acode ownerAugust 14, 2025 20:32
@bbasatabbasata merged commitc569860 intorelease/1.13.xAug 15, 2025
42 checks passed
@bbasatabbasata deleted the backport-refresh-after-config branchAugust 15, 2025 14:51
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsSep 14, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@austinvalleaustinvalleaustinvalle approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@bbasata@austinvalle

[8]ページ先頭

©2009-2025 Movatter.jp