Uh oh!
There was an error while loading. Please reload this page.
Added databricks apps run-local command to run Databricks apps locally - #2555
Conversation
databricks apps run-local command to run Databricks apps locallyb0d93ba to
38a9da0CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
d8c46e8 to
49cec06CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| return errors.New("process killed after timeout") | ||
| } | ||
| } |
There was a problem hiding this comment.
For follow-up: some wrappers accept a double SIGINT to force kill the wrapped process. With the current approach, the user has to wait for 15 seconds if the wrapped process ignores SIGINT.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
## Release v0.250.0 ### Notable Changes * Added inline script execution support to bundle run. You can now run scripts in the same authentication context as a DAB using the databricks bundle run command. ([#2413](#2413)) ### Dependency updates * Upgrade TF provider to 1.75.0 ([#2775](#2775)) * Upgrade Go SDK to 0.65.0 ([#2786](#2786)) ### CLI * Added `databricks apps run-local` command to run Databricks apps locally ([#2555](#2555)) ### Bundles * Raise an error when Unity Catalog volumes are used for paths other than artifacts ([#2754](#2754)) * Fixed issue with jobs and pipelines declared in Python not showing in "Bundle resource explorer" in VSCode ([#2764](#2764)) * Made `experimental/python/mutators` and `experimental/python/resources` fields optional in JSON schema ([#2761](#2761)) * Annotated deprecated fields in JSON schema ([#2770](#2770))
Uh oh!
There was an error while loading. Please reload this page.
…lly (#2555) ## Changes Added `databricks apps run-local` command to run Databricks apps locally. This command allows to start the Databricks app locally. It starts app proxy which is used to proxy request to the app itself and injects necessary Databricks app related headers. The command support the following options: * `--prepare-environment`: will setup Python virtual environment and install necessary libraries. It uses `uv` * `--debug`: starts a Python debugger (based on debugpy) which allows you to attach your IDE debugger to running app. * `--port`: allows to configure which port to start proxy on * `--entry-point`: allows to configure which YAML file to use for Databricks app configuration. ## Tests Added acceptance test <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. --> --------- Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
## Release v0.250.0 ### Notable Changes * Added inline script execution support to bundle run. You can now run scripts in the same authentication context as a DAB using the databricks bundle run command. ([#2413](#2413)) ### Dependency updates * Upgrade TF provider to 1.75.0 ([#2775](#2775)) * Upgrade Go SDK to 0.65.0 ([#2786](#2786)) ### CLI * Added `databricks apps run-local` command to run Databricks apps locally ([#2555](#2555)) ### Bundles * Raise an error when Unity Catalog volumes are used for paths other than artifacts ([#2754](#2754)) * Fixed issue with jobs and pipelines declared in Python not showing in "Bundle resource explorer" in VSCode ([#2764](#2764)) * Made `experimental/python/mutators` and `experimental/python/resources` fields optional in JSON schema ([#2761](#2761)) * Annotated deprecated fields in JSON schema ([#2770](#2770))
Changes
Added
databricks apps run-localcommand to run Databricks apps locally.This command allows to start the Databricks app locally. It starts app proxy which is used to proxy request to the app itself and injects necessary Databricks app related headers.
The command support the following options:
--prepare-environment: will setup Python virtual environment and install necessary libraries. It usesuv--debug: starts a Python debugger (based on debugpy) which allows you to attach your IDE debugger to running app.--port: allows to configure which port to start proxy on--entry-point: allows to configure which YAML file to use for Databricks app configuration.Tests
Added acceptance test