V0.6.1 #106
benoitcayladbx
announced in
Announcements
V0.6.1
#106
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
OntoBricks — Release Notes V0.6.1
Release date: 2026-07-03
Type: Patch release (v0.6.0 → v0.6.1)
Test status: 2990 passed, 275 skipped, 5 deselected (
uv run pytest -q -m "not scenario").Summary
v0.6.1 is a focused patch on top of v0.6.0. It fixes the Switch modal on published /
in-review domains, hardens Lakebase deploy diagnostics and database-name resolution,
adds Databricks CLI profile support to deploy scripts, and backports a mapping SQL
column deduplication fix that prevents
AMBIGUOUS_REFERENCEerrors during digital-twinbuilds.
No breaking changes. No schema migrations required.
Highlights
picker is now usable while the "Save my changes before switching" option is correctly
disabled (fixes #97).
tolerance when resolving
db-…resource segments vs Postgresdatname, and clearerfailure hints with ready-to-run CLI commands.
DEFAULT_DATABRICKS_PROFILEinscripts/deploy.config.shpins the CLI profile for all deploy and bootstrap targets.
id/labelcolumn references in agent-submittedmappings are deduplicated before build (backport from PR fix(mapping): deduplicate Auto-Map SQL columns colliding with ID/Label alias #98, Eric Poilvet).
Bug Fixes
Switch modal on published / in-review domains (#97)
On non-DRAFT lifecycle versions, the L2 Switch popup previously kept the version
dropdown disabled and still offered "Save my changes before switching" even though
read-only versions cannot be saved.
permissions.css— exempt#switchVersionSelectfrom the read-only select disable rule(navigation, not design editing).
navbar.js—isSwitchSaveAllowed(),configureSwitchSaveOption(), and a confirm-handlerguard disable save-before-switch on non-DRAFT versions.
docs/user-guide.md— documents read-only Switch behaviour (version picker available,save option disabled).
Auto-Map SQL column deduplication (PR #98 backport)
When the Auto-Map agent repeats a source column under its original name alongside an
"AS ID" / "AS Label" alias, and that original name is itself
idorlabel(case-insensitive), Databricks/Spark resolves both as the same output column, causing
AMBIGUOUS_REFERENCEwhen the digital-twin build creates the triple-store VIEW.src/agents/tools/mapping.py— callSQLWizardService._deduplicate_select_columnsafter LIMIT stripping in
tool_submit_entity_mappingandtool_submit_relationship_mapping.src/back/core/sqlwizard/SQLWizardService.py—_deduplicate_select_columnsis now a@staticmethodso agents can reuse it without constructing a full service instance.CONTRIBUTORS.md— Eric Poilvet (@epoilvet) added.Deploy & Operations
Databricks CLI profile (
deploy.config.sh)Deploy and bootstrap scripts now honour a single source of truth for the CLI profile.
Users with multiple Databricks profiles no longer need to export
DATABRICKS_CONFIG_PROFILEmanually before everymaketarget.scripts/deploy.config.sh—DEFAULT_DATABRICKS_PROFILE(exported asDATABRICKS_CONFIG_PROFILEwhen set).scripts/deploy.sh— active profile shown in the deploy summary; auth hints mention--profilewhen configured.docs/deployment.mdandREADME.md— document the new variable.Lakebase connection diagnostics
Lakebase misconfiguration errors (wrong project/branch, stale
db-…id, missingdatabase) now print actionable hints instead of terse failures.
scripts/_lakebase-diag.sh(new) — shared helper printing common causes andready-to-run
databricks postgres list-databases/endpointscommands (with--profilewhen configured).scripts/deploy.sh— diagnostics ondb-…resolution failure, resource checks,dry-run abort, bootstrap failure, and Lakebase step ERR-trap hints.
scripts/bootstrap-lakebase-perms.sh— diagnostics on endpoint/credentials/psqlconnection failures; distinguishes psql connection errors from missing schema.
Lakebase underscore vs hyphen naming
Lakebase exposes two names per database —
status.postgres_database(PGdatname,underscores) vs the resource-path
database_id(RFC-1123, hyphens only). Operatorssaw
ontobricks_demobecomeontobricks-demoinlist-databasesand deploy failed onexact string match.
scripts/_lakebase-resolve-db.py(new) — resolvedbsegment +datnamewithunderscore/hyphen slug tolerance.
scripts/deploy.sh— uses the shared resolver; auto-correctsLAKEBASE_DATABASEwhenslug-matched.
scripts/_lakebase-diag.sh— documents the two-name model in failure hints.scripts/deploy.config.sh— comment thatDEFAULT_LAKEBASE_DATABASEmust come frompostgres_database, not the hyphenated resource id.Upgrade Notes
Upgrading from v0.6.0
No schema changes. Deploy the new app bundle as usual (
make deploy). If you use anon-default Databricks CLI profile, set
DEFAULT_DATABRICKS_PROFILEinscripts/deploy.config.shonce instead of exporting it per session.If Lakebase deploy previously failed because your configured database name used
underscores while the API returned hyphens (or vice versa), v0.6.1 should resolve the
mismatch automatically. Ensure
DEFAULT_LAKEBASE_DATABASEindeploy.config.shmatchesthe Postgres
postgres_databasefield fromdatabricks postgres list-databases, not thehyphenated resource-path tail.
Upgrading from v0.5.x
Upgrade to v0.6.0 first (see
releases/ReleaseNotes_V0.6.0.mdfor migration steps),then apply v0.6.1 on top.
Changes Summary
permissions.css,navbar.js,test_switch_domain_modal.py,docs/user-guide.mdagents/tools/mapping.py,SQLWizardService.py,test_mapping_tools.pydeploy.config.sh,deploy.sh,docs/deployment.md,README.md_lakebase-diag.sh,deploy.sh,bootstrap-lakebase-perms.sh_lakebase-resolve-db.py,deploy.sh,test_lakebase_resolve_db.pypyproject.toml0.6.1What is NOT changed
/api/v1/endpoints are backward-compatible.v0.6.0 capabilities remain intact.
This discussion was created from the release V0.6.1.
All reactions