Fix crash when error happens during reading databricks_job#5110
Merged
Fix crash when error happens during reading databricks_job#5110
databricks_job#5110Conversation
The crash occurred when reading a job and backend returned an error, so the `job` became `nil`, but we still tried to access fields inside the struct, instead of returning the error immediately.
rauchy
approved these changes
Oct 17, 2025
tanmay-db
approved these changes
Oct 17, 2025
Contributor
|
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. |
deco-sdk-tagging bot
added a commit
that referenced
this pull request
Oct 21, 2025
## Release v1.94.0 ### Bug Fixes * Fix crash when error happens during reading `databricks_job` ([#5110](#5110)) * Fix `ADMIN` assignment in `databricks_permission_assignment` resource ([#5109](#5109)) ### Documentation * Document `table_update` trigger in `databricks_job` resource ([#5107](#5107)) * Document new attributes in `databricks_app` resource and data sources ([#5108](#5108)) * Document `git_email` in `databricks_git_credential` resource ([#5099](#5099)) * Update `CONTRIBUTING` guidelines for migrating resources to plugin framework ([#5121](#5121)) ### Internal Changes * Add provider_config support for plugin framework ([#5104](#5104)) * Refactor `catalog_test.go` to use internal plan checks ([#5112](#5112)).
andrewnester
added a commit
to databricks/cli
that referenced
this pull request
Oct 22, 2025
## Changes Upgrade TF provider to 1.94.0 ## Why Includes a fix for a crash when an error happens during reading databricks_job (databricks/terraform-provider-databricks#5110) Fixes #3783
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
The crash occurred when reading a job and backend returned an error, so the
jobbecamenil, but we still tried to access fields inside the struct, instead of returning the error immediately.Tests
make testrun locallydocs/folderinternal/acceptanceNEXT_CHANGELOG.mdfile