Skip to content

Conversation

@sfc-gh-jmichalak
Copy link
Collaborator

@sfc-gh-jmichalak sfc-gh-jmichalak commented Oct 16, 2025

Adjust the assertions due to recent changes in Snowflake. Previously, MODULE was returned instead of MODEL. This behavior is now fixed in Snowflake.

  • There was no migration guide in fix: Add fix for model grants #3070, so I'm not adjusting it for now.
  • We can discuss whether to keep the object type replacement in that PR. However, this is not breaking anything for now.
  • I verified this change locally, so we can skip the tests in the PR.

@github-actions
Copy link

Integration tests cancelled for 356a92cfadd2b208ce7aae2efa4e7f990ff21950

@github-actions
Copy link

Account-level tests cancelled for 356a92cfadd2b208ce7aae2efa4e7f990ff21950

@github-actions
Copy link

Integration tests cancelled for 254b196ceade9a586150ceeb8fafab5a4f2da244

@github-actions
Copy link

Account-level tests cancelled for 254b196ceade9a586150ceeb8fafab5a4f2da244

PreConfig: func() { SetV097CompatibleConfigPathEnv(t) },
ExternalProviders: ExternalProviderWithExactVersion("0.95.0"),
Config: grantPrivilegesToAccountRoleOnFutureInDatabaseConfig(accountRoleName, []string{"USAGE"}, sdk.PluralObjectTypeModels, databaseName),
// Previously, we expected a non-empty plan, because Snowflake returned MODULE instead of MODEL in SHOW FUTURE GRANTS.
Copy link
Member

Choose a reason for hiding this comment

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

Now this step is not that useful (same in other test). I'm wondering if we need it since the behavior in Snowflake changed 🤔

@sfc-gh-jmichalak sfc-gh-jmichalak merged commit a4c03fe into dev Oct 16, 2025
9 of 11 checks passed
@sfc-gh-jmichalak sfc-gh-jmichalak deleted the fix-future-grant-tests branch October 16, 2025 08:58
sfc-gh-jmichalak pushed a commit that referenced this pull request Oct 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.9.0](v2.8.0...v2.9.0)
(2025-10-16)


### 🎉 **What's new:**

* Add new Oauth authorization code flow
([#4069](#4069))
([4f1bb1e](4f1bb1e))
* Add new Oauth client credentials flow
([#4065](#4065))
([4402ce3](4402ce3))
* add semantic view resource - 2
([#4051](#4051))
([b3a87ad](b3a87ad))
* add semantic view resource - 3
([#4061](#4061))
([a8695c3](a8695c3))


### 🔧 **Misc**

* Add a new protected role
([#4073](#4073))
([02d9393](02d9393))
* Add new tests command
([#4077](#4077))
([63d153b](63d153b))
* Add the note about terraform providers command to the namespace
migration guides
([#4085](#4085))
([11411aa](11411aa))
* Fix a typo in the roadmap
([#4095](#4095))
([00162a0](00162a0))
* Fix future grant tests
([#4100](#4100))
([a4c03fe](a4c03fe))
* Fix tests after new Snowflake release
([#4098](#4098))
([75a385f](75a385f))
* Introduce a new build tag for tests
([#4054](#4054))
([a019d82](a019d82))
* Passthrough environment variables in docker compose
([#4097](#4097))
([7c58fd1](7c58fd1))
* Use a custom role instead of PUBLIC in OAuth with client credentials
test
([#4070](#4070))
([33d7c61](33d7c61))


### 🐛 **Bug fixes:**

* Fix token authenticator for the token field
([#4081](#4081))
([886258e](886258e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: terraform-provider-release[bot] <205196624+terraform-provider-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants