From dc89c81a2f87106e9e7f3777260c585464448118 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Thu, 5 Mar 2026 10:20:29 +0100 Subject: [PATCH 1/3] Add default project name and success message to default-scala template The default-scala template was missing a default value for `project_name` and a `success_message`, unlike all other built-in templates. Co-Authored-By: Claude Opus 4.6 --- acceptance/bundle/templates/default-scala/output.txt | 6 +++++- .../templates/default-scala/databricks_template_schema.json | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/acceptance/bundle/templates/default-scala/output.txt b/acceptance/bundle/templates/default-scala/output.txt index c453290dc2..2dbf519692 100644 --- a/acceptance/bundle/templates/default-scala/output.txt +++ b/acceptance/bundle/templates/default-scala/output.txt @@ -5,4 +5,8 @@ Welcome to the default-scala template for Databricks Asset Bundles! A workspace was selected based on your current profile. For information about how to change this, see https://docs.databricks.com/dev-tools/cli/profiles.html. workspace_host: [DATABRICKS_URL] -✨ Successfully initialized template + +✨ Your new project has been created in the 'my_default_scala' directory! + +Please refer to the README.md file for "getting started" instructions. +See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html. diff --git a/libs/template/templates/default-scala/databricks_template_schema.json b/libs/template/templates/default-scala/databricks_template_schema.json index 9d23976821..04e918f362 100644 --- a/libs/template/templates/default-scala/databricks_template_schema.json +++ b/libs/template/templates/default-scala/databricks_template_schema.json @@ -3,6 +3,7 @@ "properties": { "project_name": { "type": "string", + "default": "my_scala_project", "description": "\nPlease provide a unique name for this project.\nproject_name", "order": 1, "pattern": "^[A-Za-z_][A-Za-z0-9-_]+$", @@ -54,5 +55,6 @@ "description": "\nPlease provide an initial schema during development.\ndefault_schema", "order": 6 } - } + }, + "success_message": "\n✨ Your new project has been created in the '{{.project_name}}' directory!\n\nPlease refer to the README.md file for \"getting started\" instructions.\nSee also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html." } From 6158ae910e7deab4c37e9ea4318877ead53e64f8 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Thu, 5 Mar 2026 10:23:07 +0100 Subject: [PATCH 2/3] Add NEXT_CHANGELOG entry Co-Authored-By: Claude Opus 4.6 --- NEXT_CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 3988d5160f..7921e7175c 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -5,6 +5,7 @@ ### CLI ### Bundles +* Add default project name and success message to default-scala template ([#4661](https://github.com/databricks/cli/pull/4661)) * Validate that either source_code_path or git_source is set for apps ([#4632](https://github.com/databricks/cli/pull/4632)) ### Dependency updates From 8c2033674d83994c520128da3db5ecc931658ac4 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Fri, 6 Mar 2026 11:16:23 +0100 Subject: [PATCH 3/3] Move changelog entry below more important item Co-Authored-By: Claude Opus 4.6 --- NEXT_CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index 2d83eaa48d..a81af85384 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -5,8 +5,8 @@ ### CLI ### Bundles -* Add default project name and success message to default-scala template ([#4661](https://github.com/databricks/cli/pull/4661)) * Added permissions support for Lakebase Database projects ([#4626](https://github.com/databricks/cli/pull/4626)) +* Add default project name and success message to default-scala template ([#4661](https://github.com/databricks/cli/pull/4661)) ### Dependency updates