Skip to content

[factory:bug-fixer][custom-training] Prevent AIR conversion from creating a second bundle root - #7853

Open
ben-hansen-db wants to merge 2 commits into
mainfrom
ben-hansen_data/ben-hansen/rf-cnxt-2666-retry
Open

ben-hansen-db wants to merge 2 commits into
mainfrom
ben-hansen_data/ben-hansen/rf-cnxt-2666-retry

Conversation

@ben-hansen-db

Copy link
Copy Markdown
Contributor

Changes

databricks air convert-to-dabs checks all supported bundle filenames before writing without --force. The forced conversion path keeps its existing behavior.

Why

Running conversion beside an existing databricks.yaml creates a second root, databricks.yml. The bundle loader rejects the directory because both files are present.

Tests

The regression test covers all four filenames, checks the remediation message, and verifies the original file remains the sole root with its contents intact. It passed 50 repetitions. ./task fmt, ./task checks, ./task lint, and ./task test passed.

This PR was written with OpenAI Codex.

@github-actions github-actions Bot added the AIR Databricks AI Runtime CLI label Nov 20, 2026
@ben-hansen-db
ben-hansen-db marked this pull request as ready for review November 20, 2026 19:05
@ben-hansen-db
ben-hansen-db requested review from a team as code owners November 20, 2026 19:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIR Databricks AI Runtime CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants