ci(snowflake): allow tests to use WIF auth - #1954
Merged
Merged
Conversation
ragesh-g
force-pushed
the
ragesh/snowflake-wif-setup
branch
from
May 19, 2026 15:21
b911b9c to
0393e93
Compare
ragesh-g
force-pushed
the
ragesh/snowflake-wif-setup
branch
from
May 19, 2026 16:41
0393e93 to
7efa8ea
Compare
ragesh-g
force-pushed
the
ragesh/snowflake-wif-setup
branch
from
May 19, 2026 16:48
7efa8ea to
105a556
Compare
ragesh-g
marked this pull request as ready for review
May 19, 2026 17:33
ragesh-g
force-pushed
the
ragesh/snowflake-wif-setup
branch
from
May 19, 2026 17:37
105a556 to
6bfc693
Compare
colin-k-rogers
approved these changes
May 19, 2026
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.
resolves N/A
Problem
The
integration-tests-snowflakeCI job can't authenticate via Workload Identity Federation, blocking the WIF functional test in #1316.Solution
id-token: writeto the snowflake job so the runner exposes the OIDC env vars (ACTIONS_ID_TOKEN_REQUEST_URL/ACTIONS_ID_TOKEN_REQUEST_TOKEN) to the test process.SNOWFLAKE_TEST_WIF_USERenv var pointing at a dedicated WIF service user (separate fromSNOWFLAKE_TEST_USERbecause Snowflake WIF requiresTYPE = SERVICE, which can't have password auth).Currently unused. Consumed by #1316; landing first so the consuming PR has the infra it needs (
pull_request_targetworkflows load YAML frommain).Testing
[gw3] [ 50%] PASSED tests/functional/auth_tests/test_workload_identity_federation_oidc.py::TestSnowflakeWorkloadIdentityFederation::test_snowflake_wif_basic_functionalityRan the test against the PR #1316
Checklist