<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bundle deployment overwrites artifacts while jobs are running - best practices? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160747#M54942</link>
    <description>&lt;P&gt;no that not what I am talking about its like this in the picture we can generate a build artifact and use this in the job&lt;BR /&gt;so if a developer run the deploy and running there job and the same time 2nd deploy happens which overwrites the build. so now the first job is looking for whl which is overwritten&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="animeshjain_1-1782570494117.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28339i7F95207D3AD116B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="animeshjain_1-1782570494117.png" alt="animeshjain_1-1782570494117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="animeshjain_0-1782570427869.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28338iFE2948A8E7F4306C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="animeshjain_0-1782570427869.png" alt="animeshjain_0-1782570427869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Jun 2026 14:30:48 GMT</pubDate>
    <dc:creator>animeshjain</dc:creator>
    <dc:date>2026-06-27T14:30:48Z</dc:date>
    <item>
      <title>Bundle deployment overwrites artifacts while jobs are running - best practices?</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160733#M54940</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm using #Declarative Automation Bundles (DAB) to deploy data pipelines, and I've run into an issue with concurrent job runs and deployment&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What happened:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I started a job that depends on a wheel file built by the bundle (timestamped artifact in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;.bundle/.../artifacts/.internal/&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;While the job was running, I ran&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;databricks bundle deploy&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;again&lt;/LI&gt;&lt;LI&gt;The deployment generated a new timestamped wheel file and removed the old one&lt;/LI&gt;&lt;LI&gt;My running job failed with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;ERROR_NO_SUCH_FILE_OR_DIRECTORY&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because it couldn't find the original artifact&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;My concern:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;This seems like it could be a problem in team environments. If two developers are working on the same bundle target:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Developer A starts a job from their deployment&lt;/LI&gt;&lt;LI&gt;Developer B deploys their changes to the same target&lt;/LI&gt;&lt;LI&gt;Developer A's running job fails due to missing artifacts&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;My questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is this expected behavior, or am I misusing bundles?&lt;/LI&gt;&lt;LI&gt;What are the recommended patterns to prevent this in multi-developer teams?&lt;/LI&gt;&lt;LI&gt;Should each developer use personal bundle targets (&lt;SPAN class=""&gt;dev_alice&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;dev_bob&lt;/SPAN&gt;), or is there a better approach?&lt;/LI&gt;&lt;LI&gt;Does this same issue apply to production deployments? If so, how should we handle long-running jobs during deployment?&lt;/LI&gt;&lt;LI&gt;How should production CI/CD deployments be coordinated when scheduled or long-running jobs might be active?&amp;nbsp;Should we check for active runs before deploying? Is there a built-in mechanism or recommended pattern to prevent breaking currently executing production jobs?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any guidance on best practices for coordinating bundle deployments with active job runs would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="animeshjain_0-1782560608354.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28337i000A5C6981800F27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="animeshjain_0-1782560608354.png" alt="animeshjain_0-1782560608354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2026 11:51:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160733#M54940</guid>
      <dc:creator>animeshjain</dc:creator>
      <dc:date>2026-06-27T11:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bundle deployment overwrites artifacts while jobs are running - best practices?</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160744#M54941</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Do you have source_linked_deployment set as false? That's probably causing it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2026 14:09:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160744#M54941</guid>
      <dc:creator>sudhaktr</dc:creator>
      <dc:date>2026-06-27T14:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bundle deployment overwrites artifacts while jobs are running - best practices?</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160747#M54942</link>
      <description>&lt;P&gt;no that not what I am talking about its like this in the picture we can generate a build artifact and use this in the job&lt;BR /&gt;so if a developer run the deploy and running there job and the same time 2nd deploy happens which overwrites the build. so now the first job is looking for whl which is overwritten&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="animeshjain_1-1782570494117.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28339i7F95207D3AD116B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="animeshjain_1-1782570494117.png" alt="animeshjain_1-1782570494117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="animeshjain_0-1782570427869.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28338iFE2948A8E7F4306C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="animeshjain_0-1782570427869.png" alt="animeshjain_0-1782570427869.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2026 14:30:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160747#M54942</guid>
      <dc:creator>animeshjain</dc:creator>
      <dc:date>2026-06-27T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Bundle deployment overwrites artifacts while jobs are running - best practices?</title>
      <link>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160749#M54944</link>
      <description>&lt;P&gt;Yes I understand that part. if you have&amp;nbsp;&lt;SPAN&gt;source_linked_deployment set as false, both the developers will be deploying to the same location under /.bundle directory. Then the overwrite can happen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If&amp;nbsp;source_linked_deployment is set as True or not set(by default it is True), then the workflow will be pointing to the source. That is respective developer's directory.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2026 14:54:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bundle-deployment-overwrites-artifacts-while-jobs-are-running/m-p/160749#M54944</guid>
      <dc:creator>sudhaktr</dc:creator>
      <dc:date>2026-06-27T14:54:51Z</dc:date>
    </item>
  </channel>
</rss>

