Hi @Shad300 This is a common challenge when orchestrating ADF, Databricks, and Azure DevOps together.
Is the wished/expected behavior currently what is happening?
No - Azure Data Factory does not “freeze” or snapshot Databricks notebooks at the time a pipeline starts. ADF executes notebooks live at runtime, based on their current state in the Databricks workspace. So, if your CI/CD release pipeline modifies or deletes a notebook while an ADF pipeline is still running, it can affect the behavior of that in-progress run — especially if the changed notebook is called later in the pipeline.
There is no built-in lock or fetch-and-freeze mechanism between ADF and Databricks by default.
Regarding your second point and proposed solutions:
Monitoring ADF pipelines before starting a release is a practical and effective option. You can query ADF pipeline run status using the REST API or SDK, and delay or queue your release pipeline until the ADF run has finished. This helps avoid runtime conflicts caused by concurrent updates.
Triggering CI/CD deployment logic from within the ADF pipeline is technically possible — for example, by pulling notebooks from a Git repo at the beginning — but this tightly couples deployment and data processing. It may work in controlled environments but could reduce flexibility and increase maintenance overhead.
Alternative approach:
Package your Databricks logic (e.g. shared functions, transformations) into versioned Python wheel files and install them into your Databricks clusters. This way, your ADF pipeline runs against a fixed version of your codebase, isolated from any ongoing CI/CD changes. This adds stability, versioning, and reduces risk during long-running jobs.
In summary: The default setup does not prevent updates from affecting running pipelines.
To protect against this, you’ll need to add some form of isolation — via runtime checks, gated releases, or versioned code execution.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.