You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add app-appkit to databricks bundle init by calling the existing databricks apps init initializer. The production template remains in databricks/appkit.
Support non-interactive initialization with --config-file and project_name, and update help and changelog.
Why
AppKit apps use bundles for deployment. Listing AppKit in bundle init lets users discover and scaffold one alongside the other bundle templates.
Tests
Existing apps init acceptance tests cover AppKit initializer options. The new bundle init app-appkit acceptance test covers non-interactive config-file handling and validation, deploy, and destroy of the generated bundle using a small local test fixture.
./task checks and GOTOOLCHAIN=go1.26.9 ./task lint-go passed. PR CI passed across Linux, macOS, and Windows, including integration tests.
An AppKit 0.76.1 scaffold initialized with closed stdin passed strict validation. On dogfood, the app reached ACTIVE and its deployment reached SUCCEEDED; the temporary app was deleted.
The thing I don't like about this is that we are now duplicating the appkit template into 2 places and we don't have a source of truth anymore, is there anything we can do to change this? can we maybe make databricks bundle init when choosing appkit an alias of databricks apps init or something like that? just my opinion 😄
The thing I don't like about this is that we are now duplicating the appkit template into 2 places and we don't have a source of truth anymore, is there anything we can do to change this? can we maybe make databricks bundle init when choosing appkit an alias of databricks apps init or something like that? just my opinion 😄
That’s the intended behavior here: bundle init app-appkit calls the existing apps init initializer, so databricks/appkit remains the production source of truth. The template files in acceptance/ are a local test fixture. I’ll make that distinction clearer in the PR description.
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
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
app-appkittodatabricks bundle initby calling the existingdatabricks apps initinitializer. The production template remains indatabricks/appkit.--config-fileandproject_name, and update help and changelog.Why
AppKit apps use bundles for deployment. Listing AppKit in
bundle initlets users discover and scaffold one alongside the other bundle templates.Tests
apps initacceptance tests cover AppKit initializer options. The newbundle init app-appkitacceptance test covers non-interactive config-file handling and validation, deploy, and destroy of the generated bundle using a small local test fixture../task checksandGOTOOLCHAIN=go1.26.9 ./task lint-gopassed. PR CI passed across Linux, macOS, and Windows, including integration tests.ACTIVEand its deployment reachedSUCCEEDED; the temporary app was deleted.Authored with Codex.