<?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: Asset Bundle Validation Not Completing – Stuck on files_to_sync in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122963#M46910</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/140782"&gt;@Davila&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;Validation can be slow if your bundle root includes a large number of files. However, since your bundle contains only a few files, the delay may be due to the root_path&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;pointing to a broader directory structure in the Databricks workspace.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;It’s also a good idea to review your .gitignore file, if it’s not properly configured, the CLI might scan unnecessary files. Updating it to exclude irrelevant paths can help improve validation performance.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 26 Jun 2025 14:13:24 GMT</pubDate>
    <dc:creator>Renu_</dc:creator>
    <dc:date>2025-06-26T14:13:24Z</dc:date>
    <item>
      <title>Asset Bundle Validation Not Completing – Stuck on files_to_sync</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122888#M46896</link>
      <description>&lt;P&gt;I have a Databricks asset bundle with the following structure:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: &amp;lt;some value here&amp;gt;
  uuid: &amp;lt;some value here&amp;gt;

include:
  - resources/*.yml

variables:
  catalog_bronze: {} 
  catalog_silver: {}
  user_name: {}

targets:
  dev:
    mode: development
    default: true
    git:
      branch: dev
    variables:
      catalog_bronze: &amp;lt;some value here&amp;gt;
      catalog_silver: &amp;lt;some value here&amp;gt;
      user_name: &amp;lt;some value here&amp;gt;
    workspace:
      host: &amp;lt;some value here&amp;gt;
      root_path: &amp;lt;some value here&amp;gt;
    run_as:
      user_name: ${var.user_name}
  prod:
    mode: production
    git:
      branch: main
    workspace:
      host: &amp;lt;some value here&amp;gt;
      root_path: &amp;lt;some value here&amp;gt;
    variables:
      catalog_bronze: bronze_rock_prd
      catalog_silver: silver_rock_prd
      user_name: &amp;lt;some value here&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;When I run the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle validate --profile dev --target dev --debug&lt;/LI-CODE&gt;&lt;P&gt;The validation process takes a very long time, even though my bundle contains very few files.&lt;/P&gt;&lt;P&gt;The last log message I get is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;17:56:13 Debug: Path &amp;lt;my root path&amp;gt; has type directory (ID: &amp;lt;some value&amp;gt; ) pid=17736 mutator=validate:files_to_sync&lt;/LI-CODE&gt;&lt;P&gt;Has anyone faced this issue? Any ideas on how to speed up the validation or troubleshoot what’s causing the delay?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 21:42:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122888#M46896</guid>
      <dc:creator>Davila</dc:creator>
      <dc:date>2025-06-25T21:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Bundle Validation Not Completing – Stuck on files_to_sync</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122963#M46910</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/140782"&gt;@Davila&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;Validation can be slow if your bundle root includes a large number of files. However, since your bundle contains only a few files, the delay may be due to the root_path&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;pointing to a broader directory structure in the Databricks workspace.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;It’s also a good idea to review your .gitignore file, if it’s not properly configured, the CLI might scan unnecessary files. Updating it to exclude irrelevant paths can help improve validation performance.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Jun 2025 14:13:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122963#M46910</guid>
      <dc:creator>Renu_</dc:creator>
      <dc:date>2025-06-26T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Bundle Validation Not Completing – Stuck on files_to_sync</title>
      <link>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122988#M46913</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/151751"&gt;@Renu_&lt;/a&gt;&amp;nbsp;, thanks for the suggestion! After reviewing my root folder, the validation started working properly. My .gitignore was already well configured, and I noticed that after the first run, the validation process runs much faster. Looks like the initial delay was related to the broader directory structure, just as you mentioned.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 16:43:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/asset-bundle-validation-not-completing-stuck-on-files-to-sync/m-p/122988#M46913</guid>
      <dc:creator>Davila</dc:creator>
      <dc:date>2025-06-26T16:43:55Z</dc:date>
    </item>
  </channel>
</rss>

