-
Notifications
You must be signed in to change notification settings - Fork 127
Pass CLI auth to Python mutator subprocess #4172
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
varundeepsaini
wants to merge
4
commits into
databricks:main
Choose a base branch
from
varundeepsaini:pass-auth-to-python-mutator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pass CLI auth to Python mutator subprocess #4172
varundeepsaini
wants to merge
4
commits into
databricks:main
from
varundeepsaini:pass-auth-to-python-mutator
+210
−0
Conversation
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
andrewnester
approved these changes
Dec 29, 2025
Contributor
Author
shreyas-goenka
requested changes
Jan 8, 2026
Contributor
shreyas-goenka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking merge until we use auth.ProcessEnv.
601fbff to
b5aad29
Compare
Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
Signed-off-by: Varun Deep Saini <varun.23bcs10048@ms.sst.scaler.com>
b5aad29 to
5216e5c
Compare
Contributor
Author
|
@shreyas-goenka bump ^^ |
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
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.
Closes #4131
Changes
Pass authentication environment variables to the Python mutator subprocess, allowing
WorkspaceClient()to function without explicit authentication configuration.Why
Fixes issue where Python mutators couldn't use
WorkspaceClient()without manually passing auth arguments. The CLI now passesDATABRICKS_HOST,DATABRICKS_TOKEN, and other environment variables to the Python subprocess.Tests
bundle/python/workspace-client-auth) that creates aWorkspaceClient()and callscurrent_user.me()