Skip to content

Add agent files to DABs templates - #5996

Merged
lennartkats-db merged 13 commits into
mainfrom
agent-files-in-template
Jul 22, 2026
Merged

Add agent files to DABs templates#5996
lennartkats-db merged 13 commits into
mainfrom
agent-files-in-template

Conversation

@lennartkats-db

Copy link
Copy Markdown
Contributor

Changes

Add an AGENTS.md to the bundle templates (default, default-scala, default-sql, dbt-sql, plus the templates that reuse default). It points coding agents at Databricks AI Tools: read the databricks-core skill first, and install via databricks aitools install if it's missing. A one-line CLAUDE.md includes it via @AGENTS.md.

Why

We'd like to help AI agents in new projects via Databricks AI Tools.

Tests

Regenerated the template acceptance goldens; task test-update-templates passes.

Generated DAB projects now include an AGENTS.md with project layout,
the common bundle CLI workflow (validate/deploy/run/summary), and
conventions, plus a CLAUDE.md that imports it via @AGENTS.md so Claude
Code and tools using the AGENTS.md convention share one source of truth.
Added to the default, default-sql, default-scala, and dbt-sql template
bodies, which covers all built-in templates (default-python,
default-minimal, lakeflow-pipelines, and pydabs share the default body).
Co-authored-by: Isaac
…templates
Update the remaining template files that referred to the product by its
former name: the databricks.yml header comments (default, default-sql,
default-scala bodies), the dbt_project.yml comment, and the
default-minimal welcome message.
Co-authored-by: Isaac
Replace the verbose per-template AGENTS.md with the short version
originally used in experimental/aitools (removed in c8d825c): point
agents at the databricks skill, explain how to install agent skills
(databricks aitools install), and leave a placeholder for
project-specific instructions. Inlining all instructions is a non-goal.
Co-authored-by: Isaac
Reword the section to "Use the Databricks Agent Skills": read the core
databricks skill, reach for the product skills it links to
(databricks-jobs, databricks-pipelines, databricks-apps), and install
them with databricks aitools install. Regenerate template goldens.
Co-authored-by: Isaac
# Conflicts:
#	acceptance/bundle/templates/default-minimal/output.txt
#	acceptance/bundle/templates/default-minimal/output/my_default_minimal/databricks.yml
#	acceptance/bundle/templates/default-python/classic/output/my_default_python/databricks.yml
#	acceptance/bundle/templates/default-python/serverless/output/my_default_python/databricks.yml
#	acceptance/bundle/templates/default-scala/output/my_default_scala/databricks.yml
#	acceptance/bundle/templates/default-sql/output/my_default_sql/databricks.yml
#	acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/databricks.yml
#	acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/databricks.yml
#	acceptance/bundle/templates/pydabs/init-classic/output/my_pydabs/databricks.yml
#	acceptance/bundle/templates/telemetry/default-python/out.databricks.yml
#	acceptance/bundle/templates/telemetry/default-sql/out.databricks.yml
#	libs/template/templates/default-minimal/databricks_template_schema.json
#	libs/template/templates/default-scala/template/{{.project_name}}/databricks.yml.tmpl
#	libs/template/templates/default-sql/template/{{.project_name}}/databricks.yml.tmpl
#	libs/template/templates/default/template/{{.project_name}}/databricks.yml.tmpl
Point coding agents at Databricks AI Tools: read the databricks-core
skill, and install via `databricks aitools install` if it's missing.
CLAUDE.md is a one-line @AGENTS.md include. Decided at the DABs core
meeting.
Co-authored-by: Isaac
@@ -0,0 +1,33 @@
{{- /*

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is repeated a few times now, as a followup I want to look into a clean way to avoid the duplication. That will require a change in the templating code.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default-*/ templates already pick up everything from default/ so you only need to duplicate dbt-sql

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, default-sql and default-scala are also special right now.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followup PR: #6017

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: d23199c

Run: 29907788368

Env🟨​KNOWN💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
💚​aws linux4431410559:37
💚​aws windows4431610539:06
💚​azure linux4431410548:55
💚​azure windows4431610527:25
🟨​gcp linux314313105610:25
🟨​gcp windows314315105412:00
8 interesting tests: 4 SKIP, 3 KNOWN, 1 RECOVERED
Test Nameaws linuxaws windowsazure linuxazure windowsgcp linuxgcp windows
💚​TestAccept💚​R💚​R💚​R💚​R💚​R💚​R
🙈​TestAccept/bundle/invariant/no_drift🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/ssh/connection🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestFetchRepositoryInfoAPI_FromRepo💚​R💚​R💚​R💚​R🟨​K🟨​K
🟨​TestFetchRepositoryInfoAPI_FromRepo/root💚​R💚​R💚​R💚​R🟨​K🟨​K
🟨​TestFetchRepositoryInfoAPI_FromRepo/subdir💚​R💚​R💚​R💚​R🟨​K🟨​K
Top 7 slowest tests (at least 2 minutes):
durationenvtestname
5:47aws windowsTestAccept
5:17gcp windowsTestAccept
3:18azure windowsTestAccept
2:38aws windowsTestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=direct
2:26aws linuxTestExportDir
2:23gcp windowsTestImportDirWithOverwriteFlag
2:01aws windowsTestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform

The lakeflow-pipelines template reuses default via template_dir, so
projects initialized by the pipelines/{init,e2e} acceptance tests now
emit AGENTS.md and CLAUDE.md; add them to those tests' goldens.
Co-authored-by: Isaac
Comment thread.nextchanges/bundles/agents-md-templates.md Outdated
Co-authored-by: Jan N Rose <janniklas.rose@gmail.com>
# Conflicts:
#	acceptance/bundle/templates/default-minimal/python/output/my_default_minimal/AGENTS.md
#	acceptance/bundle/templates/default-minimal/python/output/my_default_minimal/CLAUDE.md
main split the default-minimal acceptance test into python/sql/skip
variants; regenerate each variant's goldens to include the AGENTS.md and
CLAUDE.md that default-minimal inherits from the default template.
Co-authored-by: Isaac
@lennartkats-db
lennartkats-db added this pull request to the merge queueJul 22, 2026
Merged via the queue into main with commit 7f23bd2Jul 22, 2026
26 checks passed
@lennartkats-db
lennartkats-db deleted the agent-files-in-template branch July 22, 2026 10:23
deco-sdk-taggingBot added a commit that referenced this pull request Jul 22, 2026
## Release v1.9.0
### CLI
* `databricks auth profiles` no longer stalls on an unreachable workspace and instead fails validation after 5 seconds per host ([#5928](#5928)).
* Fixed `databricks fs rm -r` failing on UC Volumes backed by GCS when a directory becomes empty during recursive deletion ([#5958](#5958)).
* You can now ask questions about your data directly from the CLI with `databricks genie ask "..."`. Genie answers natural-language questions ("what were total sales last month?", "which tables are in the sales catalog?"), runs the query inside Databricks, and renders the answer in the terminal. This promotes the former `databricks experimental genie ask` command; the experimental alias still works but is deprecated and will be removed in a future release ([#6010](#6010)).
### Bundles
* `bundle validate` now reports a clear error when a `sql_warehouse` is missing a `name` (including whitespace-only names), and a warning when a grant is missing a `principal` ([#5818](#5818)).
* Bundle templates now scaffold an `AGENTS.md` that points coding agents at Databricks AI Tools, alongside a minimal `CLAUDE.md` that includes it via `@AGENTS.md` ([#5996](#5996)).
* `bundle generate job` can now download workspace files referenced by `spark_python_task`, rewriting them to a relative path like it already does for notebooks. This is opt-in via the `--download-spark-python-files` flag ([#5799](#5799)).
* Simplified the `default-minimal` bundle template and added an alias `databricks bundle init empty` ([#5899](#5899)).
* Add support for the `instance_pools` resource type in Declarative Automation Bundles. Instance pools are only supported in direct deployment mode.
* Do not emit "unknown field" warnings for YAML anchors grouped in a list or map, matching the existing suppression for standalone anchors ([#5975](#5975)).
* Provide an actionable error message if databricks.yml is missing or DATABRICKS_BUNDLE_ROOT is invalid ([#5953](#5953)).
### Dependency Updates
* Bump `github.com/databricks/databricks-sdk-go` from v0.154.0 to v0.160.0 ([#5982](#5982)).
* Bump Terraform provider from v1.121.0 to v1.122.0 ([#5977](#5977)).
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 7f23bd2

Run: 29911737806

Env❌​FAIL🟨​KNOWN🔄​flaky💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
❌​aws linux40242950878291:35
❌​aws windows39242890897285:24
🔄​azure linux1462871914266:37
🔄​azure windows2062804933275:57
❌​gcp linux25422848920247:19
❌​gcp windows22422790939236:55
97 interesting tests: 71 FAIL, 18 flaky, 5 KNOWN, 2 SKIP, 1 RECOVERED
Test Nameaws linuxaws windowsazure linuxazure windowsgcp linuxgcp windows
🟨​TestAccept🟨​K🟨​K💚​R💚​R🟨​K🟨​K
❌​TestAccept/bundle/deploy/spark-jar-task❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=direct❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/deployment/bind/pipelines/recreate✅​p❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/deployment/bind/pipelines/recreate/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p❌​F❌​F
🟨​TestAccept/bundle/invariant/no_drift🟨​K🟨​K💚​R💚​R💚​R💚​R
❌​TestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=1❌​F❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/catalogs/basic❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/catalogs/basic/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/catalogs/with-schemas✅​p❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/catalogs/with-schemas/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/clusters/deploy/update-after-create❌​F✅​p✅​p🔄​f✅​p✅​p
🔄​TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/clusters/lifecycle-started✅​p✅​p✅​p✅​p✅​p❌​F
❌​TestAccept/bundle/resources/clusters/lifecycle-started-toggle❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DATABRICKS_BUNDLE_ENGINE=direct❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p❌​F
❌​TestAccept/bundle/resources/dashboards/change-embed-credentials❌​F✅​p🔄​f✅​p✅​p✅​p
🔄​TestAccept/bundle/resources/dashboards/change-embed-credentials/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p🔄​f✅​p✅​p✅​p
❌​TestAccept/bundle/resources/dashboards/change-embed-credentials/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/dashboards/change-name✅​p❌​F🔄​f🔄​f❌​F✅​p
❌​TestAccept/bundle/resources/dashboards/change-name/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F🔄​f🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/dashboards/change-name/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p❌​F✅​p
🔄​TestAccept/bundle/resources/dashboards/change-parent-path✅​p✅​p🔄​f✅​p✅​p✅​p
🔄​TestAccept/bundle/resources/dashboards/change-parent-path/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p🔄​f✅​p✅​p✅​p
❌​TestAccept/bundle/resources/dashboards/change-serialized-dashboard❌​F✅​p✅​p✅​p❌​F✅​p
❌​TestAccept/bundle/resources/dashboards/change-serialized-dashboard/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p❌​F✅​p
❌​TestAccept/bundle/resources/dashboards/change-serialized-dashboard/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p✅​p❌​F✅​p
🔄​TestAccept/bundle/resources/dashboards/detect-change✅​p✅​p🔄​f✅​p✅​p✅​p
🔄​TestAccept/bundle/resources/dashboards/detect-change/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p🔄​f✅​p✅​p✅​p
❌​TestAccept/bundle/resources/grants/catalogs❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/catalogs/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/registered_models✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/grants/registered_models/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/grants/schemas/change_privilege❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/change_privilege/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/change_privilege/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/grants/schemas/duplicate_principals❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/duplicate_principals/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/duplicate_privileges✅​p❌​F✅​p🔄​f✅​p✅​p
🔄​TestAccept/bundle/resources/grants/schemas/duplicate_privileges/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/grants/schemas/duplicate_privileges/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/grants/schemas/out_of_band_principal❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/out_of_band_principal/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
❌​TestAccept/bundle/resources/grants/schemas/remove_principal❌​F✅​p✅​p🔄​f❌​F✅​p
❌​TestAccept/bundle/resources/grants/schemas/remove_principal/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p🔄​f❌​F✅​p
❌​TestAccept/bundle/resources/grants/volumes❌​F❌​F🔄​f🔄​f❌​F❌​F
❌​TestAccept/bundle/resources/grants/volumes/DATABRICKS_BUNDLE_ENGINE=direct❌​F❌​F✅​p✅​p❌​F❌​F
🔄​TestAccept/bundle/resources/grants/volumes/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p🔄​f🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/permissions/dashboards/create✅​p❌​F✅​p✅​p🙈​s🙈​s
❌​TestAccept/bundle/resources/permissions/dashboards/create/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F✅​p✅​p
🔄​TestAccept/bundle/resources/permissions/jobs/current_can_manage_run✅​p✅​p✅​p🔄​f🙈​s🙈​s
🔄​TestAccept/bundle/resources/permissions/jobs/current_can_manage_run/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p🔄​f
❌​TestAccept/bundle/resources/permissions/jobs/delete_one✅​p❌​F✅​p🔄​f✅​p✅​p
🔄​TestAccept/bundle/resources/permissions/jobs/delete_one/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/permissions/jobs/delete_one/DATABRICKS_BUNDLE_ENGINE=terraform✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/postgres_branches/purge_on_delete_transitions❌​F✅​p🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_branches/purge_on_delete_transitions/DATABRICKS_BUNDLE_ENGINE=direct❌​F✅​p
❌​TestAccept/bundle/resources/postgres_branches/recreate✅​p❌​F🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_branches/recreate/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F
❌​TestAccept/bundle/resources/postgres_branches/without_branch_id✅​p❌​F🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_branches/without_branch_id/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F
❌​TestAccept/bundle/resources/postgres_databases/replace_existing❌​F✅​p🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_databases/replace_existing/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p
❌​TestAccept/bundle/resources/postgres_databases/update❌​F✅​p🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_databases/update/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p
❌​TestAccept/bundle/resources/postgres_roles/replace_existing❌​F✅​p🙈​s🙈​s🙈​s🙈​s
❌​TestAccept/bundle/resources/postgres_roles/replace_existing/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p
🔄​TestAccept/bundle/resources/quality_monitors/change_assets_dir✅​p✅​p✅​p🔄​f✅​p✅​p
🔄​TestAccept/bundle/resources/quality_monitors/change_assets_dir/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/quality_monitors/change_output_schema_name✅​p✅​p✅​p✅​p✅​p❌​F
❌​TestAccept/bundle/resources/quality_monitors/change_output_schema_name/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p❌​F
🔄​TestAccept/bundle/resources/quality_monitors/change_table_name✅​p✅​p✅​p🔄​f✅​p✅​p
🔄​TestAccept/bundle/resources/quality_monitors/change_table_name/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/secret_scopes/basic✅​p❌​F✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/secret_scopes/basic/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F✅​p✅​p✅​p✅​p
🔄​TestAccept/bundle/resources/secret_scopes/basic/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p🔄​f✅​p✅​p
❌​TestAccept/bundle/resources/secret_scopes/delete_scope❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/resources/secret_scopes/delete_scope/DATABRICKS_BUNDLE_ENGINE=terraform❌​F✅​p✅​p✅​p✅​p✅​p
💚​TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name💚​R💚​R💚​R💚​R💚​R💚​R
🙈​TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
❌​TestAccept/bundle/resources/volumes/uppercase-name✅​p❌​F🔄​f✅​p❌​F❌​F
❌​TestAccept/bundle/resources/volumes/uppercase-name/DATABRICKS_BUNDLE_ENGINE=direct✅​p❌​F🔄​f✅​p❌​F❌​F
🔄​TestAccept/bundle/run_as/job_default✅​p✅​p🔄​f✅​p✅​p✅​p
🔄​TestAccept/bundle/run_as/job_default/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p🔄​f✅​p✅​p✅​p
❌​TestAccept/bundle/select/basic❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/select/basic/DATABRICKS_BUNDLE_ENGINE=direct/READPLAN=❌​F✅​p✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/templates/default-python/combinations/serverless✅​p❌​F✅​p✅​p✅​p✅​p
❌​TestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=no/PY=no/READPLAN=✅​p❌​F✅​p✅​p✅​p✅​p
🙈​TestAccept/ssh/connection🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
❌​TestSyncIncrementalFileSync✅​p❌​F✅​p✅​p✅​p✅​p
🟨​TestFetchRepositoryInfoAPI_FromRepo💚​R💚​R💚​R💚​R🟨​K🟨​K
🟨​TestFetchRepositoryInfoAPI_FromRepo/root💚​R💚​R💚​R💚​R🟨​K🟨​K
🟨​TestFetchRepositoryInfoAPI_FromRepo/subdir💚​R💚​R💚​R💚​R🟨​K🟨​K
Top 50 slowest tests (at least 2 minutes):
durationenvtestname
21:51gcp windowsTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
19:55aws linuxTestAccept/bundle/config-remote-sync/multiple_resources/DATABRICKS_BUNDLE_ENGINE=terraform
14:45gcp linuxTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
14:12aws windowsTestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=terraform
13:12azure linuxTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
12:15azure windowsTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
12:08aws windowsTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster_apply_policy_default_values.yml.tmpl/READPLAN=
11:29gcp linuxTestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
11:20azure windowsTestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
11:10aws windowsTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
10:51aws linuxTestAccept/bundle/resources/apps/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
10:50aws linuxTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
10:47aws windowsTestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
10:35aws windowsTestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=direct
10:21azure linuxTestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
9:47aws linuxTestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=terraform
9:40aws linuxTestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=direct
9:29gcp linuxTestAccept/bundle/config-remote-sync/multiple_resources/DATABRICKS_BUNDLE_ENGINE=terraform
9:23aws linuxTestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=terraform
9:00gcp linuxTestAccept/bundle/resources/clusters/deploy/local_ssd_count/DATABRICKS_BUNDLE_ENGINE=direct
8:59aws windowsTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=1
8:57azure windowsTestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=direct
8:52gcp linuxTestAccept/bundle/config-remote-sync/multiple_resources/DATABRICKS_BUNDLE_ENGINE=direct
8:47gcp linuxTestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=direct
8:44gcp windowsTestAccept/bundle/resources/apps/lifecycle-started-omitted/DATABRICKS_BUNDLE_ENGINE=direct
8:27gcp linuxTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=yes/PY=yes/READPLAN=
8:23aws windowsTestAccept/bundle/resources/experiments/basic/DATABRICKS_BUNDLE_ENGINE=terraform
8:22azure windowsTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=yes/PY=yes/READPLAN=
7:59aws windowsTestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=direct
7:58aws linuxTestAccept/bundle/resources/clusters/lifecycle-started/DATABRICKS_BUNDLE_ENGINE=direct
7:56gcp windowsTestAccept/bundle/resources/clusters/deploy/local_ssd_count/DATABRICKS_BUNDLE_ENGINE=direct
7:53aws windowsTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=no/PY=yes/READPLAN=
7:49aws windowsTestAccept/bundle/invariant/no_drift/DATABRICKS_BUNDLE_ENGINE=direct/INPUT_CONFIG=cluster.yml.tmpl/READPLAN=
7:48azure windowsTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=no/PY=yes/READPLAN=
7:45aws windowsTestAccept/bundle/resources/postgres_endpoints/update_autoscaling/DATABRICKS_BUNDLE_ENGINE=direct
7:43azure windowsTestAccept/bundle/resources/models/basic/DATABRICKS_BUNDLE_ENGINE=terraform
7:41azure linuxTestAccept/bundle/resources/registered_models/basic/DATABRICKS_BUNDLE_ENGINE=direct
7:41aws windowsTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=yes/NBOOK=yes/PY=no/READPLAN=
7:25azure windowsTestAccept/bundle/resources/apps/lifecycle-started-omitted/DATABRICKS_BUNDLE_ENGINE=direct
7:23gcp windowsTestAccept/bundle/resources/clusters/lifecycle-started-toggle/DATABRICKS_BUNDLE_ENGINE=direct
7:23aws linuxTestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct/DLT=no/NBOOK=yes/PY=yes/READPLAN=
7:21azure windowsTestAccept/bundle/deploy/spark-jar-task/DATABRICKS_BUNDLE_ENGINE=direct
7:19aws linuxTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=yes/PY=yes/READPLAN=
7:16gcp linuxTestAccept/bundle/resources/apps/lifecycle-started-omitted/DATABRICKS_BUNDLE_ENGINE=direct
7:13gcp linuxTestAccept/bundle/templates/default-python/combinations/serverless/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=yes/PY=no/READPLAN=
7:12aws windowsTestAccept/bundle/resources/apps/lifecycle-started-omitted/DATABRICKS_BUNDLE_ENGINE=direct
7:11aws windowsTestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct/UV_PYTHON=3.13
7:08aws windowsTestAccept/bundle/resources/postgres_endpoints/update_autoscaling/DATABRICKS_BUNDLE_ENGINE=terraform
7:08azure linuxTestAccept/bundle/resources/clusters/lifecycle-started-toggle/DATABRICKS_BUNDLE_ENGINE=direct
7:06azure linuxTestAccept/bundle/resources/secret_scopes/permissions/DATABRICKS_BUNDLE_ENGINE=terraform

ronaldz-db pushed a commit to ronaldz-db/cli that referenced this pull request Jul 23, 2026
## Changes
Stacked on databricks#5996. The four standalone templates (`default`,
`default-scala`,
`default-sql`, `dbt-sql`) carried byte-identical `AGENTS.md`/`CLAUDE.md`
files.
This moves the content into one shared library
(`templates/common/library`)
that `newRenderer` parses into every template's namespace, and reduces
each
template's files to one-line `{{template}}` stubs.
- [x] target branch must be set to `main` before merging
## Tests
Template and pipelines acceptance goldens are unchanged; `task
test-update-templates` passes with no diff.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lennartkats-db@eng-dev-ecosystem-bot@janniklasrose