Changes reach production through a branch, a pull request and a review. When your branch conflicts with main, bring main into your branch, keep both intended changes, run the tests and push again.
Test at several levels. Unit tests call one function on a small DataFrame with edge cases such as NULLs and unknown codes, often with pytest. Integration tests check that components work together against a test catalog. End-to-end tests run the deployed job on the staging target and compare its output tables. User acceptance testing (UAT) asks business users to confirm the result meets their need.
Declarative Automation Bundles (formerly Databricks Asset Bundles) describe jobs, pipelines and their settings in databricks.yml, with a target for each environment. The CLI validates and deploys them: databricks bundle validate and databricks bundle deploy -t prod. In development mode, deployed resources carry the developer's name and their schedules are paused. Systems that cannot run the CLI can call the workspace REST APIs, such as the Jobs API, as a service principal.
Unit tests are small, fast and isolated, and they pin down edge cases of one piece of logic.