Skip to content

default-scala: align with Serverless environment version 4#152

Open
nachille-sketch wants to merge 1 commit intodatabricks:mainfrom
nachille-sketch:serverless-jar-template-env-v4-fixes
Open

default-scala: align with Serverless environment version 4#152
nachille-sketch wants to merge 1 commit intodatabricks:mainfrom
nachille-sketch:serverless-jar-template-env-v4-fixes

Conversation

@nachille-sketch
Copy link
Copy Markdown

@nachille-sketch nachille-sketch commented Apr 28, 2026

Two single-line changes to align default-scala with serverless environment version 4. Without these, the template generates a project that targets a different runtime version than what the bundle deploys to.

Changes

1. dbr_version: 17.0 → 17.3 (library/template_variables.tmpl)

The variable feeds an sbt revision specifier of "{{dbr_version}}.+", which becomes "17.0.+" today. sbt resolves this to the latest 17.0.x databricks-connect client only — customers never pick up the 17.3.x client that ships on the current Serverless control plane (env v4).

2. environment_version: "4-scala-preview""4" (resources/{{.project_name}}.job.yml.tmpl)

default-scala is the only bundle in this repo still on the transitional 4-scala-preview value. Every other template (lakeflow_pipelines_python, dbt_sql, lakeflow_pipelines_sql, the ingestion monitoring notebooks, pydabs) uses plain "4", which is the canonical env v4 identifier now that Scala/Java JAR support has landed.

@nachille-sketch nachille-sketch force-pushed the serverless-jar-template-env-v4-fixes branch from 37df968 to ee5de53 Compare April 28, 2026 12:47
@nachille-sketch nachille-sketch changed the title default-scala: align template with Serverless environment v4 default-scala: bump dbr_version 17.0 -> 17.3 Apr 28, 2026
The variable feeds an sbt revision specifier of "{{dbr_version}}.+", which becomes
"17.0.+" today. sbt resolves this to the latest 17.0.x client only — customers never
pick up the 17.3.x client that ships on the current Serverless control plane (env
version 4). Bumping to 17.3 lets sbt resolve "17.3.+" and pull the current point
release.
@nachille-sketch nachille-sketch force-pushed the serverless-jar-template-env-v4-fixes branch from ee5de53 to 9ab0318 Compare April 28, 2026 13:12
@nachille-sketch nachille-sketch changed the title default-scala: bump dbr_version 17.0 -> 17.3 default-scala: align with Serverless environment version 4 Apr 28, 2026
Sign up for free to 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.

2 participants