Uh oh!
There was an error while loading. Please reload this page.
Add relative path translation for alert_task.workspace_path in job tasks - #4836
Merged
Conversation
shreyas-goenkaforce-pushed
the
alert-task-workspace-path
branch
from
March 26, 2026 14:18
7bcabc7 to
39fc774Compareshreyas-goenkatemporarily deployed
to
test-trigger-is
March 26, 2026 14:18 — with
GitHub Actions
Inactive
Collaborator
Commit: 825581a
17 interesting tests: 10 SKIP, 7 RECOVERED
Top 29 slowest tests (at least 2 minutes):
|
shreyas-goenkaforce-pushed
the
alert-task-workspace-path
branch
from
March 26, 2026 15:30
39fc774 to
3f84960Compareshreyas-goenkatemporarily deployed
to
test-trigger-is
March 26, 2026 15:31 — with
GitHub Actions
Inactive
| RecordRequests = false | ||
| Ignore = ["databricks.yml", ".databricks"] | ||
| [EnvMatrix] |
ContributorAuthor
There was a problem hiding this comment.
the current TF version does not support this yet.
shreyas-goenkaforce-pushed
the
alert-task-workspace-path
branch
from
March 26, 2026 15:38
3f84960 to
825581aCompareshreyas-goenkatemporarily deployed
to
test-trigger-is
March 26, 2026 15:39 — with
GitHub Actions
Inactive
shreyas-goenka
marked this pull request as ready for review
March 26, 2026 15:40
shreyas-goenka
requested review from
andrewnester, anton-107, denik, pietern and simonfaltum
as code ownersMarch 26, 2026 15:40
simonfaltum
removed their request for review
April 13, 2026 09:13
…tasks Co-authored-by: Isaac
shreyas-goenkaforce-pushed
the
alert-task-workspace-path
branch
from
April 28, 2026 06:50
825581a to
97e8f35Compareshreyas-goenkatemporarily deployed
to
test-trigger-is
April 28, 2026 06:50 — with
GitHub Actions
Inactive
shreyas-goenkatemporarily deployed
to
test-trigger-is
April 28, 2026 06:50 — with
GitHub Actions
Inactive
denik
approved these changes
Apr 28, 2026
shreyas-goenka
commented
Apr 28, 2026
ContributorAuthor
Integration test failures are unrelated. |
Uh oh!
There was an error while loading. Please reload this page.
1 task
deco-sdk-taggingBot
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)).
denik pushed a commit
that referenced
this pull request
May 20, 2026
…sks (#4836) ## Summary - Add `alert_task.workspace_path` to the job task path rewrite patterns so relative paths (e.g. `./my_alert.dbalert.json`) are translated to full workspace paths - Covers both regular tasks and `for_each_task` nested tasks via `TranslateModeFile` ## Test plan - [x] Unit tests for path visitor (`TestVisitJobPaths`, `TestVisitJobPaths_foreach`) - [x] Unit test for path translation (`TestTranslatePathsInSubdirectories`) - [x] Acceptance test (`acceptance/bundle/resources/jobs/alert-task`) — deploys a job with `alert_task.workspace_path`, reads it back via `jobs 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.
denik pushed a commit
that referenced
this pull request
May 20, 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 freeto 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.