acc: add empty-grants invariant config, disable failing migrate variant - #6055
Merged
Conversation
Adds a schema_empty_grants invariant config (schema with grants: []) found by fuzz testing. The migrate variant fails because Terraform records no grants resource for an empty list, so the direct plan shows a spurious grants -> create after migrate. That variant is disabled in migrate/test.toml with a comment containing the full error; the other invariants pass and keep running it.
denik
approved these changes
Jul 24, 2026
radakam
marked this pull request as ready for review
July 24, 2026 07:40
Collaborator
Integration test reportCommit: 51dbbc1
8 interesting tests: 4 RECOVERED, 4 SKIP
Top 3 slowest tests (at least 2 minutes):
|
Collaborator
Integration test reportCommit: e5a3bb4
46 interesting tests: 30 flaky, 8 FAIL, 5 RECOVERED, 2 SKIP, 1 KNOWN
Top 50 slowest tests (at least 2 minutes):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
schema_empty_grantsacceptance invariant (a schema withgrants: []), found by fuzz testing. Because Terraform records no grants resource for an empty list, the direct engine's post-migrate plan shows a spuriousgrants -> create, so that one migrate variant is disabled inmigrate/test.toml(with the full error in a comment) while the other invariants keep running.