Add relative path translation for alert_task.workspace_path in job tasks#4836
Merged
shreyas-goenka merged 1 commit intomainfrom Apr 28, 2026
Merged
Add relative path translation for alert_task.workspace_path in job tasks#4836shreyas-goenka merged 1 commit intomainfrom
shreyas-goenka merged 1 commit intomainfrom
Conversation
7bcabc7 to
39fc774
Compare
Collaborator
|
Commit: 825581a
17 interesting tests: 10 SKIP, 7 RECOVERED
Top 29 slowest tests (at least 2 minutes):
|
39fc774 to
3f84960
Compare
shreyas-goenka
commented
Mar 26, 2026
| RecordRequests = false | ||
| Ignore = ["databricks.yml", ".databricks"] | ||
|
|
||
| [EnvMatrix] |
Contributor
Author
There was a problem hiding this comment.
the current TF version does not support this yet.
3f84960 to
825581a
Compare
…tasks Co-authored-by: Isaac
825581a to
97e8f35
Compare
denik
approved these changes
Apr 28, 2026
Contributor
Author
|
Integration test failures are unrelated. |
1 task
deco-sdk-tagging Bot
added a commit
that referenced
this pull request
Apr 29, 2026
## Release v0.299.0 ### CLI * Moved file-based OAuth token cache management from the SDK to the CLI. No user-visible change; part of a three-PR sequence that makes the CLI the sole owner of its token cache ([#5056](#5056)). * Remove the `--experimental-is-unified-host` flag and stop reading `experimental_is_unified_host` from `.databrickscfg` profiles and the `DATABRICKS_EXPERIMENTAL_IS_UNIFIED_HOST` env var. Unified hosts are now detected exclusively from `/.well-known/databricks-config` discovery. The `experimental_is_unified_host` field is retained as a no-op in `databricks.yml` for schema compatibility ([#5047](#5047)). * Added interactive pagination for list commands that have a row template (jobs, clusters, apps, pipelines, etc.). When stdin, stdout, and stderr are all TTYs, `databricks <resource> list` now streams 50 rows at a time and prompts `[space] more [enter] all [q|esc] quit`. ENTER can be interrupted by `q`/`esc`/`Ctrl+C` between pages. Colors and alignment match the existing non-paged output; column widths stay stable across pages. Piped output and `--output json` are unchanged ([#5015](#5015)). * Added experimental OS-native secure token storage opt-in via `DATABRICKS_AUTH_STORAGE=secure`. Legacy file-backed token storage remains the default ([#5008](#5008), [#5013](#5013)). * Fixed a panic in `databricks warehouses update-default-warehouse-override` when invoked without all required positional arguments (e.g. picking a warehouse from the interactive drop-down and then hitting an index-out-of-range crash). The command now validates arguments up front and returns a usage error. Fixes [#5070](#5070) via [#5079](#5079). ### Bundles * Translate relative paths in `alert_task.workspace_path` on job tasks to fully qualified workspace paths, matching the behavior of other task path fields. Applies to both regular tasks and `for_each_task` nested tasks ([#4836](#4836)). ### Dependency updates * Added `github.com/zalando/go-keyring` as a new dependency (dormant until a later release enables experimental secure-storage for OAuth tokens) ([#5008](#5008)).
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.
Summary
alert_task.workspace_pathto the job task path rewrite patterns so relative paths (e.g../my_alert.dbalert.json) are translated to full workspace pathsfor_each_tasknested tasks viaTranslateModeFileTest plan
TestVisitJobPaths,TestVisitJobPaths_foreach)TestTranslatePathsInSubdirectories)acceptance/bundle/resources/jobs/alert-task) — deploys a job withalert_task.workspace_path, reads it back viajobs get, and asserts the fully qualified workspace path. Runs on both local (mock server) and cloud, on both terraform and direct engines.This pull request was AI-assisted by Isaac.