Add disabled tasks support, tests, and doc#5486
Open
ricardoc-db wants to merge 5 commits intodatabricks:mainfrom
Open
Add disabled tasks support, tests, and doc#5486ricardoc-db wants to merge 5 commits intodatabricks:mainfrom
ricardoc-db wants to merge 5 commits intodatabricks:mainfrom
Conversation
tanmay-db
reviewed
Mar 19, 2026
jobs/job_test.go
Outdated
| }) | ||
| } | ||
|
|
||
| func TestAccJobDisabledTask(t *testing.T) { |
Contributor
There was a problem hiding this comment.
I ran the integration test locally and it failed with
expected task 'b' to have Disabled=true
From the logs, I don't see disabled as true in the API response, is this expected?
Author
There was a problem hiding this comment.
Removed the integration test from this PR as the field is not yet working in every single environment.
Integration test was moved to another PR: #5506
added 2 commits
March 23, 2026 07:48
…o SDK structs Replaces HTTPFixture-based test with MockWorkspaceClientFunc pattern using jobs.Task SDK structs. Removes unnecessary Disabled field from JobTaskSettings since the schema already picks it up via the SDK. Adds state assertions for the disabled attribute on both tasks. Co-authored-by: Isaac
Integration test moved to JOBS-27406-disabled-tasks-integration-test branch. Co-authored-by: Isaac
added 2 commits
March 23, 2026 09:07
|
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
6 tasks
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.
Changes
Add disabled tasks support, tests, and doc
Tests
make testrun locallydocs/folderinternal/acceptanceNEXT_CHANGELOG.mdfile