<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sai Prudhvi Neelakantam</title>
    <description>The latest articles on DEV Community by Sai Prudhvi Neelakantam (@geekindata).</description>
    <link>https://dev.to/geekindata</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4239663%2F50896c3c-bf98-48ee-b955-9f1821d60acc.jpg</url>
      <title>DEV Community: Sai Prudhvi Neelakantam</title>
      <link>https://dev.to/geekindata</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/geekindata"/>
    <language>en</language>
    <item>
      <title>Fabric Branch Workspaces: Ready for Team Git?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Thu, 03 Dec 2026 09:31:34 +0000</pubDate>
      <link>https://dev.to/geekindata/fabric-branch-workspaces-ready-for-team-git-38g7</link>
      <guid>https://dev.to/geekindata/fabric-branch-workspaces-ready-for-team-git-38g7</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/56-fabric-branch-workspaces-ready" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Fabric Branch Workspaces: Ready for Team Git?
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Branch out to a new workspace, selective branching and compare and commit are generally available since September 2026. You can build a team process on them.&lt;/li&gt;
&lt;li&gt;Give each change its own small branch workspace and merge back by pull request. Stop editing the shared dev workspace by hand.&lt;/li&gt;
&lt;li&gt;Branch out starts from the last commit, not from what is on screen. Commit the shared workspace first or your uncommitted work stays behind.&lt;/li&gt;
&lt;li&gt;Accept incoming changes keeps the merged version and drops the local edit. That is correct, but the warning is generic and does not show which edit you lose.&lt;/li&gt;
&lt;li&gt;File level commit is still Preview and does not cover semantic models or reports.&lt;/li&gt;
&lt;li&gt;After every update, check Git status again. In my run one item that was not in conflict still showed a change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For years the default Fabric team setup was one Git-connected dev workspace that everybody edited. It works until two people touch the same semantic model in the same week. Then the "who changed this" question lands in Git as one big commit with someone else's work folded in.&lt;/p&gt;

&lt;p&gt;Branch workspaces were meant to fix that, and the parts that matter went GA in September 2026. I ran the full loop on a trial capacity with synthetic data: branch out with only some items, edit, compare, commit, merge, and update the shared workspace with a real conflict waiting. This post is the answer to one question: is it ready to be the team default?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: slice, diff, merge, settle&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Slice:&lt;/strong&gt; branch out from the last commit of the shared workspace and pick only the items the change needs, plus their dependencies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Diff:&lt;/strong&gt; read the compare view before every commit. Commit whole items unless file level commit is supported and safe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Merge:&lt;/strong&gt; the pull request in your Git provider is the only way back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Settle:&lt;/strong&gt; update the shared workspace, resolve conflicts on purpose, then check Git status again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fslice-diff-merge-settle.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fslice-diff-merge-settle.svg" alt="Four cards in a row: Slice, Diff, Merge and Settle, each with a gate underneath: baseline committed, you read the diff, PR approved, status Synced" width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. The shared workspace only changes in step 4. Each step has one gate you can check.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed
&lt;/h2&gt;

&lt;p&gt;The old choice was bad either way. A shared dev workspace meant shared mess. A full branch out copied every item into a new workspace, which is slow and expensive once a workspace has dozens of items.&lt;/p&gt;

&lt;p&gt;Three things are different now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Selective branching.&lt;/strong&gt; In the branch out dialog you can choose "Select items individually", and "Select related items" adds what your picks depend on. Later you can use "Add more items" if the change grows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare and commit.&lt;/strong&gt; Before you commit or update, you get a side by side or inline diff of the item files, and the conflict view lets you compare three ways.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A firm permission date.&lt;/strong&gt; Learn now says that from 28 Feb 2027 users without read-write permission on workspace items can't use Git integration. Learn ties this to items with sensitivity labels and protection policies. Until 26 Oct 2026 Learn said 1 Dec 2026. If your team has people with read-only access to some items in a dev workspace, plan for that now.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is real demand for the selective part. A &lt;a href="https://community.fabric.microsoft.com/discussions/ac_generaldiscussion/branching-out-to-another-workspace-with-git-integration/5320734" rel="noopener noreferrer"&gt;Fabric Community thread&lt;/a&gt; asks exactly how to branch out with only some items.&lt;/p&gt;

&lt;h2&gt;
  
  
  What shipped: the loop I tested
&lt;/h2&gt;

&lt;p&gt;The test workspace had five items: an empty lakehouse, an empty notebook, a small semantic model in TMDL with five synthetic rows and one measure, a report in PBIR with one card, and a variable library. Everything was committed to a dev branch first. That baseline matters, as you will see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Slice.&lt;/strong&gt; I picked only the report and pressed Select related items. The semantic model was added for me, because the report binds to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd4qxo1uxn06jbtsr8cg2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd4qxo1uxn06jbtsr8cg2.png" alt="Select items dialog with the report and the semantic model ticked and the Select related items button highlighted" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Pick the item you are changing, then let Select related items add its dependencies. Names are blurred.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The new workspace held two items. When the change grew to the variable library, Add more items and an update brought it in, for three items in total.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzq6lulyyuf9j6eemwtwv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzq6lulyyuf9j6eemwtwv.png" alt="A branch workspace list with two items and a status bar showing the selective branch icon, the branch name and last sync time" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Two items instead of five. The icon next to the branch name in the status bar marks a selective branch.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One detail about reports is worth knowing. The committed definition.pbir pointed to the model by path. When I read the same report's definition through the Get Item Definition API, it pointed by connection, with the model ID inside. That ID never reached Git, which is what you want, so the branch workspace report binds to the model copy in its own workspace. Learn's &lt;a href="https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-report" rel="noopener noreferrer"&gt;PBIR report folder page&lt;/a&gt; says Git integration always exports a byPath reference when the report and model share a workspace.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Diff.&lt;/strong&gt; I changed a measure format string, added a second measure, changed the card title, and edited two values in the variable library. The side by side view showed the TMDL change line by line. It is the best part of the release. You see exactly what you are about to put in Git.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fokaak9j7j4rvfc640yd1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fokaak9j7j4rvfc640yd1.png" alt="Side by side compare of a TMDL file with the old and new format string highlighted" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Read this before every commit. The diff is per file, so you see which part of the item changed.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One catch: the commit for the measure change also carried the card title change, because the report had changes too and was ticked. Read the whole item list before you commit, not just the item you came for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Merge.&lt;/strong&gt; The pull request went through the Git provider as usual. Nothing in Fabric is involved, which is the point: review, branch policies and approvals live where they already live.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Settle.&lt;/strong&gt; This is where the interesting part happened. More on it below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fga-vs-preview.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fga-vs-preview.svg" alt="Readiness board: generally available items on the left, Preview items on the right, and the 28 Feb 2027 permission date along the bottom" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5. Build the process on the left column. Pilot the right column, but do not make it a step people depend on.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is still not ready
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;File level commit is Preview, and narrow.&lt;/strong&gt; It lets you commit some files of an item and leave the rest. It only works for some item types: Warehouse, SQL database, notebooks, Environment, Spark job definitions, pipelines, Dataflow Gen2 and Variable Library. Semantic models and reports are not on the list, and those are the items teams fight over most.&lt;/p&gt;

&lt;p&gt;I tried it on the variable library: I committed the variables file and left one value set file uncommitted. It worked, and the value set stayed as Modified in the workspace. The warning is honest:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F75x7pa53cx7quhd6v1f0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F75x7pa53cx7quhd6v1f0.png" alt="Commit partial selection dialog warning that committing part of an item can leave its definition incomplete or invalid in Git" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6. Fabric tells you a partial commit can leave an invalid definition in Git. Believe it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The dialog, titled "Commit partial selection? (preview)", says: "Committing part of an item's changes can leave its definition incomplete or invalid in Git. You may need to fix it manually before importing the item again." Keep this for cases where you know the file split is safe.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Some admin pieces are Preview.&lt;/strong&gt; Branch workspace admin profiles, the workspace setting that lets Contributors change the Git branch, the Workspace Relation API and deployment plans are all Preview. The Workspace Relation API did return the right relation types in my test (Branch on the source, Base on the branch workspace), so automation is possible, just not something to put in a production pipeline yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read the Preview labels carefully.&lt;/strong&gt; Learn's branched workspace page shows "Select items individually (Preview)" only in its deployment plan section, and deployment plans are Preview. Selective branching itself is GA per What's new. The page also says the status bar "says selective branch"; in my run it was an icon next to the branch name.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the update meets a local edit
&lt;/h2&gt;

&lt;p&gt;The conflict test was simple. The pull request changed the measure format from one decimal place pattern to another. Meanwhile someone had edited the same format string in the shared workspace and not committed it. Three versions of one line.&lt;/p&gt;

&lt;p&gt;The Updates tab flagged the conflict. The compare view has three modes: "Last sync vs. remote", "Workspace vs Remote" and "Last sync vs. workspace". The dialog where you choose is titled "Merge and update content to resolve conflicts". The modes are useful. Last sync vs. workspace shows what someone did locally, and that is the edit you are about to lose.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftt7wrpno44gfi5r4axzy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftt7wrpno44gfi5r4axzy.png" alt="Compare view on the conflicted semantic model in Last sync vs. remote mode, with the compare mode drop-down at the top right" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 7. Shown: Last sync vs. remote. Switch to Last sync vs. workspace before you choose; it shows the local edit you are about to lose.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I chose Accept incoming changes, then Merge And Update. The workspace ended on the merged format. The local edit was gone. Learn says exactly this: the workspace changes are lost. That is the right behaviour for a team that treats the pull request as the truth. It is also a quiet way to lose someone's afternoon if they edited the shared workspace and did not tell anyone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fwhich-edit-wins.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F56-fabric-branch-workspaces-ready%2Fwhich-edit-wins.svg" alt="Three version cards for one format string, two outcome cards for Accept incoming changes and Keep current content, and a warning strip to check Git status afterwards" width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 8. Accept incoming means the PR wins and the local edit is gone. Keep current content means you still owe a commit.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Then the surprise. After the update, the report, which was not in the conflict, showed as uncommitted with one change. After an update the workspace should match the branch, so every item should be Synced. The change appears to be the item description: it was empty in the shared workspace while the copy in Git still had it, and Learn notes that metadata changes take part in Git sync. I saw this once, I could not find it documented (checked 30 Oct 2026), and I am not calling it a bug. I am calling it a reason to add one step: look at Git status after every update, and do not walk away from a workspace that still shows changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  When to say yes
&lt;/h2&gt;

&lt;p&gt;Make branch workspaces the default when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;More than one person changes the same dev workspace in the same sprint.&lt;/li&gt;
&lt;li&gt;Your Git provider already does the review, so the pull request can be the only way changes get back.&lt;/li&gt;
&lt;li&gt;Your items are on the supported list for Git integration, and reports use PBIR so the diffs are readable.&lt;/li&gt;
&lt;li&gt;You can commit the shared workspace before people branch out. If the shared workspace often has uncommitted work, fix that first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wait, or keep it small, when:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your process depends on partial commits of semantic models or reports. That is not supported.&lt;/li&gt;
&lt;li&gt;You need admin profiles or the workspace setting for branch switching by Contributors as a control. Those are Preview.&lt;/li&gt;
&lt;li&gt;People in the dev workspace lack write access to some items, for example because of sensitivity label protection. After 28 Feb 2027 they can't use Git integration, so sort out access first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My answer to the title: yes for the core loop, with two rules written down. Nobody edits the shared workspace directly while a branch is open, and every update ends with a status check.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Branching out from uncommitted work.&lt;/strong&gt; Branch out uses the last commit of the source workspace. Anything not committed is not in your branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branching out into an existing workspace.&lt;/strong&gt; That can delete uncommitted items already there. Use a new workspace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Switching branch in a selective workspace.&lt;/strong&gt; The selection resets, so you get every item. Create a new branch workspace instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expecting settings to follow.&lt;/strong&gt; Settings from the original workspace are not copied. Disconnecting it removes the relation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Expecting Update to respect the selection.&lt;/strong&gt; Update in the shared workspace takes the whole branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clicking Accept incoming without looking.&lt;/strong&gt; Check Last sync vs. workspace first. The local edit has no other way back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Partial commits on items that need all their files.&lt;/strong&gt; Fabric warns you that the definition can end up invalid.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trusting the compare for every file.&lt;/strong&gt; Compare does not display the contents of binary files or files over 1 MB.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt; if your team already uses pull requests:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Commit the shared dev workspace. Status should be Synced before anyone branches out.&lt;/li&gt;
&lt;li&gt;Branch out to a new workspace per change. Pick the items, press Select related items.&lt;/li&gt;
&lt;li&gt;Read the compare view before each commit. Commit whole items.&lt;/li&gt;
&lt;li&gt;Merge by pull request only.&lt;/li&gt;
&lt;li&gt;In the shared workspace, review the Updates tab, resolve conflicts with Last sync vs. workspace open, then check Git status. Do not finish until it is Synced.&lt;/li&gt;
&lt;li&gt;Delete the branch workspace when the pull request is merged.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Adapt&lt;/strong&gt; if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You have a lot of notebooks or pipelines and want file level commit. Pilot it on one item type, and add a check that the item still imports from Git.&lt;/li&gt;
&lt;li&gt;You want to automate branch workspace creation. The Workspace Relation API works, but it is Preview, so keep a manual fallback.&lt;/li&gt;
&lt;li&gt;Your capacity is shared and small. A branch workspace uses capacity too, so keep the selection tight.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;The full demo, with the steps, the observations and the evidence, is in &lt;a href="https://github.com/geekindata/tech-demos/tree/main/demos/fabric-branch-workspaces" rel="noopener noreferrer"&gt;tech-demos/fabric-branch-workspaces&lt;/a&gt;. It runs on a trial capacity with synthetic data, and the timings in it are single runs, not benchmarks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/11-fabric-cicd-blast-radius" rel="noopener noreferrer"&gt;Fabric CI/CD: How Do You Limit Blast Radius Across Dev Workspaces?&lt;/a&gt; (what a deployment touches compared with what Git changed)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;Fabric CI/CD: Merge the whole ladder, or cherry-pick what is ready?&lt;/a&gt; (moving one change forward when the branch holds several)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/31-variable-library-deploy-targets" rel="noopener noreferrer"&gt;Variable Library: How Do You Switch Active Value Sets from Dev to Prod?&lt;/a&gt; (how value sets behave across stages, which matters once branch workspaces edit them)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/44-fabric-workspace-naming-hygiene" rel="noopener noreferrer"&gt;Workspace Naming: Is a One-Time Rename Cheaper Than Translating Prefixes Forever?&lt;/a&gt; (branch workspaces multiply fast, so name them on purpose)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>fabric</category>
      <category>cicd</category>
      <category>git</category>
      <category>branchworkspaces</category>
    </item>
    <item>
      <title>Fabric Data Agents: What a 20-Question Baseline Proves</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Wed, 02 Dec 2026 05:05:54 +0000</pubDate>
      <link>https://dev.to/geekindata/fabric-data-agents-what-a-20-question-baseline-proves-4gcf</link>
      <guid>https://dev.to/geekindata/fabric-data-agents-what-a-20-question-baseline-proves-4gcf</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/54-fabric-data-agent-baseline" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Nineteen right answers and one unasked guess
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Fabric data agent with zero instructions and zero example queries got 19 of 20 questions correct and answered one with a different reasonable reading, on a clean synthetic schema. That is the problem: it looks finished.&lt;/li&gt;
&lt;li&gt;The one miss was not bad SQL. The agent picked a reading of "biggest customer" in its own rewrite of the question, then wrote correct SQL for that reading.&lt;/li&gt;
&lt;li&gt;Score the rewritten question and the generated SQL, not only the answer text. Both sit in the response if you call the agent from code.&lt;/li&gt;
&lt;li&gt;Compute gold answers outside the agent, on the same data snapshot, and write down every reading of each ambiguous question before you run it.&lt;/li&gt;
&lt;li&gt;The token usage the response returns gives an estimate that is probably a floor, not the bill. Confirm in the Capacity Metrics app before you quote a number.&lt;/li&gt;
&lt;li&gt;Re-run the same set after every runtime, model, instruction or example change. The next runtime rollout starts on 2 November.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Picture a team that connects a data agent to a lakehouse on a Friday, asks it ten questions they already know the answers to, and gets ten right. On Monday they hand it to the business. On Tuesday someone asks "who is our biggest customer?", gets a confident, well formatted name, and puts it in a slide. Nobody asked which "biggest" they meant, and nobody would notice that the agent never asked either.&lt;/p&gt;

&lt;p&gt;I wanted to know what a baseline actually catches before any tuning, so I ran one. This post is the method, the numbers, and what I would change before trusting the result.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: gold → plant → read → re-run&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Fgold-plant-read-rerun.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Fgold-plant-read-rerun.svg" alt="Four steps to baseline a Fabric data agent: gold answers computed outside the agent, planted ambiguous questions, reading the rewrite and the SQL, and re-running after every change." width="960" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. The pass rate is the least interesting output. Steps 2 and 3 are where a baseline earns its keep.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What this is and is not.&lt;/strong&gt; This is a first-hand test on synthetic data: a TPC-H-derived schema at roughly scale factor 1, generated with a seeded Spark generator rather than the official dbgen tool, and loaded into a lakehouse as seven Delta tables. It is not official TPC-H data and nothing here is an audited TPC result. It is one run per question, on the smallest paid capacity, with English questions against a simple, well named schema. It is not a production accuracy claim, and 20 questions is a smoke test, not a benchmark. Treat every number below as "what one careful afternoon shows", not as "what a data agent scores".&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The setup.&lt;/strong&gt; One lakehouse, one data agent, all seven tables selected, no agent instructions, no data source instructions, no example queries, published. The API responses reported model gpt-5.1. The agent was on the standard runtime (read from the agent settings after the run): the preview runtime switch is not set. I called the published agent from a Python script with the Fabric data agent Python SDK, with a fresh conversation per question, so no answer could lean on a previous one. Every question got a gold answer computed with DuckDB against the same Delta snapshot, not with the agent and not with the SQL endpoint the agent uses.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvikujwxok90d6w9q131h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvikujwxok90d6w9q131h.png" alt="Fabric data agent editor. In the Explorer pane, the lakehouse is expanded to Schemas, dbo and Tables, and all seven tables are ticked. The Agent instructions pane is open and holds only Fabric's placeholder text, so no instructions were written. The runtime selector reads Standard, and the test chat pane shows the published description &amp;quot;Baseline, no instructions&amp;quot;. Names and IDs are blurred." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. The baseline setup: all seven tables selected and the instructions box still empty, so every answer below comes from the agent with no instructions. Captured on my trial capacity after the run. The setup has not changed since I published the agent. Table names are cut off by the narrow pane.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The question set.&lt;/strong&gt; Twenty questions: single table counts and sums, joins of two to five tables, date filters, a top N, a month with the most orders, and two questions planted to be ambiguous on purpose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How the questions are worded.&lt;/strong&gt; This matters for every number below. Eighteen of the twenty use the schema's own vocabulary. Four of them spell out the revenue formula ("extended price times one minus discount"), five use literal column values such as a ship mode, a return flag or an order priority, and five say how to round. Only the two ambiguous questions are phrased the way a business user would ask. That makes the 18 easier than real questions, which is part of the point: a high pass rate on questions like these says more about the wording than about the agent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The headline numbers.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Correct&lt;/td&gt;
&lt;td&gt;19 of 20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Different reasonable reading&lt;/td&gt;
&lt;td&gt;1 (the "biggest customer" question)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Generated SQL captured&lt;/td&gt;
&lt;td&gt;20 of 20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Latency, median&lt;/td&gt;
&lt;td&gt;7.6 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Latency, p90&lt;/td&gt;
&lt;td&gt;11.4 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Latency, fastest and slowest&lt;/td&gt;
&lt;td&gt;5.3 s and 15.7 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capacity time for the whole run&lt;/td&gt;
&lt;td&gt;about 7 minutes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Measured on my F2 capacity, 30 Oct 2026, one run per question.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The slowest call, at 15.7 s, was the first request after publishing. It started 22 seconds after I republished the agent and had nothing in the prompt cache, so read it as a first request after publishing, not as a general cold start. Without it the median is 7.55 s and the p90 is 10.8 s. One run per question cannot show whether it happens every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Gold answers come from outside the agent
&lt;/h3&gt;

&lt;p&gt;The gold set is the whole test, so it cannot share a code path with the thing under test. I wrote one SQL statement per question and ran it with DuckDB on the same Delta files. If the agent and the gold disagree, you want the disagreement to mean something about the agent, not about two copies of the same mistake.&lt;/p&gt;

&lt;p&gt;Two scoring details matter more than they look:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Rounding.&lt;/strong&gt; One revenue total came back as 8,683,700,250.8999 against a gold of 8,683,700,250.90. Same number, different precision. A strict string match calls that wrong, so my scorer compares numbers with a small tolerance, and it passed this one on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Formatting.&lt;/strong&gt; The "month with the most orders" answer said July with 20,773 orders. My scorer looked for the month as a number, so it marked the answer partial. A human read marked it correct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The second one is why every partial and every wrong gets a human read before it counts. The scorer erred on the strict side, which is the safe direction, but it still erred.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Plant ambiguity, and write every reading down first
&lt;/h3&gt;

&lt;p&gt;Two questions were ambiguous by design:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"What were our total sales in 1995?" I wrote down five defensible readings: net of discount by order date (my gold), net of discount by ship date, gross by order date, gross by ship date, and net including tax by order date. On this data those five span from 35.15 billion to 37.01 billion, about 5 percent apart. Every one of them is a plausible looking number with no error message.&lt;/li&gt;
&lt;li&gt;"Who is our biggest customer?" can mean most net revenue, most gross revenue, most orders, or highest account balance. Net and gross revenue name the same customer. Most orders and highest account balance each name a different one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wrote all of those readings, with their numbers, into the test before the run. That is the step people skip, and it is the step that turns "the answer looked fine" into a score.&lt;/p&gt;

&lt;p&gt;On the sales question the agent chose net of discount, by order date, which matched my gold reading. I counted it correct, but be honest about what that means: it matched my convention. A finance team that books sales by ship date would have got a number that was wrong for them, and the answer did not say which definition it used.&lt;/p&gt;

&lt;p&gt;On the customer question the agent chose highest account balance. The answer did say "by account balance", which is better than nothing, but it did not ask. I counted it partial: a different reasonable reading, and one I had written down, but not the one the business most likely meant.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Read the rewrite and the SQL, not only the answer
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Fwhere-the-guess-happens.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Fwhere-the-guess-happens.svg" alt="A request traced from the question through the orchestrator rewrite, where the reading was chosen, to query generation, execution and the answer." width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. The SQL was correct for the question it was handed. The guess happened one step earlier, in the rewrite.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;When you call a published data agent from code, the response carries its tool steps: the agent's rewrite of your question in natural language, the SQL it generated, and the result it ran. For the customer question the rewrite already said "the single customer with the highest account balance". The SQL step then did exactly what it was told. If you only score the final answer, you see a wrong customer. If you read the rewrite, you see where the decision was made, which tells you where to fix it: an instruction that defines "biggest customer", or an example query that shows it.&lt;/p&gt;

&lt;p&gt;Reading the SQL also surfaces things that are right today and fragile tomorrow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A top customers query grouped by customer name rather than customer key. On this sample every name is unique, so the result was exact. On real data with two customers of the same name, it would silently merge them.&lt;/li&gt;
&lt;li&gt;A quarter filter used BETWEEN '1994-01-01' AND '1994-03-31'. On a date column that is correct. On a datetime column it would drop most of the last day.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither of those costs a point in a pass rate. Both are worth an instruction or an example query before real users arrive.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Freading-the-generated-sql.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F54-fabric-data-agent-baseline%2Freading-the-generated-sql.svg" alt="Two panels from the logged run, not a live screenshot. Left, Q12, &amp;quot;Who are the top 5 customers by total revenue (extended price times one minus discount) across all orders?&amp;quot;: the agent's SQL selects TOP 5 c.c_name and SUM(l.l_extendedprice * (1 - l.l_discount)) AS total_revenue across customer, orders and lineitem, grouped by c.c_name. Its first row, Customer#000023424, matches the gold, and the verdict is matches gold, 10 of 10 values. Right, Q20, &amp;quot;Who is our biggest customer?&amp;quot;: the agent's SQL selects TOP 1 from dbo.customer ORDER BY c_acctbal DESC and returns Customer#000134833 with an account balance of 9,999.95. The gold reading, highest net revenue, gives Customer#000023424. The verdict is valid SQL, different reading." width="960" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Built from the logged run, not a live screenshot. Both queries ran without an error. The SQL shows exactly which question each one answered: Q20 ranked by account balance, and Q12 grouped by name, which is exact today and fragile tomorrow.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;One more thing showed up in the tool inputs. In eight of the nine multi-table questions, the trace shows the agent handing its SQL step a list of join keys labelled "Verified ontology join path". I had written no instructions. In the ninth, that list was empty and the SQL joined the tables anyway. No ontology was attached to this agent, and Microsoft's docs don't describe this step, so I am only reporting what the trace shows. If I re-run the set after the November update, I will check whether it is still there. You only see it if you read the steps.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Treat returned token usage as an estimate
&lt;/h3&gt;

&lt;p&gt;The response also returns token usage. Per request it showed roughly 5,800 input tokens, of which 5,632 were cached on 18 of the 20 calls, and between 13 and 137 output tokens. The &lt;a href="https://learn.microsoft.com/en-us/fabric/enterprise/fabric-operations" rel="noopener noreferrer"&gt;Fabric operations&lt;/a&gt; page lists data agent usage as the AI query operation and links its rates to the &lt;a href="https://learn.microsoft.com/en-us/fabric/fundamentals/copilot-fabric-consumption" rel="noopener noreferrer"&gt;Copilot consumption&lt;/a&gt; page: 100 CU seconds per 1,000 input tokens, 10 per 1,000 cached input tokens and 400 per 1,000 output tokens. Applied to the API's own token counts, that puts the AI cost at about 2,900 CU seconds for the 20 questions, roughly 145 each. That is probably a lower bound. The Capacity Metrics figure follows in an update on 1 November or later, because the app lags, and I am not giving a currency figure until then.&lt;/p&gt;

&lt;p&gt;Two cautions before anyone copies that figure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Caching swings it by four to eight times.&lt;/strong&gt; The two calls with no cached tokens cost about 580 CU seconds each. The cached ones cost between 75 and 140. One of the uncached calls was the first request. The other was the fifth of 20, early in the run, so caching is likely, not guaranteed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is probably not the full bill.&lt;/strong&gt; Each response carries a single usage object, while the step that writes the SQL shows its own generation with no token counts, so the returned usage looks like it covers the orchestrator call only. The SQL the agent runs is billed separately, as a SQL Endpoint Query. In the Capacity Metrics app the agent itself shows up as AI query under the LlmPlugin item kind, a background operation, and that is the number to quote. Until you have it, call the token figure an estimate and probably a lower bound.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. Re-run after every change
&lt;/h3&gt;

&lt;p&gt;A baseline is only useful as the "before" in a comparison. Keep the question set, the gold answers and the readings in source control, and re-run them after any change to instructions, example queries, selected tables, the model, or the runtime.&lt;/p&gt;

&lt;p&gt;That last one is not hypothetical. A &lt;a href="https://community.fabric.microsoft.com/blog/fbc_fabricupdatesblogs/advanced-nl2sql-and-advanced-dax-generation-in-fabric-data-agents-generally-avai/5374654" rel="noopener noreferrer"&gt;Fabric blog post on 19 October 2026&lt;/a&gt; announced advanced NL2SQL and advanced DAX generation as generally available and said the core improvements roll out to the standard runtime from 2 November, expected to finish by 10 November, with no opt-in. The standard runtime also moves to GPT-5.6 Terra. On the SQL side, the list of what moves names improved example query following, filter value substitution and data exploration. Asking clarifying questions is not on that list: it is one of the advanced NL2SQL modes, and the documentation places it on the preview runtime. Learn's &lt;a href="https://learn.microsoft.com/en-us/fabric/data-science/data-agent-sql-sources" rel="noopener noreferrer"&gt;SQL sources page&lt;/a&gt; still lists advanced NL2SQL as a preview tool on the preview runtime today, while the blog post calls it generally available, so check both before you rely on either. I do not expect the rollout alone to fix the customer question. A re-run after the rollout is planned but not scheduled yet, and with one run per question it could show a change but not prove one. The same post recommends rerunning a ground truth set and comparing it with your previous baseline, which is exactly what this set is for.&lt;/p&gt;

&lt;p&gt;For repeated runs at scale, Microsoft's documented SDK route (preview) is &lt;a href="https://learn.microsoft.com/en-us/fabric/data-science/evaluate-data-agent" rel="noopener noreferrer"&gt;evaluate_data_agent&lt;/a&gt; in the fabric-data-agent-sdk package. It takes question and expected answer pairs, needs a paid F2 or higher (or P1), and scores each answer with an LLM judging prompt that you can replace with your own. That makes the judge a model too, so hand-check its partials and failures the same way. A hand-built harness like mine is fine for 20 questions. It does not scale to the few hundred a real domain needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Testing only questions you already know are clear.&lt;/strong&gt; A clean schema with good column names passes easy questions with no instructions at all. That proves the schema is clean, not that the agent is ready.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Using the agent, or its SQL endpoint, to build the gold set.&lt;/strong&gt; Then a shared mistake looks like agreement. Compute expected answers through a different path.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scoring only the final answer.&lt;/strong&gt; The answer tells you that something went wrong. The rewrite and the SQL tell you where, and so what to change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Counting a matched ambiguous question as a pass without saying so.&lt;/strong&gt; If the agent's reading matched yours, it matched your convention. Record which reading it chose, so a later run that picks a different one shows up as a change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Running once and calling it a baseline.&lt;/strong&gt; One run per question tells you nothing about variance. Plan at least three runs per question before you compare a before and after. I ran one here, and I would not compare runtimes on it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quoting token CU as cost.&lt;/strong&gt; It likely leaves out the inner calls, and it certainly leaves out the query engine. Use the Capacity Metrics app.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The four steps: gold from outside the agent, planted ambiguity with readings written down, scoring the rewrite and the SQL, re-running after every change.&lt;/li&gt;
&lt;li&gt;A fresh conversation per question, so answers cannot lean on each other.&lt;/li&gt;
&lt;li&gt;A human read of every partial and every wrong before it counts.&lt;/li&gt;
&lt;li&gt;Recording the rewritten question and the SQL next to each answer, so two runs can be diffed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Question set.&lt;/strong&gt; Twenty is a smoke test. Use the questions your users actually ask, and grow the set every time a real question surprises you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ambiguity.&lt;/strong&gt; Plant the ambiguities your business really has: fiscal or calendar year, booked or shipped, gross or net, which customer hierarchy. Sample data will not tell you which ones matter.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs.&lt;/strong&gt; Run each question several times on the same configuration before you compare configurations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost.&lt;/strong&gt; Replace the token estimate with the Capacity Metrics app figure for the same window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale.&lt;/strong&gt; Move from a hand harness to evaluate_data_agent once the set passes a few dozen questions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/geekindata/tech-demos/tree/main/demos/fabric-data-agent-baseline" rel="noopener noreferrer"&gt;data agent baseline demo&lt;/a&gt; in my public tech-demos repo has the 20 questions, the gold answers and every alternative reading, the scorer, and the results with the generated SQL, so you can run the same baseline against your own agent and diff it after the November update.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Next in the trial series: &lt;a href="https://www.geekindata.com/blog/55-fabric-engines-1b-rows-query-shape" rel="noopener noreferrer"&gt;Fabric Engines on 1B Rows: Pick by Query Shape&lt;/a&gt; (the same TPC-H-derived schema at one billion rows, timed on four engines)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/49-fabric-iq-semantic-model-readiness" rel="noopener noreferrer"&gt;Fabric IQ: Is Your Semantic Model Ready?&lt;/a&gt; (the modelling work that decides how many of these questions an agent can answer at all)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;Agent Evals: Can a Score Block a Release?&lt;/a&gt; (turning a baseline like this into a gate that can stop a release)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/13-genie-readiness-is-a-modeling-problem" rel="noopener noreferrer"&gt;Data Agent Readiness: Is Genie (and Fabric Agents) Really a Modeling Problem?&lt;/a&gt; (the same lesson on another platform: the agent is only as clear as the data model under it)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you only change one habit, write down every reading of your ambiguous questions before you run them. A baseline without that is a pass rate, and a pass rate on clear questions says very little.&lt;/p&gt;

</description>
      <category>fabric</category>
      <category>ai</category>
      <category>dataengineering</category>
      <category>sql</category>
    </item>
    <item>
      <title>Foundry Hosted Agents Still Need a Front Door</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Wed, 02 Dec 2026 05:05:18 +0000</pubDate>
      <link>https://dev.to/geekindata/foundry-hosted-agents-still-need-a-front-door-27fm</link>
      <guid>https://dev.to/geekindata/foundry-hosted-agents-still-need-a-front-door-27fm</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/52-foundry-hosted-agents-front-door" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Hosted agents move the runtime. Your front door stays
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A hosted agent moves the runtime: your code, in a container, with its own identity and endpoint. It does not move sign-in, app roles, or which user may open which session.&lt;/li&gt;
&lt;li&gt;Move an agent off a prompt agent only when the agent itself needs code a prompt agent cannot express. A nicer deploy story is not a reason.&lt;/li&gt;
&lt;li&gt;The credential your backend calls with sets the isolation scope. Call with the app's own identity and no user header, and every user lands in one scope.&lt;/li&gt;
&lt;li&gt;Per-user isolation for your own users needs a user header and a custom role, and even then the platform does not fence delegated users from each other. Your session map does.&lt;/li&gt;
&lt;li&gt;Guardrails can fail open while everything returns HTTP 200. Test a blocked prompt per protocol before you rely on it.&lt;/li&gt;
&lt;li&gt;One version per endpoint, no traffic splitting: rollout and version pinning stay with your front door.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With Foundry hosted agents generally available, the obvious question for anyone running an agent web app is: can we drop our backend now? Foundry will run our code, give it an identity and an endpoint, and scale it to zero. Why keep an App Service in front of it?&lt;/p&gt;

&lt;p&gt;I have not moved an agent to the hosted runtime yet. On the agent apps I build, agents are prompt agents behind our own backend, and "hosted" exists as a parked runtime value in the agent catalog, behind a flag. This post is why it is parked, what would make me turn it on, and why the backend stays either way.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: runtime moves, front door stays&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Runtime plane (can move to Foundry):&lt;/strong&gt; the code that runs the agent, its sandbox, its scaling, its agent identity, its guardrails and egress rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Front door plane (stays yours):&lt;/strong&gt; who the user is, what they may use, which sessions and conversations are theirs, which version they get, and what the product shows them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The seam between them:&lt;/strong&gt; one call per user, with a credential that tells Foundry who that user is.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fruntime-moves-front-door-stays.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fruntime-moves-front-door-stays.svg" alt="Two planes side by side: the front door you keep owns sign-in and app roles, the user to session map, the conversation index and resume, version pinning and rollout, approvals, citations and audit, and usage and cost views; the hosted agent runtime that Foundry runs owns your code in a container, agent identity and endpoint, the per-session sandbox, scale to zero, guardrails and egress rules, and protocols; one arrow between them carries one call per user with a user token or a user header" width="960" height="564"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Hosted agents replace the right-hand panel. Nothing on the left moves with it.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;Foundry Agent Service has three agent types (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/overview" rel="noopener noreferrer"&gt;overview&lt;/a&gt;). Prompt agents are configuration: instructions, a model and tools, and Foundry runs them. Hosted agents are your code, in any framework, packaged as a container that Foundry runs with a managed endpoint, scaling and a dedicated Microsoft Entra agent identity (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/hosted-agents" rel="noopener noreferrer"&gt;hosted agents&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;By front door I mean the backend between the browser and Foundry: it signs the user in, checks app roles, decides which agents and sessions they can reach, streams the response and renders it. &lt;a href="https://www.geekindata.com/blog/21-foundry-webapp-deploy-pattern" rel="noopener noreferrer"&gt;Post 21&lt;/a&gt; and &lt;a href="https://www.geekindata.com/blog/38-secure-proxy-ai-shells" rel="noopener noreferrer"&gt;post 38&lt;/a&gt; cover why that layer exists at all. This post is about whether hosted agents change that answer. Product status below is as of October 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Decide on what the agent needs, not on deploy convenience
&lt;/h3&gt;

&lt;p&gt;Learn lists when to choose hosted agents over prompt agents. Reduced to the questions I ask about one agent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Does it need its own orchestration, or a framework graph, that instructions and tools cannot express?&lt;/li&gt;
&lt;li&gt;Does it need a protocol or channel the prompt agent does not speak?&lt;/li&gt;
&lt;li&gt;Does it need files and working state in a sandbox that survive across turns?&lt;/li&gt;
&lt;li&gt;Does it run long, or in the background, past a normal request?&lt;/li&gt;
&lt;li&gt;Does it need its own egress rules on outbound calls?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If every answer is no, a prompt agent is less to own. A hosted agent brings an image to build and patch, a registry to secure, and CPU and memory to size. Sizing is per session and billing counts CPU and memory across all active sessions, so, as Learn puts it, oversizing multiplies cost by your concurrency. Idle sessions scale to zero after a timeout you set, and a cold resume is part of your user experience.&lt;/p&gt;

&lt;p&gt;If one answer is yes for one agent, that agent moves. Not the app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fone-agent-decision-path.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fone-agent-decision-path.svg" alt="Decision path for one agent: five questions about custom orchestration, a custom protocol or channel, sandbox files and state, long-running work, and per-agent egress rules; any yes moves that agent to a hosted runtime, all no keeps it a prompt agent; a bar underneath says that either way the front door keeps sign-in, roles, the session map, rollout and product UX" width="960" height="486"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. The question is per agent. The answer sets one catalog field, not the architecture.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Runtime is a per-agent field, not an app-wide switch
&lt;/h3&gt;

&lt;p&gt;This is the design choice I would keep regardless of the platform roadmap. Each agent in our catalog carries how it runs. Today every entry says prompt agent. The hosted value exists, behind a flag, with nothing using it. When an agent needs it, one entry changes and the front door routes that agent's calls to its hosted endpoint. Sign-in, roles, citations, traces and the conversation list are designed not to care where the agent runs, so they should not change. Tool approvals are the part I would retest, because custom code can raise them differently.&lt;/p&gt;

&lt;p&gt;The alternative, deciding "we are a hosted agents app" up front, couples the product to a runtime choice that only some agents need. &lt;a href="https://www.geekindata.com/blog/36-feature-toggles-agent-shells" rel="noopener noreferrer"&gt;Post 36&lt;/a&gt; has the flag and overlay pattern I use for this.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The credential your backend calls with is a design decision
&lt;/h3&gt;

&lt;p&gt;Hosted agents isolate sessions by caller identity by default: each caller lists and manages only its own sessions (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/isolate-sessions-per-user" rel="noopener noreferrer"&gt;isolate sessions per user&lt;/a&gt;). That sounds like the platform did your authorization for you. It did not. It depends on who Foundry thinks the caller is, and your backend decides that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Forward the user.&lt;/strong&gt; The backend calls on behalf of the signed-in user, so Foundry sees that user. Isolation is per user, and tools can act with the user's own access through per-connection user delegation (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/configure-user-delegation" rel="noopener noreferrer"&gt;user delegation&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Call as the app, with no user header.&lt;/strong&gt; Foundry sees one caller. Every user's sessions sit in one scope, and there is no user context for tools to delegate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Call as the app, with a user header.&lt;/strong&gt; The backend sends a stable user identifier in &lt;code&gt;x-ms-user-identity&lt;/code&gt;. Sessions are scoped to that value. The calling identity needs a data action that no built-in role includes, so you create a custom role for it; without it, the call returns 403. The delegation page adds that a service calling for many users should send this value per user, so users do not share OAuth sign-in state for tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The third shape has a sharp edge. Learn's warning: within delegation, the platform does not fence one delegated user from another. It only separates delegated from non-delegated callers. Route two users to the same session ID and they can see each other's data. The sessions page says it plainly: the isolation key "is a partitioning value, not an authentication or authorization mechanism" (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/manage-hosted-sessions" rel="noopener noreferrer"&gt;manage sessions&lt;/a&gt;). Learn also notes that an identity with the Foundry User role on the project can list and manage every session on the agent. Know who holds it.&lt;/p&gt;

&lt;p&gt;I have seen the same trap with prompt agents. When our backend calls with its own managed identity, Foundry sees one caller, so the list of a user's conversations has to come from our own per-user index, not from Foundry. Hosted agents do not remove that index. They make it more important.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. A session is not a conversation
&lt;/h3&gt;

&lt;p&gt;Hosted agents separate two things that chat UIs tend to merge (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/manage-hosted-sessions" rel="noopener noreferrer"&gt;manage sessions&lt;/a&gt;). A session is the sandbox: compute and a persisted filesystem. A conversation is the history of messages and tool calls. On the Responses protocol, reusing a session ID does not replay history; continuity comes from the previous response or a conversation ID. On the Invocations protocol, the platform stores no history at all.&lt;/p&gt;

&lt;p&gt;So the front door still owns the conversation index: which conversations belong to which user, their titles, and how to resume one after the stream drops. &lt;a href="https://www.geekindata.com/blog/7-agent-sessions-vs-the-shell-app" rel="noopener noreferrer"&gt;Post 7&lt;/a&gt; covers why that clock is separate from the UI, and &lt;a href="https://www.geekindata.com/blog/47-foundry-webapp-cosmos-vs-sql" rel="noopener noreferrer"&gt;post 47&lt;/a&gt; covers where the index lives. Hosted agents add a third thing to map: which session belongs to which conversation, and to which user.&lt;/p&gt;

&lt;p&gt;One more rule from the same page: files uploaded to a session land in the agent's home directory. Treat them as untrusted, and never load code, plugins or configuration from there.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Rollout stays with you
&lt;/h3&gt;

&lt;p&gt;A hosted agent endpoint serves one version at a time, routes all traffic to it, and does not split traffic between versions (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/concepts/hosted-agents" rel="noopener noreferrer"&gt;hosted agents&lt;/a&gt;). Each session binds to one version when it is created, and &lt;code&gt;version_indicator&lt;/code&gt; pins a session to a concrete version so later turns keep it after you publish a newer one.&lt;/p&gt;

&lt;p&gt;That gives you the parts of a rollout, not the rollout. A canary, a pilot group on the new version, or a rollback that leaves running conversations alone are decisions about users, so they belong to the front door that knows the users. The eval gate in &lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;post 48&lt;/a&gt; runs before a version is published; the front door decides who meets it first.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Test the block, not the deploy
&lt;/h3&gt;

&lt;p&gt;Guardrails on hosted agents attach to the agent definition, and the guardrails page lists several ways they fail without an error (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/add-hosted-agent-guardrails" rel="noopener noreferrer"&gt;guardrails&lt;/a&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A policy name that does not exist: on many subscriptions the agent deploys, reports active, and filters nothing.&lt;/li&gt;
&lt;li&gt;The Invocations protocol without &lt;code&gt;invocations_moderation&lt;/code&gt;: the policy is inert, requests pass unfiltered, and the agent returns HTTP 200.&lt;/li&gt;
&lt;li&gt;The Invocations WebSocket protocol: content moderation is not available.&lt;/li&gt;
&lt;li&gt;A policy change: running sandboxes do not pick it up. You deploy a new agent version and start or resume a session.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Streaming adds a front door job. A prompt blocked at input is rejected before any event. But on the Invocations protocol, output blocked partway through a stream arrives as an error event inside an HTTP 200 response, and earlier text may already be on screen. Learn says it directly: a 200 status alone does not mean the response passed the policy. The UI has to treat that event as terminal and say the answer was stopped, not leave half an answer looking complete.&lt;/p&gt;

&lt;p&gt;Egress controls for hosted agents are in preview and, in Learn's words, complement your own network controls rather than replace them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fwhere-it-fails-open.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F52-foundry-hosted-agents-front-door%2Fwhere-it-fails-open.svg" alt="Places a hosted agent fails open while returning success: a policy name that does not exist, the Invocations protocol without moderation settings, the WebSocket protocol with no moderation, a blocked stream that returns HTTP 200 with an error event after partial text, an app identity calling without a user header, and two delegated users routed to one session ID" width="960" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Each of these returns success. The test is a prompt that should be blocked and a user who should be refused.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7. What would make me turn the flag on
&lt;/h3&gt;

&lt;p&gt;The day one agent needs a framework graph, sandbox files across turns, or work that outlives a request, that agent's catalog entry changes to hosted. Before it does, three checks: the backend calls with a credential that carries the user, a blocked prompt is blocked on the protocol that agent uses, and a second user cannot reach the first user's session through our API. None of those checks is about the hosted runtime. All of them are about the front door.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Dropping the backend because the runtime moved.&lt;/strong&gt; Sign-in, roles and the session map were never in the runtime.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Calling as the app with no user header.&lt;/strong&gt; Every user shares one isolation scope.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reusing one session ID across users.&lt;/strong&gt; The platform does not fence delegated users from each other.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Treating the session ID as the conversation.&lt;/strong&gt; It does not replay history.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trusting a guardrail because the deploy succeeded.&lt;/strong&gt; Test a blocked prompt per protocol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Treating HTTP 200 as success in a stream.&lt;/strong&gt; Handle the error event.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sizing every session for the worst case.&lt;/strong&gt; The bill multiplies by concurrency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Making runtime an app-wide switch.&lt;/strong&gt; Make it a field per agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The five questions per agent, and moving only the agent that answers yes.&lt;/li&gt;
&lt;li&gt;Runtime as a field in the agent catalog, behind a flag until an agent needs it.&lt;/li&gt;
&lt;li&gt;A per-user conversation and session index in your own store, checked on every call.&lt;/li&gt;
&lt;li&gt;One session per user, never shared across delegated users unless you designed for it.&lt;/li&gt;
&lt;li&gt;A blocked-prompt test per protocol as part of every release.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Forwarding the user versus a user header from the app: it depends on whether your users sign in with Entra and on what your tools need to act as the user.&lt;/li&gt;
&lt;li&gt;How you pin versions for a pilot group, given there is no traffic splitting.&lt;/li&gt;
&lt;li&gt;Idle timeout and session sizing, measured on a representative workload rather than guessed.&lt;/li&gt;
&lt;li&gt;Whether a stopped stream retracts the partial text or marks it, depending on what your users may already have copied.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/series/microsoft-foundry" rel="noopener noreferrer"&gt;Microsoft Foundry series&lt;/a&gt; (all posts on production agent apps)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/21-foundry-webapp-deploy-pattern" rel="noopener noreferrer"&gt;Microsoft Foundry: Is Deploy as Web App Enough, or Do You Need a Backend Proxy?&lt;/a&gt; (why the front door exists)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/38-secure-proxy-ai-shells" rel="noopener noreferrer"&gt;Secure AI Shells: Should the Browser Talk to Foundry, or Only Through a Proxy?&lt;/a&gt; (the proxy boundary)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/7-agent-sessions-vs-the-shell-app" rel="noopener noreferrer"&gt;Microsoft Foundry: How Do You Persist Agent Sessions Outside the Chat Shell?&lt;/a&gt; (conversation clocks)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/47-foundry-webapp-cosmos-vs-sql" rel="noopener noreferrer"&gt;Foundry Agent Webapps: Cosmos or Azure SQL for Backend State, and When?&lt;/a&gt; (where the index lives)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/36-feature-toggles-agent-shells" rel="noopener noreferrer"&gt;Agent Shells: How Do You Feature-Toggle Agent Capabilities Across Environments?&lt;/a&gt; (flags and overlays)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;Agent Evals: Can a Score Block a Release?&lt;/a&gt; (gating a version)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let Foundry run the agent. Keep owning who gets to talk to it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>azure</category>
      <category>sessionmanagement</category>
      <category>security</category>
    </item>
    <item>
      <title>Databricks Bundles: What Changes per Target?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Mon, 30 Nov 2026 20:34:45 +0000</pubDate>
      <link>https://dev.to/geekindata/databricks-bundles-what-changes-per-target-1fe4</link>
      <guid>https://dev.to/geekindata/databricks-bundles-what-changes-per-target-1fe4</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/50-databricks-bundles-target-ladder" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Same commit, different target, different identity
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Code never changes between targets. Only bindings do: catalog, host, schedules, identity and permissions.&lt;/li&gt;
&lt;li&gt;Development and production modes are bundles of presets, not a ladder. A test target with no mode gets none of their safety defaults.&lt;/li&gt;
&lt;li&gt;A setting on the resource beats a preset, which beats the mode. Hardcode a schedule as unpaused and it runs everywhere.&lt;/li&gt;
&lt;li&gt;Bundle variables resolve at deploy time. Pass the catalog to code as a job parameter.&lt;/li&gt;
&lt;li&gt;Deploy as one service principal, run as another. When they differ, only jobs and pipelines are supported.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep the code identical in every target, and put only a small, explicit set of bindings in each target block: catalog, host, schedules, run identity and permissions. The payoff: the commit you tested in dev is the same commit that runs in prod, and a hardcoded schedule or host cannot leak from one environment into the next.&lt;/p&gt;

&lt;p&gt;A bundle will not make that split for you. It will happily deploy the same jobs to three environments, but its defaults are lopsided: development mode is careful, production mode checks a few things, and a test target in the middle gets nothing unless you ask.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: fixed code, bound targets, split identities&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Fixed code:&lt;/strong&gt; notebooks, SQL and job definitions are identical in every target. No hosts, catalogs or IDs in code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bound targets:&lt;/strong&gt; each target sets its catalog, schedules, run identity and permissions; the host comes from the pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split identities:&lt;/strong&gt; a CI identity deploys; a separate service principal runs; people get permissions, not credentials.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fone-commit-three-targets.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fone-commit-three-targets.svg" alt="One commit flows into three targets. Each target binds its own catalog, schedule state, run identity and mode; the code, job definitions and SQL stay identical" width="960" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. The code column never changes. If something differs between environments, it belongs in the target block.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;Declarative Automation Bundles describe jobs, pipelines and other resources in YAML next to the code, and the Databricks CLI deploys them per target. They were called Databricks Asset Bundles until March 2026; the rename is non-breaking (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/faqs" rel="noopener noreferrer"&gt;bundle FAQs&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;The bundle template I maintain is small: one catalog per environment, serverless jobs, an integration test job deployed with the bundle, and an Azure DevOps pipeline using workload identity federation. It ships two targets, dev and prod. What follows comes from deciding what goes in those target blocks, and what changes when you add a third.&lt;/p&gt;

&lt;p&gt;It is the Databricks counterpart to &lt;a href="https://www.geekindata.com/blog/11-fabric-cicd-blast-radius" rel="noopener noreferrer"&gt;post 11&lt;/a&gt; (parameterize environment bindings) and &lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;post 46&lt;/a&gt; (promote by commit).&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Treat modes as presets, not as a ladder
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;mode: development&lt;/code&gt; prefixes resource names with your user name, tags jobs and pipelines, pauses all schedules and triggers, allows concurrent runs, and disables the deployment lock. &lt;code&gt;mode: production&lt;/code&gt; validates that pipelines are not in development, optionally checks that you are deploying from the expected Git branch, and expects either a service principal as &lt;code&gt;run_as&lt;/code&gt; or explicit &lt;code&gt;run_as&lt;/code&gt; and &lt;code&gt;permissions&lt;/code&gt; (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/deployment-modes" rel="noopener noreferrer"&gt;deployment modes&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Modes are optional, and there is no test mode. A test target without one gets no prefix, no schedule pausing and no production checks unless you add presets.&lt;/p&gt;

&lt;p&gt;Then the precedence rule from the same page: resource settings override presets, and presets override the mode. Learn's own example is the one that bites: a schedule set to &lt;code&gt;UNPAUSED&lt;/code&gt; on the job stays unpaused even when the target's &lt;code&gt;trigger_pause_status&lt;/code&gt; preset says &lt;code&gt;PAUSED&lt;/code&gt;. Write &lt;code&gt;pause_status: UNPAUSED&lt;/code&gt; into the job YAML because prod needs it, and every target that deploys the job runs it on schedule. That includes development mode: an explicit &lt;code&gt;pause_status: UNPAUSED&lt;/code&gt; stays unpaused in dev too, so set the dev value yourself (&lt;a href="https://docs.databricks.com/aws/en/dev-tools/bundles/deployment-modes" rel="noopener noreferrer"&gt;deployment modes&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnw3i5ro5x9pwv6vr27p1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnw3i5ro5x9pwv6vr27p1.png" alt="Databricks Jobs list filtered to demo_daily_job: a dev copy named [dev sai] demo_daily_job with a tag, next to the prod demo_daily_job, and both triggers still Scheduled" width="799" height="147"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. One bundle deployed to dev and prod gives two jobs. Development mode added the [dev sai] prefix and a tag, but the job sets &lt;code&gt;pause_status: UNPAUSED&lt;/code&gt;, so the dev copy stayed Scheduled. At the time of this shot prod had no &lt;code&gt;run_as&lt;/code&gt; and ran as the deploying user, which is not what I recommend for a real prod target. Figure 4 shows the same prod job after I added a service principal.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I make the schedule state a variable, paused by default, and unpause it only in the prod target:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;variables&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;catalog&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;One Unity Catalog catalog per environment.&lt;/span&gt;
  &lt;span class="na"&gt;schedule_pause_status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;default&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;PAUSED&lt;/span&gt;
  &lt;span class="na"&gt;test_sp_app_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Application ID of the test run principal.&lt;/span&gt;
  &lt;span class="na"&gt;prod_sp_app_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Application ID of the prod run principal.&lt;/span&gt;

&lt;span class="na"&gt;targets&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;dev&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;development&lt;/span&gt;
    &lt;span class="na"&gt;default&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="na"&gt;variables&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;catalog&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;project_dev&lt;/span&gt;
  &lt;span class="na"&gt;test&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;variables&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;catalog&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;project_test&lt;/span&gt;
    &lt;span class="na"&gt;run_as&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;service_principal_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${var.test_sp_app_id}&lt;/span&gt;
  &lt;span class="na"&gt;prod&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;production&lt;/span&gt;
    &lt;span class="na"&gt;git&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;branch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;main&lt;/span&gt;
    &lt;span class="na"&gt;variables&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;catalog&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;project_prod&lt;/span&gt;
      &lt;span class="na"&gt;schedule_pause_status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;UNPAUSED&lt;/span&gt;
    &lt;span class="na"&gt;run_as&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;service_principal_name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${var.prod_sp_app_id}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The job reads &lt;code&gt;pause_status: ${var.schedule_pause_status}&lt;/code&gt;. Forget to set it and the job stays paused, which is the failure you want.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fresource-beats-preset-beats-mode.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fresource-beats-preset-beats-mode.svg" alt="Three layers of precedence: resource settings beat presets, which beat mode defaults. Example: a job schedule hardcoded as unpaused overrides a paused preset and runs in every target; a schedule bound to a variable stays paused until the prod target sets it" width="960" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Safety defaults live at the weakest layer. Anything you write on the resource wins.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Bind the catalog at deploy time, read it at run time
&lt;/h3&gt;

&lt;p&gt;One catalog per environment is the simplest Unity Catalog layout I know that keeps environments apart by construction. The catch is how the catalog reaches code. Bundle variables are deployment-time values: running a job uses the values from its last deployment, and passing a different variable at run time does not apply. Learn says to use job parameters for run values instead (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/variables" rel="noopener noreferrer"&gt;substitutions and variables&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;So the job declares a &lt;code&gt;catalog&lt;/code&gt; parameter whose default is &lt;code&gt;${var.catalog}&lt;/code&gt;. SQL uses a &lt;code&gt;${catalog}&lt;/code&gt; placeholder, Python reads the parameter, and no file under the source folder names a catalog. A small lint in CI fails the build if it finds a workspace host, a token, a catalog name or a cluster ID in code.&lt;/p&gt;

&lt;p&gt;One more edge: variable precedence runs from &lt;code&gt;--var&lt;/code&gt;, to &lt;code&gt;BUNDLE_VAR_&lt;/code&gt; environment variables, to the per-target override file, to target values, to the default. A stray environment variable on a build agent quietly beats your YAML.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Split the deploy identity from the run identity
&lt;/h3&gt;

&lt;p&gt;CI deploys as a service principal through workload identity federation, so there is no secret to rotate. On Azure DevOps that is a federated service connection with the Azure CLI task and &lt;code&gt;DATABRICKS_AUTH_TYPE=azure-cli&lt;/code&gt; (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/ci-cd/auth-with-azure-devops" rel="noopener noreferrer"&gt;authenticate with Azure DevOps&lt;/a&gt;); on GitHub Actions it is &lt;code&gt;github-oidc&lt;/code&gt; with &lt;code&gt;id-token: write&lt;/code&gt; (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/ci-cd/github" rel="noopener noreferrer"&gt;GitHub Actions&lt;/a&gt;). The workspace host stays out of the repo and comes from pipeline variables.&lt;/p&gt;

&lt;p&gt;Workloads then run as a different service principal per environment through &lt;code&gt;run_as&lt;/code&gt;. Learn calls this the most secure way to run production: the run identity can have fewer permissions than the deployer, and only that principal or someone allowed to use it can deploy with it (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/run-as" rel="noopener noreferrer"&gt;run identity&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;In my demo the prod job shows the service principal under Run as, while I stay the creator (Figure 4). Two steps sat outside the YAML: I needed the Service Principal User role on it before the deploy would set it as &lt;code&gt;run_as&lt;/code&gt;, and the first run failed with UnauthorizedError until the service principal had access to the workspace. The rerun succeeded.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsj1a9v664xb39tafmrh2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsj1a9v664xb39tafmrh2.png" alt="Databricks job details for the bundle-managed prod job: Run as shows a service principal, the creator is the deploying user, the schedule is paused, and the run history shows one failed run with UnauthorizedError followed by a successful run, with the job and run IDs blurred" width="799" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. The prod job runs as agent-sp, not as me. The first run failed before the service principal had workspace access; the rerun succeeded. The schedule is paused only because the demo ships it paused.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The sharp edges are on that page too. When the deploying identity differs from &lt;code&gt;run_as&lt;/code&gt;, only jobs and pipelines are supported. Top-level and target &lt;code&gt;run_as&lt;/code&gt; take a user or a service principal, not a group, and non-admins can only set it to themselves. Model serving endpoints error if &lt;code&gt;run_as&lt;/code&gt; is set in the same bundle. If the bundle will grow beyond jobs and pipelines, decide early where those resources live.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Permissions on jobs are not grants on data
&lt;/h3&gt;

&lt;p&gt;Top-level &lt;code&gt;permissions&lt;/code&gt; give users, groups and service principals &lt;code&gt;CAN_VIEW&lt;/code&gt;, &lt;code&gt;CAN_RUN&lt;/code&gt; or &lt;code&gt;CAN_MANAGE&lt;/code&gt; on everything the bundle deploys, and Databricks recommends that approach. The same principal cannot appear in both the top-level mapping and a resource's own &lt;code&gt;permissions&lt;/code&gt; (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/permissions" rel="noopener noreferrer"&gt;bundle permissions&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;One naming catch: the bundle takes &lt;code&gt;CAN_RUN&lt;/code&gt;, and on a job the UI shows it as Can Manage Run (Figure 5).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fofuxdfeo9lmb7gx48din.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fofuxdfeo9lmb7gx48din.png" alt="Job permissions panel: the deploying user is owner, admins can manage, analysts can view, and demo_runners can manage run" width="297" height="137"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5. Permissions on the deployed prod job. The demo_runners group was given &lt;code&gt;CAN_RUN&lt;/code&gt; in the bundle and shows as Can Manage Run.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Those control who can see, run or edit the job. They do not decide what the job can read and write. That is Unity Catalog grants for the run identity on its own catalog, so the test principal cannot touch the prod catalog even if someone points a job at it.&lt;/p&gt;

&lt;p&gt;In my demo the run service principal holds USE CATALOG, USE SCHEMA, SELECT and MODIFY on its own catalog (Figure 6).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ybe7pgaoq85qom3jf91.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0ybe7pgaoq85qom3jf91.png" alt="Unity Catalog permissions on the demo catalog: agent-sp holds MODIFY, SELECT, USE CATALOG and USE SCHEMA, and two groups hold USE CATALOG, with the workspace suffix of one group name blurred" width="795" height="200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6. Data access is a Unity Catalog grant to the run identity, separate from who may view or run the job.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fdeploy-run-and-grant-identities.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F50-databricks-bundles-target-ladder%2Fdeploy-run-and-grant-identities.svg" alt="Identity map: a CI service principal deploys through workload identity federation; a run service principal per environment executes jobs and holds Unity Catalog grants on only its own catalog; people get view or run permissions through groups on the deployed jobs" width="960" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 7. Three different questions: who deploys, who runs, and who may look. Only the run identity needs data access.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Promote the commit, and test where it will run
&lt;/h3&gt;

&lt;p&gt;Every target deploys the same commit. My template's pipeline runs unit tests on the agent without Spark, deploys to dev, runs the bundle's integration test job on serverless with &lt;code&gt;databricks bundle run&lt;/code&gt;, and only then deploys prod behind an environment approval. The &lt;code&gt;git.branch&lt;/code&gt; check in production mode is a second lock: a prod deploy from any other branch fails unless someone passes &lt;code&gt;--force&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Same idea as &lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;post 46&lt;/a&gt;: what reaches prod is a commit you can name, not whatever the branch tip happens to be.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Add a test target only when it buys something
&lt;/h3&gt;

&lt;p&gt;Two targets is a real option. A third costs a catalog, a run principal, grants, a pipeline stage and test data. It pays when other teams consume the output before prod, when you need prod-shaped data that dev must not hold, or when a release needs sign-off on a stable shared environment. If integration tests run fine against dev, a test target mostly adds a place for drift.&lt;/p&gt;

&lt;p&gt;When I add one, it copies prod's shape, not dev's: no development mode, a service principal as &lt;code&gt;run_as&lt;/code&gt;, paused schedules, its own catalog.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Hardcoding &lt;code&gt;UNPAUSED&lt;/code&gt; on the job.&lt;/strong&gt; Resource settings beat presets, so test runs on prod's schedule.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A test target with no mode and no presets.&lt;/strong&gt; It gets none of the development defaults and none of the production checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Passing the catalog as a bundle variable at run time.&lt;/strong&gt; Variables resolve at deploy; use a job parameter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Catalog names in notebooks.&lt;/strong&gt; One copied notebook writes to the wrong environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One service principal for deploy and run.&lt;/strong&gt; It works, but the run identity now needs deploy rights.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Job permissions as data access.&lt;/strong&gt; They govern the job, not the tables.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Identical code in every target; environment only in target blocks.&lt;/li&gt;
&lt;li&gt;Schedules paused by variable, unpaused only in prod.&lt;/li&gt;
&lt;li&gt;The catalog as a job parameter defaulting to a bundle variable.&lt;/li&gt;
&lt;li&gt;Workload identity federation for CI, and a service principal &lt;code&gt;run_as&lt;/code&gt; for test and prod.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whether you need a test target at all, using the costs in section 6.&lt;/li&gt;
&lt;li&gt;One workspace with a catalog per environment, or a workspace per environment as well, depending on your isolation and network requirements.&lt;/li&gt;
&lt;li&gt;Whether jobs and pipelines share a bundle with resources that cannot use a separate &lt;code&gt;run_as&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Read-only deployment folders: the immutable folder setting is in Private Preview and requires the direct deployment engine (&lt;a href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/reference" rel="noopener noreferrer"&gt;configuration reference&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/geekindata/tech-demos/tree/main/demos/dabs-dev-vs-prod" rel="noopener noreferrer"&gt;dev and prod bundle demo&lt;/a&gt; in my public tech-demos repo deploys one job to two targets, so you can see what development mode does to the job name and schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/11-fabric-cicd-blast-radius" rel="noopener noreferrer"&gt;Fabric CI/CD: How Do You Limit Blast Radius Across Dev Workspaces?&lt;/a&gt; (parameterizing environment bindings in Fabric)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;Fabric CI/CD: Merge the whole ladder, or cherry-pick what is ready?&lt;/a&gt; (promoting by commit)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/13-genie-readiness-is-a-modeling-problem" rel="noopener noreferrer"&gt;Data Agent Readiness: Is Genie (and Fabric Agents) Really a Modeling Problem?&lt;/a&gt; (what the prod catalog should look like when someone asks it questions)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The bundle will deploy anything to anywhere. Decide what differs per target, write it down once, and let the code stay the same.&lt;/p&gt;

</description>
      <category>databricks</category>
      <category>cicd</category>
      <category>deployment</category>
      <category>devops</category>
    </item>
    <item>
      <title>Fabric IQ: Is Your Semantic Model Ready?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Mon, 30 Nov 2026 20:34:09 +0000</pubDate>
      <link>https://dev.to/geekindata/fabric-iq-is-your-semantic-model-ready-21jm</link>
      <guid>https://dev.to/geekindata/fabric-iq-is-your-semantic-model-ready-21jm</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/49-fabric-iq-semantic-model-readiness" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Your semantic model is already a chat API
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fabric IQ answers in Microsoft 365 Copilot Chat are generally available, and the admin setting behind them is on by default. Your published models can already be asked questions.&lt;/li&gt;
&lt;li&gt;Fix the model before you write prompts. A reviewed measure beats any instruction.&lt;/li&gt;
&lt;li&gt;The AI data schema focuses Copilot. It is not security, and some skills ignore it.&lt;/li&gt;
&lt;li&gt;Verified answers are not returned when Fabric IQ is on. Do not build Copilot Chat correctness on them.&lt;/li&gt;
&lt;li&gt;Gate approval on a question set with validated expected results.&lt;/li&gt;
&lt;li&gt;Prep data for AI is in preview, needs Q&amp;amp;A turned on, and needs a service refresh after a Git or pipeline deploy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A hypothetical, but a likely one. Someone asks Copilot Chat how the business did last quarter. Copilot finds a model nobody prepared for it, picks the gross figure instead of the net one, uses calendar quarters where the business reports fiscal ones, and answers with full confidence. No refresh failed. No report broke. The answer is still wrong.&lt;/p&gt;

&lt;p&gt;Models were built for report authors who already know the business. Copilot does not. Shape the model, scope what Copilot sees, steer it with as little text as possible, and prove it before you approve it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: shape → scope → steer → prove&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Shape:&lt;/strong&gt; explicit measures, real relationships, a marked date table, plain names, descriptions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope:&lt;/strong&gt; an AI data schema for focus; row-level and object-level security (RLS, OLS) for access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Steer:&lt;/strong&gt; short AI instructions; verified answers only where they actually fire.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prove:&lt;/strong&gt; a question set with expected results, then Approved for Copilot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Fshape-scope-steer-prove.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Fshape-scope-steer-prove.svg" alt="Four-step ladder: shape the model with measures, relationships, a date table and descriptions; scope it with an AI data schema plus RLS and OLS; steer it with AI instructions and verified answers; prove it with a question set before marking it Approved for Copilot" width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Only the scope step carries security. Only the prove step earns the approval flag.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;In Copilot Chat, Copilot searches for a relevant report and answers from the semantic model underneath, with the user's own permissions, RLS and OLS included. Answers reflect the last successful refresh. Models on Embedded (A or EM) capacities are not supported, and questions must be in a language Microsoft 365 Copilot supports (&lt;a href="https://learn.microsoft.com/en-us/fabric/iq/connectors/microsoft-365-copilot-overview" rel="noopener noreferrer"&gt;Fabric IQ in Microsoft 365 Copilot Chat&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;When I open a model with Copilot in mind, I typically find the same things: numbers that exist only as implicit column sums, almost no descriptions, auto-generated synonyms nobody curated, and nothing set up for AI. None of that blocks a report. All of it confuses a chat. This is how I would prepare such a model and gate it. &lt;a href="https://www.geekindata.com/blog/13-genie-readiness-is-a-modeling-problem" rel="noopener noreferrer"&gt;Post 13&lt;/a&gt; covers the modeling fundamentals; this note covers the Power BI tooling and its sharp edges.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Shape the model before you prompt it
&lt;/h3&gt;

&lt;p&gt;If people ask for a number, it should exist as a reviewed measure with a plain name and a description. When measure A is net and measure B is gross and neither is described, Copilot will pick one, and it will not tell you it guessed. Learn lists cryptic names, missing descriptions, same-named fields across tables, and disconnected tables such as field parameters as common causes of bad answers (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-semantic-models" rel="noopener noreferrer"&gt;Copilot with semantic models&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;One expectation to set: descriptions currently feed only DAX query and search capabilities (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai-faq" rel="noopener noreferrer"&gt;Prep data for AI FAQ&lt;/a&gt;). Write them anyway, but do not expect them alone to fix answers.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Scope for focus, secure with RLS and OLS
&lt;/h3&gt;

&lt;p&gt;Prep data for AI is in preview (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai" rel="noopener noreferrer"&gt;Prep data for AI&lt;/a&gt;), and Microsoft's recommended order is AI data schema, then verified answers, then AI instructions (FAQ above). The schema narrows which fields Copilot prioritizes. Learn's own example removes a competing measure so that "sales" resolves to the one the team actually uses.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fofpbjgk78b00ptgkzaza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fofpbjgk78b00ptgkzaza.png" alt="Prep data for AI dialog on the Simplify the data schema tab: every field of the sales_a and date_table tables is ticked except the competing measure Value (legacy)" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. In a small demo model, the competing measure Value (legacy) is unticked so the AI data schema points Copilot at Total value.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The sharp edge: creating a report page or writing a DAX query still uses the whole model, not the schema (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai-data-schema" rel="noopener noreferrer"&gt;AI data schemas&lt;/a&gt;). A field you leave out of the schema is not hidden from anyone. If a user must not see it, that is RLS or OLS.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Steer with short instructions that point at real objects
&lt;/h3&gt;

&lt;p&gt;AI instructions are limited to 10,000 characters, and Learn says outright that there is no guarantee Copilot follows them exactly (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai-instructions" rel="noopener noreferrer"&gt;AI instructions&lt;/a&gt;). So I keep them to defaults and disambiguation, grouped by theme:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Metrics
- "Sales" without a qualifier means [Measure A] (net, after returns).
- Use [Measure B] only when the user asks for gross.

Dates
- Use the fiscal calendar on the Date table unless the user asks otherwise.

Ambiguity
- If "performance" could mean volume, value, or margin, ask which measure.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every line names something the model already defines. An instruction that describes a calculation the model lacks is a measure you still owe.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjyll7735zzmwmt7jvpqy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjyll7735zzmwmt7jvpqy.png" alt="Prep data for AI dialog on the Add AI instructions tab with one instruction: Use [Total value] for value questions. Ignore [Value (legacy)]. The counter shows 63 of 10,000 characters" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. One line was enough for the demo model: name the measure to use and the one to ignore.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Use verified answers where they fire
&lt;/h3&gt;

&lt;p&gt;Verified answers map trigger phrases to a reviewed visual. The limit that matters most is on the same Learn page as the setup steps: Copilot does not return verified answers when Fabric IQ is enabled (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai-verified-answers" rel="noopener noreferrer"&gt;verified answers&lt;/a&gt;). They also stop matching if a field they use is hidden, do not work with report measures, are not carried by Git integration or deployment pipelines, and are not a security feature for RLS or OLS data.&lt;/p&gt;

&lt;p&gt;So I treat them as a report Copilot pane tool for a handful of high-traffic questions. Correctness in Copilot Chat lives in measures and instructions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Fwhich-setting-reaches-which-surface.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Fwhich-setting-reaches-which-surface.svg" alt="Matrix of what Learn documents for AI data schema, AI instructions, verified answers and descriptions across three Copilot paths: answering data questions, the Fabric IQ route, and report page creation or DAX query; undocumented cells are marked test it" width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. What Learn documents today. "Test it" marks the gaps your question set has to cover, and verified answers never reach the Fabric IQ route.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Prove it, then approve it
&lt;/h3&gt;

&lt;p&gt;Before anyone marks the model approved, write the questions down with the answer you expect, as Learn recommends (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-ask-data-question" rel="noopener noreferrer"&gt;Ask data questions with Copilot and Fabric IQ&lt;/a&gt;). Include at least one deliberately ambiguous question, because the right answer to it is a clarifying question.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;question                       | measure   | grouping | date basis     | expected
Sales last quarter             | Measure A | none     | fiscal quarter | validated value
Top three categories by sales  | Measure A | category | fiscal year    | validated list
How is performance?            | (ask)     | none     | none           | clarifying question
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it on the surfaces people use, read "How Copilot arrived at this" on each answer, and only then mark the model Approved for Copilot. Approval removes the caution that standalone Copilot adds to answers from unapproved items, for the model and every report on it. That is a promise to users, not a formality. Allow up to an hour for it to apply, or up to a day for models with many reports (&lt;a href="https://learn.microsoft.com/en-us/power-bi/create-reports/copilot-prepare-data-ai" rel="noopener noreferrer"&gt;Prep data for AI&lt;/a&gt;). It is the same gate as &lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;post 48&lt;/a&gt;, pointed at a model.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4snsuohqlfh5a3lb7erw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4snsuohqlfh5a3lb7erw.png" alt="Semantic model settings, Copilot section: Approved for Copilot switched On, with the setting text saying it improves visibility in search results and removes the warning in standalone Copilot in Power BI" width="627" height="472"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 5. Approved for Copilot sits in the model settings under Copilot. Turn it on only after the question set passes.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I ran this on a small demo model with 60 synthetic rows, after unticking the legacy measure and adding the one-line instruction. Asked "What is the total value by segment?", standalone Copilot returned the same three values my DAX check expected, and "How Copilot arrived at this" showed it used segment and Total value with no filters, not the legacy copy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvv4z2cwtgzyzqknpsnp0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvv4z2cwtgzyzqknpsnp0.png" alt="Standalone Copilot answer to What is the total value by segment?: segment_c 5,017.50, segment_b 4,264.00, segment_a 3,530.00, total 12,811.50, with How Copilot arrived at this expanded showing data used segment and Total value and filters applied None" width="600" height="507"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 6. The answer matched the expected values, and the reasoning panel shows which measure Copilot picked.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Ask business questions in standalone Copilot. The Copilot pane inside the model editor is for modeling help: it declined the same question and offered to help me set up a measure instead. One side effect to know about: when I opened the model in Editing mode in the web, it was converted to the large semantic model storage format, as the banner in Figure 7 shows.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdl062ea8z0to8y8yckwk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdl062ea8z0to8y8yckwk.png" alt="Web model editor in Editing mode with a banner saying the model was converted to the large semantic model storage format, and the Copilot pane declining What is the total value by segment? as a business question while offering modeling help" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 7. The model editor's Copilot declines business questions. Note the storage format banner at the top.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Ship it like a model change
&lt;/h3&gt;

&lt;p&gt;AI instructions and the AI data schema live in the model's linguistic metadata. After a change through Git or a deployment pipeline, Learn says you must refresh the model in the service to sync it, and for DirectQuery and Direct Lake models it adds "but only once a day". Power BI Desktop authors Prep data for AI only on Import, DirectQuery, and local composite models, so Direct Lake models are prepared in the service (same page). A Git deploy is not the end of the release: plan the refresh, then run the question set.&lt;/p&gt;

&lt;p&gt;Two checklist lines. Prep data for AI requires Q&amp;amp;A on the model, while Q&amp;amp;A experiences retire in February 2027 (&lt;a href="https://learn.microsoft.com/en-us/power-bi/natural-language/q-and-a-best-practices" rel="noopener noreferrer"&gt;Q&amp;amp;A best practices&lt;/a&gt;): remove Q&amp;amp;A visuals, keep the setting. And if model names or synonyms are not in English, test in the language people will actually ask in. Learn says Copilot works best with human-readable English names, and synonyms live in each model culture's linguistic metadata, so check the culture people will actually use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Freadiness-release-gate.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F49-fabric-iq-semantic-model-readiness%2Freadiness-release-gate.svg" alt="Release gate: a model change goes through Git or a deployment pipeline, the model is refreshed in the service, the question set is compared with expected results, and only then is the model marked Approved for Copilot, with failures looping back to shape" width="960" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 8. A model change is not live for Copilot until the service has synced it and the question set has passed.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Prompting around a missing measure.&lt;/strong&gt; An instruction cannot fix a number the model never defined.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Gross and net side by side, undescribed.&lt;/strong&gt; Copilot picks one, confidently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schema as security.&lt;/strong&gt; It focuses answers. RLS and OLS restrict data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Verified answers as the Copilot Chat plan.&lt;/strong&gt; With Fabric IQ on, they are not returned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hiding a field a verified answer uses.&lt;/strong&gt; The answer silently stops matching.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Approving before testing.&lt;/strong&gt; The approval flag removes the caution users would otherwise see.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Switching Q&amp;amp;A off during cleanup.&lt;/strong&gt; The Prep data for AI tabs go dark.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Testing before the service refresh.&lt;/strong&gt; Copilot still reads the old instructions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The shape, scope, steer, prove order.&lt;/li&gt;
&lt;li&gt;A reviewed, described measure for every number people ask about.&lt;/li&gt;
&lt;li&gt;RLS and OLS as the only security boundary.&lt;/li&gt;
&lt;li&gt;A question set with expected results, including an ambiguous one, before approval.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How many verified answers to build, depending on whether people ask in Copilot Chat or in the report pane.&lt;/li&gt;
&lt;li&gt;How long the instruction set gets: start with defaults and add only what testing shows you need.&lt;/li&gt;
&lt;li&gt;Your Direct Lake and DirectQuery release rhythm, given the once-a-day refresh note.&lt;/li&gt;
&lt;li&gt;When to stop stretching a model and publish a Fabric data agent instead, for example when questions need lakehouse or warehouse data (&lt;a href="https://learn.microsoft.com/en-us/fabric/data-science/semantic-model-best-practices" rel="noopener noreferrer"&gt;semantic model best practices for data agent&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/13-genie-readiness-is-a-modeling-problem" rel="noopener noreferrer"&gt;Data Agent Readiness: Is Genie (and Fabric Agents) Really a Modeling Problem?&lt;/a&gt; (the modeling fundamentals underneath this note)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/18-gold-semantic-contract" rel="noopener noreferrer"&gt;Gold Semantic Contract: Can You Choose Which Columns Reach the Direct Lake Model?&lt;/a&gt; (what reaches the model in the first place)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/9-semantic-refresh-and-direct-lake" rel="noopener noreferrer"&gt;Direct Lake: Do You Still Need to Refresh a Semantic Model?&lt;/a&gt; (why the sync step matters)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;Agent Evals: Can a Score Block a Release?&lt;/a&gt; (the same gate for agents)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Copilot will read your model whether you prepared it or not. Prepare it, then prove it.&lt;/p&gt;

</description>
      <category>fabric</category>
      <category>powerbi</category>
      <category>datamodeling</category>
      <category>testing</category>
    </item>
    <item>
      <title>Agent Evals: Can a Score Block a Release?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Sun, 29 Nov 2026 16:34:47 +0000</pubDate>
      <link>https://dev.to/geekindata/agent-evals-can-a-score-block-a-release-1b4o</link>
      <guid>https://dev.to/geekindata/agent-evals-can-a-score-block-a-release-1b4o</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/48-foundry-agent-eval-release-gate" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Score the agent before the agent scores you
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A prompt, tool, or model change to a Foundry agent is a release. Gate it on an evaluation result, not on a few questions someone typed that afternoon.&lt;/li&gt;
&lt;li&gt;Start the test set from questions domain experts actually ask, then grow it from production traces. Synthetic rows fill gaps; they do not replace either.&lt;/li&gt;
&lt;li&gt;Use a rubric as the primary score and add agent and safety evaluators for what the rubric does not cover.&lt;/li&gt;
&lt;li&gt;Do not gate on "every row must pass." Evaluator noise turns that red. Compare against the baseline version, retry errored rows once, and keep a small must-pass list.&lt;/li&gt;
&lt;li&gt;The GitHub Action, the Azure DevOps task, and a short SDK script are all valid runners. Whichever you pick, you still own the line that fails the build.&lt;/li&gt;
&lt;li&gt;Treat the dataset like code: versioned, reviewed, redacted, and owned by a named person.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is a hypothetical, but you have probably lived some version of it. On Friday someone tunes the system prompt of an internal knowledge agent to fix one complaint about tone. On Monday the agent quietly stops citing its source documents for a different kind of question. Nobody notices for a week, because "testing" meant a person asking whatever came to mind before the deploy.&lt;/p&gt;

&lt;p&gt;Prompt, tool, and model changes are releases. Real questions become the regression suite. A score decides whether the change merges. Production evaluation catches what the suite misses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: harvest → curate → gate → watch&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Harvest:&lt;/strong&gt; collect candidate test rows from where real questions live: the question lists domain experts write, and later the agent's own production traces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Curate:&lt;/strong&gt; a person keeps, labels, and versions the rows, adds reference answers where they are stable, and adds the hard cases traffic rarely produces.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate:&lt;/strong&gt; CI runs the candidate agent version against the set and compares it with the baseline version. Regressions block the merge; noise does not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch:&lt;/strong&gt; continuous evaluation samples live traffic. New failures flow back into Harvest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fharvest-curate-gate-watch.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fharvest-curate-gate-watch.svg" alt="Loop of four stages: harvest questions and traces, curate a versioned dataset, gate the candidate version in CI against the baseline, and watch live traffic with continuous evaluation that feeds new rows back to harvest" width="960" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Harvest, curate, gate, watch. The CI gate is the only door to production, and production feeds the next test set.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;Agent projects rarely start without tests. They start with the wrong kind. A typical stack looks healthy: unit tests on the API, a browser smoke test that sends a chat message, scripted live calls that check a knowledge search ran, and access tests per user role. Every one of those can be green while the answer is wrong. They prove a search happened, not that the agent understood the question or grounded the answer in the right document.&lt;/p&gt;

&lt;p&gt;The constraint is the usual one: change prompts and tools weekly without a manual QA round each time, under privacy rules for anything taken from real conversations. Microsoft Learn frames the goal plainly: establish a baseline and set acceptance thresholds before release, for example a task adherence pass rate (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluate-agent" rel="noopener noreferrer"&gt;Evaluate your AI agents&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Start from questions experts actually ask
&lt;/h3&gt;

&lt;p&gt;The best first dataset is not generated. Take a fictional internal travel-policy agent. Ask the people who answer travel questions today to write the questions they actually get, grouped by intent: find a rule, compare two options, apply a rule to my trip. A small script turns the list into JSONL rows and removes duplicates. Then add a handful of boundary rows from the agent's own instructions: it explains rules but never approves bookings, and it says so when the policy is silent.&lt;/p&gt;

&lt;p&gt;Expert-written phrasing is real, so it catches what a synthetic set will not. Synthetic rows still help with edge cases you cannot wait for, but a synthetic-only set tends to pass and miss how people actually ask. Each row should exist for a reason you can name: a past bug, a policy edge, a refusal. Start with a few dozen (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluation-dataset-schema" rel="noopener noreferrer"&gt;dataset schema&lt;/a&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{"query": "Which travel policy applies to a two-day trip to another office?", "ground_truth": "Cites the current travel policy document and asks for the trip dates if they are missing."}
{"query": "Can I book business class for a six-hour flight?", "ground_truth": "Quotes the cabin-class rule with its source and does not approve the booking itself."}
{"query": "Just approve my expense claim for me.", "ground_truth": "Declines to approve, explains who approves claims, and links the expense process."}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Harvest traces next, and keep people in charge of the set
&lt;/h3&gt;

&lt;p&gt;Expert questions describe what people say they will ask. Traces describe what they actually ask. The recommended next step is to grow the set from production: Foundry can turn agent traces into a versioned evaluation dataset, using intelligent sampling to drop low-intent noise and near-duplicates, and it redacts private content by default (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/traces-to-dataset" rel="noopener noreferrer"&gt;convert traces into datasets&lt;/a&gt;). Leave redaction on. The project's managed identity needs Reader on the connected Application Insights resource.&lt;/p&gt;

&lt;p&gt;Harvesting does not replace curation. A person still decides which rows enter the set and reviews the dataset change in the same pull request as the prompt change.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Pick evaluators that match the risk
&lt;/h3&gt;

&lt;p&gt;Learn recommends a rubric evaluator as the primary measure: weighted dimensions scored by an LLM judge and normalized to a 0 to 1 score. You can generate one from the agent's instructions and tools, then have a person review the dimensions before anyone trusts it (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/rubric-evaluators" rel="noopener noreferrer"&gt;rubric evaluators&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Around the rubric, add the built-in agent evaluators that match your failure modes: intent resolution, task adherence, and tool call accuracy or tool selection for tool-heavy agents (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-evaluators/agent-evaluators" rel="noopener noreferrer"&gt;agent evaluators&lt;/a&gt;). Add groundedness if the agent cites knowledge, and a safety evaluator regardless. Pin the judge deployment, because a silent judge change moves every score at once. Several evaluators are still in preview.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Gate in CI, and own the fail line
&lt;/h3&gt;

&lt;p&gt;There are three reasonable runners. The GitHub Action (&lt;code&gt;microsoft/ai-agent-evals&lt;/code&gt;) and the Azure DevOps task (&lt;code&gt;AIAgentEvaluation@2&lt;/code&gt;) invoke one or more agent versions, score them, and publish a summary with confidence intervals and a pairwise comparison when you pass two versions (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/how-to/evaluation-github-action" rel="noopener noreferrer"&gt;GitHub Action&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/en-us/azure/foundry/how-to/evaluation-azure-devops" rel="noopener noreferrer"&gt;Azure DevOps&lt;/a&gt;). A short script on the Foundry SDK is the third option, and a perfectly valid one when you want full control over retries and output.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;paths&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"agent/instructions/**"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"agent/tools/**"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"eval/**"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="na"&gt;permissions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;id-token&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;write&lt;/span&gt;
  &lt;span class="na"&gt;contents&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read&lt;/span&gt;
&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;eval&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
      &lt;span class="c1"&gt;# sign in with OIDC (azure/login) before this step
&lt;/span&gt;      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;microsoft/ai-agent-evals@v3-beta&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;azure-ai-project-endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ vars.FOUNDRY_PROJECT_ENDPOINT }}&lt;/span&gt;
          &lt;span class="na"&gt;deployment-name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ vars.JUDGE_DEPLOYMENT }}&lt;/span&gt;
          &lt;span class="na"&gt;data-path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ github.workspace }}/eval/travel-policy.json&lt;/span&gt;
          &lt;span class="na"&gt;agent-ids&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"travel-policy-agent:12,travel-policy-agent:13"&lt;/span&gt;
          &lt;span class="na"&gt;baseline-agent-id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"travel-policy-agent:12"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note the path filter. Learn advises against evaluating every commit, because every judge call adds cost. The point that is easy to miss: the documented runners report, but describe no fail-on-threshold input. The gate is a few lines you write that read the results and exit non-zero.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fpr-eval-gate.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fpr-eval-gate.svg" alt="Pull request pipeline: deploy the candidate agent version, evaluate candidate and baseline on the same dataset, retry errored rows once, then a gate that blocks on a failed must-pass row or a significant drop from baseline and otherwise allows the merge" width="960" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. The runner scores. Your gate decides. Errored rows get one retry before anyone reads the verdict.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Gate on change from baseline, not on every row
&lt;/h3&gt;

&lt;p&gt;The first gate I would have written is the strictest one: exit non-zero if any row fails or errors. It looks rigorous. In practice, on a first full run roughly one row in six came back failed or errored. Re-running only those rows cleared them, and a later full run was green. Nothing about the agent had changed. The red was evaluator noise: transient errors and borderline judgments on a varying output.&lt;/p&gt;

&lt;p&gt;A team blocked on noise turns the gate off. So the rule has three parts: compare the candidate with the baseline version and block on a real drop, retry errored rows once, and keep a short must-pass list (refusals, safety) where one failure blocks regardless of the average. The script below is a sketch; adapt the field names to your run output.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# eval_gate.py: block regressions, not noise&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;azure&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;projects&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;AIProjectClient&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;azure&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;identity&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;DefaultAzureCredential&lt;/span&gt;

&lt;span class="n"&gt;cfg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"eval/gate.json"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# eval_id, run ids, must_pass, tolerance&lt;/span&gt;
&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AIProjectClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"FOUNDRY_PROJECT_ENDPOINT"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                         &lt;span class="n"&gt;credential&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;DefaultAzureCredential&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_openai_client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;verdicts&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run_id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;out&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;evals&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;runs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;output_items&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;run_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;run_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eval_id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"eval_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;query&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;datasource_item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nb"&gt;any&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"passed"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"errored"&lt;/span&gt;
        &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;out&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"passed"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"passed"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;results&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="s2"&gt;"failed"&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;out&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;pass_rate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;scored&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"errored"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"passed"&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;scored&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;scored&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cand&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;verdicts&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"baseline_run"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;verdicts&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"candidate_run"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;errored&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;cand&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"errored"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;errored&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dump&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;errored&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"eval/retry.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"w"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# pipeline reruns these rows once, then calls the gate again&lt;/span&gt;
&lt;span class="n"&gt;broken&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"must_pass"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;cand&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;"passed"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;drop&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;pass_rate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nf"&gt;pass_rate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cand&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"baseline={pass_rate(base):.2f} candidate={pass_rate(cand):.2f} drop={drop:.2f}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;broken&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;drop&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"tolerance"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"blocked: must-pass failures={len(broken)}, drop={drop:.2f}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fnoise-vs-regression.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F48-foundry-agent-eval-release-gate%2Fnoise-vs-regression.svg" alt="Two gates on the same noisy first run: an all-must-pass gate turns red on a few errored or borderline rows that clear on retry, while a baseline gate retries errored rows once, checks the must-pass list, and compares pass rates with the previous version" width="960" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. An all-must-pass gate measures evaluator noise. A baseline gate measures change. Keep strictness for the short must-pass list.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Keep watching after go-live
&lt;/h3&gt;

&lt;p&gt;The offline suite only knows the questions you gave it. Continuous or scheduled evaluation samples live traffic with the same rubric and shows results in the Agent Monitoring Dashboard, which is in preview at the time of writing (&lt;a href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/how-to-monitor-agents-dashboard" rel="noopener noreferrer"&gt;monitor agents&lt;/a&gt;). When a live sample fails, turn the trace into a dataset row. That closes the loop in Figure 1.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the score cannot tell you
&lt;/h2&gt;

&lt;p&gt;An LLM judge is a model reading another model. It can reward a confident tone. Read a sample of failing and passing rows in every release pull request. When judge and reviewer disagree, the fix is usually a sharper rubric dimension, not a lower threshold. A green suite also does not prove coverage: track which intents have no rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;These are the mistakes that most often turn an evaluation gate into noise or theatre.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Vibes testing.&lt;/strong&gt; A person asks fresh questions before each release, and nothing is recorded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plumbing tests read as quality tests.&lt;/strong&gt; The smoke test proves a search ran. Nobody checks the answer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Synthetic-only dataset.&lt;/strong&gt; It passes, and misses how people phrase things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Report without a gate.&lt;/strong&gt; The runner posts a summary and nobody reads it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;All-must-pass on a noisy metric.&lt;/strong&gt; Builds flip between red and green, and the team switches the gate off. Figure 3 is the alternative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unpinned judge.&lt;/strong&gt; The judge deployment changes and every score moves overnight.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Raw conversations in the repo.&lt;/strong&gt; Private content gets committed. Keep redaction on and review rows like code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dataset with no owner.&lt;/strong&gt; It goes stale, and the gate measures last quarter's agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The harvest, curate, gate, watch loop.&lt;/li&gt;
&lt;li&gt;An expert-written question set as the seed, grown from traces.&lt;/li&gt;
&lt;li&gt;The dataset in the repo, reviewed in the same pull request as the instruction change.&lt;/li&gt;
&lt;li&gt;A reviewed rubric as the primary score, plus agent and safety evaluators.&lt;/li&gt;
&lt;li&gt;Baseline comparison, one retry for errored rows, and a short must-pass list.&lt;/li&gt;
&lt;li&gt;A gate line you own, whether the runner is the Action, the DevOps task, or a script.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When to run: pull requests that touch the agent, not every commit, so the judge budget matches your release rhythm.&lt;/li&gt;
&lt;li&gt;Dataset size: start with a few dozen rows that each have a clear reason, and grow from there.&lt;/li&gt;
&lt;li&gt;Generated rubrics: review the dimensions before the rubric scores anything.&lt;/li&gt;
&lt;li&gt;Redaction: keep it on in every environment, staging included.&lt;/li&gt;
&lt;li&gt;Tolerance and must-pass list: set them for your own agent. The values in the sketch are placeholders.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/22-agent-activity-traceability" rel="noopener noreferrer"&gt;Agent Traceability: How Do You See Inside an AI Interaction for Audit?&lt;/a&gt; (traces you can trust feed the dataset)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;Fabric CI/CD: Merge the whole ladder, or cherry-pick what is ready?&lt;/a&gt; (the same gate-on-promotion thinking)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/19-agent-use-case-pilots" rel="noopener noreferrer"&gt;Agent Pilots: Should You Rank Use Cases Before Picking an Agent Topology?&lt;/a&gt; (what the agent is for decides what you test)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/12-poc-public-vs-mvp-private-agent-apps" rel="noopener noreferrer"&gt;Agent Apps: Can a Public POC Become a Private MVP?&lt;/a&gt; (where an eval gate fits on the way to MVP)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Primary references on Microsoft Learn: &lt;a href="https://learn.microsoft.com/en-us/azure/foundry/concepts/evaluation-overview" rel="noopener noreferrer"&gt;Evaluation in Microsoft Foundry&lt;/a&gt; and &lt;a href="https://learn.microsoft.com/en-us/azure/foundry/observability/how-to/evaluate-agent" rel="noopener noreferrer"&gt;Evaluate your AI agents&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Score the change before you ship it. Gate on movement, not noise. Feed production back into the set. An agent that cannot fail a test has not been tested yet.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>cicd</category>
      <category>observability</category>
    </item>
    <item>
      <title>Foundry Agent Webapps: Cosmos or Azure SQL for Backend State, and When?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Sun, 29 Nov 2026 16:34:12 +0000</pubDate>
      <link>https://dev.to/geekindata/foundry-agent-webapps-cosmos-or-azure-sql-for-backend-state-and-when-kj1</link>
      <guid>https://dev.to/geekindata/foundry-agent-webapps-cosmos-or-azure-sql-for-backend-state-and-when-kj1</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/47-foundry-webapp-cosmos-vs-sql" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Two store planes; one product API
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Split app-owned backend state from Foundry platform stores before you argue Cosmos versus Azure SQL.&lt;/li&gt;
&lt;li&gt;Sample RAG and chat diagrams often default history to Cosmos; treat that as tutorial gravity, not a product mandate.&lt;/li&gt;
&lt;li&gt;Prefer Cosmos when the payload is a flexible document bag with little relational joining.&lt;/li&gt;
&lt;li&gt;Prefer Azure SQL + EF Core when app-owned records must join cleanly behind a stable HTTP API.&lt;/li&gt;
&lt;li&gt;Freeze routes and JSON across any cutover (&lt;strong&gt;API stays; store moves&lt;/strong&gt;), then migrate once, flip repositories, and delete the Cosmos app-data path.&lt;/li&gt;
&lt;li&gt;Prove SQL firewall and EF migrations before treating "API is listening" as green; never migrate Foundry platform stores with the shell database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Community threads keep asking why Microsoft RAG chatbot samples push Cosmos for chat history when a small Azure SQL database would also store messages. Fair question. Document stores map cleanly to message bags, Learn walkthroughs ship fast, and Cosmos shows up in the diagrams people copy.&lt;/p&gt;

&lt;p&gt;That question is &lt;strong&gt;context&lt;/strong&gt;, not the whole thesis for a Microsoft Foundry agent webapp. Published agent shells often leave durable product history with your backend. The records your backend writes for the product are your tables. Agents, threads, files, knowledge/Search, and platform memory stay on Foundry. The real decision is which engine backs the &lt;strong&gt;app-owned&lt;/strong&gt; plane behind one product API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: API stays; store moves&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;API stays:&lt;/strong&gt; HTTP routes and JSON shapes for every app-owned collection stay frozen so the shell and callers do not relearn the contract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Store moves:&lt;/strong&gt; the app-owned collections (A to D) leave Cosmos for Azure SQL + EF Core in a one-time migrate when relational ops win; then the Cosmos app-data path is deleted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform stays:&lt;/strong&gt; Foundry agents, threads, files, knowledge/Search, and platform memory are not on that migration checklist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When Cosmos wins:&lt;/strong&gt; flexible document chat or RAG bags, partition-by-conversation access, little join pressure, sample velocity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When SQL wins:&lt;/strong&gt; joins, constraints, migrations as code, support queries that look like SQL, and one repository wiring path across environments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contract:&lt;/strong&gt; sample defaults explain Cosmos in the diagram; your webapp still owns product state behind a stable API.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Fapi-stays-store-moves.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Fapi-stays-store-moves.svg" alt="Named model: HTTP API stays while app-owned state moves from Cosmos to Azure SQL" width="960" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Named model: API stays; store moves. Freeze the wire contract. Move only app-owned collections. Leave Foundry platform stores alone.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Two planes before one engine
&lt;/h2&gt;

&lt;p&gt;Most Cosmos-versus-SQL arguments fail because they mix two planes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;App-owned backend state&lt;/strong&gt; is what your agent webapp API persists for the product: collections A to D (records keyed by id, an index, and an append-only log). That plane is yours to put on Cosmos, Azure SQL, or something else. Callers care about routes and JSON, not which Azure SKU sits under the repository.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Foundry platform stores&lt;/strong&gt; are what the service owns: agent definitions and tools, threads and runs, files and knowledge (including Search grounding), and platform memory. Those stay on Foundry. Shipping a Cosmos-to-SQL cutover for the shell's app-owned collections does not mean you re-home platform threads into your App Service database.&lt;/p&gt;

&lt;p&gt;Figure 2 draws the boundary. The engine debate applies to the left column only.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Ftwo-store-planes.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Ftwo-store-planes.svg" alt="App-owned collections A to D versus Foundry agents, threads, files, and platform memory" width="960" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Two store planes. Cosmos versus Azure SQL is a decision about app-owned backend state. Conflating the planes is how forum debates talk past each other.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why samples default Cosmos (and why that is incomplete)
&lt;/h2&gt;

&lt;p&gt;Ask the Reddit question out loud, then narrow it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Where do &lt;strong&gt;sample&lt;/strong&gt; RAG demos put message documents?&lt;/li&gt;
&lt;li&gt;Where does &lt;strong&gt;your&lt;/strong&gt; Foundry-backed agent webapp put product state the SPA and support tools must query?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Cosmos answers (1) often. Message documents are natural, partitioning tutorials are ready, and the architecture diagram looks like the Learn walkthrough. Teams then treat that default as a platform law.&lt;/p&gt;

&lt;p&gt;Microsoft Foundry changes the second half. When a published agent experience leaves multi-turn product history with your backend, the shell API becomes the product history plane whether you like Cosmos or not. Community deploy notes already describe persisting threads and messages in Cosmos &lt;strong&gt;or&lt;/strong&gt; Postgres/SQL behind the webapp API. Ownership is not optional. The engine still is.&lt;/p&gt;

&lt;p&gt;So keep the sample default as &lt;strong&gt;context&lt;/strong&gt;. Use it to explain why Cosmos appears in diagrams. Do not use it as the ADR for every app-owned table.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Cosmos, when Azure SQL
&lt;/h2&gt;

&lt;p&gt;Figure 3 is the decision card for the app-owned plane.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Fwhen-cosmos-when-sql.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F47-foundry-webapp-cosmos-vs-sql%2Fwhen-cosmos-when-sql.svg" alt="Decision card: prefer Cosmos for document bags; prefer Azure SQL with EF Core for relational app-owned state" width="960" height="540"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. When Cosmos, when Azure SQL. Document bags and sample velocity favor Cosmos. Relational product state and a frozen HTTP cutover favor Azure SQL + EF Core.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prefer Cosmos when&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The payload is a flexible chat or RAG message bag and the shape still changes week to week.&lt;/li&gt;
&lt;li&gt;Access is mostly by conversation or user partition with little joining across collections.&lt;/li&gt;
&lt;li&gt;You are following a sample and support rarely asks SQL-shaped questions.&lt;/li&gt;
&lt;li&gt;Prototype velocity matters more than migrations-as-code for this slice of state.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Prefer Azure SQL (+ EF Core) when&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;App-owned collections must join cleanly with each other.&lt;/li&gt;
&lt;li&gt;You want constraints, EF migrations, and one repository wiring path across local, staging, and prod.&lt;/li&gt;
&lt;li&gt;The SPA contract must stay stable while the store engine changes (&lt;strong&gt;API stays; store moves&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;Support and audit teams ask relational questions (who changed what, across which records, for which users).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Never&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Treat a Learn sample default as a Foundry mandate for every product table.&lt;/li&gt;
&lt;li&gt;Migrate Foundry platform stores (agents, threads, files, knowledge, platform memory) into the shell database.&lt;/li&gt;
&lt;li&gt;Leave Cosmos and SQL both live for the same app-data path after cutover.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Defaults are not destiny. Requirements are.&lt;/p&gt;

&lt;h2&gt;
  
  
  Typical cutover (generic): freeze, migrate, flip, delete
&lt;/h2&gt;

&lt;p&gt;A cutover like this can start when app-owned state sits on Cosmos and a team wants relational ops and one wiring path. The decision is not "Cosmos is wrong for every chat bag." It is "these collections want relational ops and one wiring path."&lt;/p&gt;

&lt;p&gt;Ship the cutover as &lt;strong&gt;API stays; store moves&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Freeze the wire.&lt;/strong&gt; Keep the same routes and JSON for every app-owned collection. Callers should not notice the engine change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Schema and firewall first.&lt;/strong&gt; Introduce Azure SQL tables and EF Core migrations. Prove the firewall path (or a local SQL) so migrations succeed before you debug SPA timeouts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-time migrate.&lt;/strong&gt; Move collections A to D with parity checks (counts plus sampled payloads).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flip repositories.&lt;/strong&gt; SQL becomes the source of truth behind the same HTTP surface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delete the Cosmos app-data path.&lt;/strong&gt; Remove credentials and code paths so environments cannot drift back to a second store.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A temporary bridge can help during migrate. A permanent two-store product is how wiring drifts return. Leave Foundry platform stores alone the entire time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Treating sample Cosmos as a Foundry mandate.&lt;/strong&gt;&lt;br&gt;
Learn diagrams are teaching aids. Your product state contract is an ADR.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Moving Foundry platform stores with the shell database.&lt;/strong&gt;&lt;br&gt;
Agents, threads, files, knowledge, and platform memory are not more collections on your migration checklist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Changing JSON shapes during the engine swap.&lt;/strong&gt;&lt;br&gt;
Then every caller bug looks like a database bug. Freeze the wire format first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Env drift: Cosmos in one environment, SQL in another.&lt;/strong&gt;&lt;br&gt;
Environment-only failures follow. One repository wiring path after cutover.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SQL firewall blocking EF before listen.&lt;/strong&gt;&lt;br&gt;
Local startup never reaches "API is up" if migrations cannot connect. Open the firewall path before you chase SPA timeouts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dual-writing forever.&lt;/strong&gt;&lt;br&gt;
A temporary bridge is fine. A permanent two-store product reopens the drift you just closed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit split: app-owned backend state versus Foundry platform stores.&lt;/li&gt;
&lt;li&gt;Decision rule: Cosmos for document bags; Azure SQL when relational product state is the job.&lt;/li&gt;
&lt;li&gt;Stable HTTP + JSON across a Cosmos-to-SQL cutover.&lt;/li&gt;
&lt;li&gt;One-time migrate, flip, delete the old app-data path.&lt;/li&gt;
&lt;li&gt;Firewall and EF migration health before treating the API as ready.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Do not rip Cosmos out of a pure message-bag prototype that has no relational pressure just to match this note. Do not "fix chat history" by migrating Foundry threads into your SQL database. Do not leave Cosmos credentials in prod config after the app-data path is gone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/7-agent-sessions-vs-the-shell-app" rel="noopener noreferrer"&gt;Microsoft Foundry: How Do You Persist Agent Sessions Outside the Chat Shell?&lt;/a&gt; (three clocks: auth, UI, conversation)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/21-foundry-webapp-deploy-pattern" rel="noopener noreferrer"&gt;Microsoft Foundry: Is Deploy as Web App Enough, or Do You Need a Backend Proxy?&lt;/a&gt; (identity and egress first)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/36-feature-toggles-agent-shells" rel="noopener noreferrer"&gt;Agent Shells: How Do You Feature-Toggle Agent Capabilities Across Environments?&lt;/a&gt; (default-open with overlays)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/45-foundry-private-search-dns" rel="noopener noreferrer"&gt;Microsoft Foundry: Private Search MCP Says Name or Service Not Known. DNS or RBAC First?&lt;/a&gt; (DNS before RBAC on the private plane)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sources (community grounding): &lt;a href="https://www.reddit.com/r/AZURE/comments/1d3dx54/azure_rag_architecture/" rel="noopener noreferrer"&gt;Why does MS recommend Cosmos for RAG chat history vs Azure SQL?&lt;/a&gt;, &lt;a href="https://www.reddit.com/r/AZURE/comments/1q8nw1h/azure_ai_foundry_new_agents_project_endpoint_vs/" rel="noopener noreferrer"&gt;Foundry published app / store behavior and backend-owned multi-turn state&lt;/a&gt;, &lt;a href="https://www.reddit.com/r/AZURE/comments/1p67vdu/deploy_foundry_agents/" rel="noopener noreferrer"&gt;Deploy Foundry agents: persist threads in Cosmos or Postgres/SQL behind your API&lt;/a&gt;, &lt;a href="https://www.reddit.com/r/AZURE/comments/1sl05mj/anyone_here_using_cosmosdb/" rel="noopener noreferrer"&gt;Anyone here using Cosmos DB?&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Sample defaults explain Cosmos in the diagram. Your agent webapp still decides where product state lives. Keep two planes honest. Keep one product API stable. Move only what you own.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>ai</category>
      <category>sql</category>
    </item>
    <item>
      <title>Fabric CI/CD: Merge the whole ladder, or cherry-pick what is ready?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Sat, 28 Nov 2026 16:27:50 +0000</pubDate>
      <link>https://dev.to/geekindata/fabric-cicd-merge-the-whole-ladder-or-cherry-pick-what-is-ready-35d7</link>
      <guid>https://dev.to/geekindata/fabric-cicd-merge-the-whole-ladder-or-cherry-pick-what-is-ready-35d7</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/46-fabric-cicd-cherry-pick-promotion" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Promote by commit, not by tip
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-dev Fabric ladders (test → staging → main) rarely have a tip that is entirely ready.&lt;/li&gt;
&lt;li&gt;Merging the whole tip promotes unfinished work with the ready work.&lt;/li&gt;
&lt;li&gt;Safer shape: cherry-pick selected squash-merge commits onto a short-lived promotion branch, then PR into the next env.&lt;/li&gt;
&lt;li&gt;Cherry-pick without the temp branch + PR is incomplete promotion hygiene.&lt;/li&gt;
&lt;li&gt;Pair git selection with Variable Library / item rebind; git alone is not a deploy story.&lt;/li&gt;
&lt;li&gt;At scale, cherry-pick hell is real; shrink the release set and document the written pick list.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You have three developers on test. Feature A is proven. Feature B is half-built. Feature C still points at a throwaway spike. Someone opens a PR from test tip into staging because "that is how the ladder works." Staging now owns unfinished work you never meant to stage.&lt;/p&gt;

&lt;p&gt;Promote by commit, not by tip. Select the squash-merge commits that are ready, park them on a short-lived promotion branch, open a PR into the next environment branch, then deploy. Keep the blast radius honest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: promote by commit, not by tip&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tip:&lt;/strong&gt; the current head of an environment branch (test, staging, main). Often mixes ready and unfinished work in a multi-dev repo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Selected commits:&lt;/strong&gt; squash-merge SHAs you can name as the release set for this promote.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Promotion branch:&lt;/strong&gt; short-lived branch cut from the next-env tip; cherry-picks land here, not on the protected ladder branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PR gate:&lt;/strong&gt; temp → next env. Review, checks, and rebind story ride with the PR; cherry-pick alone is not the gate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contract:&lt;/strong&gt; blast radius equals the commits you named, not everything that happened to sit on the tip.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Fpromote-by-commit-not-tip.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Fpromote-by-commit-not-tip.svg" alt="Named model: tip promote versus selected commit promote" width="960" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Named model: promote by commit, not by tip. Tip merge inherits WIP. Selected squash commits keep unfinished work on the lower rung.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;This note is about &lt;strong&gt;git promotion shape&lt;/strong&gt; across a Fabric environment ladder. It sits next to &lt;a href="https://www.geekindata.com/blog/11-fabric-cicd-blast-radius" rel="noopener noreferrer"&gt;Fabric CI/CD blast radius&lt;/a&gt;, which asks a different question: what the deployer will reconcile in the workspace once you trigger a promote. Here the question is which commits you allow onto the next branch before that deploy runs.&lt;/p&gt;

&lt;p&gt;Constraint set: multi-developer; unfinished features sitting on test; need selective promotion into staging or main without waiting for every in-flight change. Classic merge-the-ladder diagrams look clean in a slide. They break when the tip is a shared parking lot.&lt;/p&gt;

&lt;p&gt;Community threads on Microsoft Fabric CI/CD keep landing on the same clarification: cherry-pick is not a lone &lt;code&gt;git cherry-pick&lt;/code&gt; onto the protected next branch. It is cherry-pick onto a temp branch, then PR that branch into the next env. That is the model this note teaches.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Draw the tip honestly
&lt;/h3&gt;

&lt;p&gt;List what is on test tip before you open a ladder PR. Ready feature A. WIP feature B. Spike leftovers for C. If you cannot name the unfinished set, you are not ready to merge the tip. Figure 2 is the fork: tip merge versus selected squash commits.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Fladder-tip-vs-selected-commits.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Fladder-tip-vs-selected-commits.svg" alt="Tip merge of A plus WIP versus selecting only ready squash commits" width="960" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Path A merges the whole tip and promotes WIP. Path B selects ready squash commits; unfinished work stays on test until its own release set.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Prefer squash-merge SHAs as the release unit
&lt;/h3&gt;

&lt;p&gt;Feature PRs that land as squash merges give you one SHA per feature. That SHA is the promotion atom. Without squash (or an equivalent clean commit contract), selective promotion becomes archaeology across noisy merge commits. Write the release set as a list of SHAs and owners before anyone touches git.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Use a short-lived promotion branch, then a PR
&lt;/h3&gt;

&lt;p&gt;Cut &lt;code&gt;promote/test-to-staging-&amp;lt;date&amp;gt;&lt;/code&gt; (or similar) from the &lt;strong&gt;staging tip&lt;/strong&gt;, not from test tip. Cherry-pick the named SHAs onto that temp branch. Resolve conflicts there. Open a PR into staging. Do not push cherry-picks straight onto protected env branches. Figure 3 is that four-step shape.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Ftemp-branch-then-pr.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F46-fabric-cicd-cherry-pick-promotion%2Ftemp-branch-then-pr.svg" alt="Select commits, temp branch, PR, then deploy" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Cherry-pick isolates the change set. The PR is the promotion gate. Deploy runs after merge, with Variable Library and rebind in the same story.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Deploy is still workspace surgery
&lt;/h3&gt;

&lt;p&gt;After the PR merges, fabric-cicd or deployment pipelines still decide the workspace reconcile set. Selected git history does not shrink a blind workspace publish by itself. Keep item filters, dry-runs, and the never-blind list from the blast-radius note. Pair this promote with &lt;a href="https://www.geekindata.com/blog/31-variable-library-deploy-targets" rel="noopener noreferrer"&gt;Variable Library deploy targets&lt;/a&gt; so lakehouse and workspace ids remap per stage instead of riding Dev bindings upward.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Know when tip merge is still correct
&lt;/h3&gt;

&lt;p&gt;If the tip is a release train that is entirely ready (every open feature either shipped or parked off the branch), tip merge is honest and cheaper. Selective cherry-pick is for the common multi-dev case where test is intentionally mixed. Do not invent cherry-pick theater when the tip is clean.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Bound cherry-pick hell
&lt;/h3&gt;

&lt;p&gt;At scale, a long backlog of commits between rungs make one-by-one picks painful. Shrink release trains, keep features small, prefer fewer SHAs per promote, and retire abandoned WIP from the lower branch so it does not haunt every pick list. Document the written pick list in the PR body so the next operator is not guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Merging the tip because the ladder diagram said so.&lt;/strong&gt;&lt;br&gt;
Unfinished notebooks and bindings land in staging with a green merge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cherry-pick onto the protected env branch with no PR.&lt;/strong&gt;&lt;br&gt;
No review surface, no checks, no written release set, hard to audit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Forgetting the PR after a local cherry-pick.&lt;/strong&gt;&lt;br&gt;
Temp branch sits on a laptop. Next env never receives the change. Operator thinks they promoted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Treating cherry-pick as pure git without rebind.&lt;/strong&gt;&lt;br&gt;
Items move; lakehouse and connection ids still point at the lower stage. Deploy "succeeded." Data plane lies.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cherry-pick hell with no release-train hygiene.&lt;/strong&gt;&lt;br&gt;
A long backlog of commits, unclear owners, conflict storms. The process collapses back into tip merges under pressure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Skipping Variable Library / deployment rules.&lt;/strong&gt;&lt;br&gt;
Selective git promote still needs stage-safe bindings. Git selection is not a substitute for the environment map.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Promote by commit, not by tip, when unfinished work shares the lower rung.&lt;/li&gt;
&lt;li&gt;Written release set of squash-merge SHAs before cherry-pick starts.&lt;/li&gt;
&lt;li&gt;Short-lived promotion branch cut from the next-env tip, then PR into that env.&lt;/li&gt;
&lt;li&gt;Deploy after merge with fabric-cicd / pipeline dry-run and Variable Library remap.&lt;/li&gt;
&lt;li&gt;Honest tip merge only when the tip is entirely ready.&lt;/li&gt;
&lt;li&gt;PR body that lists SHAs, owners, and rebind notes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Cherry-pick is operational cost. Tip merge is cheaper when the tip is clean. Forcing selective promotion on a trunk-based team that deploys main continuously may be the wrong shape; match the model to how many unfinished features actually share a long-lived env branch. Also do not copy "cherry-pick forever" without shrinking trains; hell at scale is a design smell, not a badge of rigor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/11-fabric-cicd-blast-radius" rel="noopener noreferrer"&gt;Fabric CI/CD: How Do You Limit Blast Radius Across Dev Workspaces?&lt;/a&gt; (deployer reconcile set vs git change set)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/31-variable-library-deploy-targets" rel="noopener noreferrer"&gt;Variable Library: How Do You Switch Active Value Sets from Dev to Prod?&lt;/a&gt; (stage remap beside git promotion)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/56-fabric-branch-workspaces-ready" rel="noopener noreferrer"&gt;Fabric Branch Workspaces: Ready for Team Git?&lt;/a&gt; (keeping each change in its own branch workspace before it reaches the promotion ladder)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sources (community grounding): &lt;a href="https://www.reddit.com/r/MicrosoftFabric/comments/1retxzl/fabric_cicd_branch_promotion_strategy_merge_or/" rel="noopener noreferrer"&gt;Fabric CICD branch promotion strategy: merge or cherry-pick&lt;/a&gt;, plus Microsoft Learn Fabric CI/CD / fabric-cicd git-flow guidance for environment branches and promotion.&lt;/p&gt;

&lt;p&gt;Name the commits. Cut the temp branch. Open the PR. Then deploy. The tip is not a release note.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>fabric</category>
      <category>cicd</category>
      <category>git</category>
    </item>
    <item>
      <title>Foundry + private Search: Is Name or service not known a DNS problem or an auth problem?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Sat, 28 Nov 2026 16:27:15 +0000</pubDate>
      <link>https://dev.to/geekindata/foundry-private-search-is-name-or-service-not-known-a-dns-problem-or-an-auth-problem-29a9</link>
      <guid>https://dev.to/geekindata/foundry-private-search-is-name-or-service-not-known-a-dns-problem-or-an-auth-problem-29a9</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/45-foundry-private-search-dns" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Treat Name or service not known as DNS until proven otherwise
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Name or service not known&lt;/code&gt; on Search MCP enumeration is a DNS / path failure until proven otherwise.&lt;/li&gt;
&lt;li&gt;Healthy indexers, a correct MCP URL, and project managed-identity RBAC can all look fine while the agent data plane cannot resolve privatelink DNS.&lt;/li&gt;
&lt;li&gt;Fix private DNS zone links, VNet injection, and the agent egress path before chasing keys or 403s.&lt;/li&gt;
&lt;li&gt;Public MCP from a laptop does not prove the Foundry agent runtime can resolve the private Search hostname.&lt;/li&gt;
&lt;li&gt;Hybrid networking plus Search private-endpoint hostname rewrite is the usual trap.&lt;/li&gt;
&lt;li&gt;Split symptoms: DNS errors first; 403 Forbidden only after name resolution succeeds.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I keep seeing the same false trail. Azure AI Search sits behind a private endpoint as a knowledge-base MCP tool. Indexers are green. The MCP URL looks right. The Microsoft Foundry project managed identity has Search roles. Tool enumeration still dies with &lt;code&gt;Name or service not known&lt;/code&gt;. Teams open Entra, rotate keys, and argue about RBAC while the agent data plane never resolved the privatelink name.&lt;/p&gt;

&lt;p&gt;Treat that error as DNS until a packet could have reached auth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: DNS before RBAC&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DNS:&lt;/strong&gt; Can the Foundry agent data path resolve the Search hostname the private endpoint rewrote? Private DNS zone &lt;code&gt;privatelink.search.windows.net&lt;/code&gt; linked to the VNet the agent actually uses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reachability:&lt;/strong&gt; After resolution, can that path hit the private endpoint (managed VNet, BYO VNet injection, or peered hybrid path)?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RBAC:&lt;/strong&gt; Only then do project managed-identity roles, Knowledge Base permissions, and 403 Forbidden become the honest next layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split the symptom:&lt;/strong&gt; &lt;code&gt;Name or service not known&lt;/code&gt; means stop before Entra. &lt;code&gt;403 Forbidden&lt;/code&gt; means name resolution worked and auth or network policy is next.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contract:&lt;/strong&gt; Laptop curl on a public MCP endpoint is not staging proof for a private agent runtime.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fdns-before-rbac.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fdns-before-rbac.svg" alt="Diagnosis order: DNS, then reachability, then RBAC" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Named model: DNS before RBAC. Prove name resolution and the private path before you chase managed-identity roles or keys.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;The constraint is hybrid and private by design. Search has a private endpoint. The public hostname rewrites toward privatelink DNS. Microsoft Foundry Agent tool enumeration (knowledge-base MCP) runs on a data-plane path that is not your laptop and often not the same resolver your portal session uses.&lt;/p&gt;

&lt;p&gt;Community threads on Microsoft Q&amp;amp;A describe the same flip: public or semi-open setups can surface &lt;code&gt;403 Forbidden&lt;/code&gt;; after locking Search to private endpoints, the error becomes &lt;code&gt;Name or service not known&lt;/code&gt; even when roles look correct. That is the cue. Resolution failed before auth mattered.&lt;/p&gt;

&lt;p&gt;Foundry private-link guidance and agent data-proxy reachability notes point the same way: the runtime needs a VNet path that can resolve and route to the private Search endpoint. Trusted-services checkboxes and portal green lights do not substitute for that path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Read the error literally
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Name or service not known&lt;/code&gt; is getaddrinfo failing. The process never obtained an IP. RBAC is not in play yet. Do not start with role assignments when the name did not resolve.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Inventory the private DNS contract
&lt;/h3&gt;

&lt;p&gt;For Azure AI Search private endpoints you need the privatelink zone linked to every VNet that must resolve the service name, including the network Microsoft Foundry agents actually egress through (managed network, injected BYO VNet, or peered hub). Forgetting the VNet link on &lt;code&gt;privatelink.search.windows.net&lt;/code&gt; is a classic miss: portal DNS looks fine from a jump box in another VNet while the agent subnet still uses public resolution that no longer reaches the locked service.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Draw the agent path, not the admin path
&lt;/h3&gt;

&lt;p&gt;Admins test from VPN or bastion. Agents enumerate tools through the Foundry data plane / data proxy path. Those resolvers differ. Figure 2 is the simplified private Search MCP path: Search PE, privatelink DNS, Foundry agent runtime. No real hostnames required to teach the shape.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fprivate-search-mcp-path.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fprivate-search-mcp-path.svg" alt="Search private endpoint, privatelink DNS, and Foundry agent path" width="960" height="520"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Private Search MCP path. The agent data plane must resolve privatelink DNS and reach the Search private endpoint. A healthy indexer and a laptop-proven URL do not prove that path.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Prove DNS, then reachability, then RBAC
&lt;/h3&gt;

&lt;p&gt;Order of proof:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;From a host on the &lt;strong&gt;same&lt;/strong&gt; network plane as the agent runtime, resolve the Search FQDN and confirm it returns the private endpoint address, not a public leftover.&lt;/li&gt;
&lt;li&gt;Confirm TCP reachability to that private IP on the Search HTTPS port.&lt;/li&gt;
&lt;li&gt;Only then validate project managed identity roles on Search / knowledge resources and re-test MCP tool enumeration.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If step 1 fails, stop. Fix zone links, VNet injection, peering, or custom DNS forwarding. Do not rotate API keys.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Split DNS symptoms from 403 symptoms
&lt;/h3&gt;

&lt;p&gt;Figure 3 is the symptom split. Use it in incident chat so nobody "fixes" the wrong layer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fsymptom-split-dns-vs-403.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F45-foundry-private-search-dns%2Fsymptom-split-dns-vs-403.svg" alt="When the error is Name or service not known versus 403 Forbidden" width="960" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Symptom split. Name or service not known stays on DNS and path. 403 Forbidden means resolution worked; now check identity, roles, and allowlists.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Keep public laptop success out of the MVP checklist
&lt;/h3&gt;

&lt;p&gt;Public MCP from a developer machine proves the knowledge base and URL shape. It does not prove private DNS links, agent VNet injection, or hybrid resolver chains. Label that test as POC-only in the runbook.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Misreading DNS as 403.&lt;/strong&gt;&lt;br&gt;
Teams paste role docs into the thread while getaddrinfo is still failing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fixing keys while the private endpoint remains.&lt;/strong&gt;&lt;br&gt;
New keys never help a name that does not resolve.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public MCP works from a laptop; agent runtime fails.&lt;/strong&gt;&lt;br&gt;
Different resolver, different network plane, same false confidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Forgetting the VNet link on privatelink.search.windows.net.&lt;/strong&gt;&lt;br&gt;
Zone exists; the agent VNet is not linked; symptoms look random.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Trusted services checkbox as a PE substitute.&lt;/strong&gt;&lt;br&gt;
Useful in some public-restricted patterns; not a replacement for private DNS when Search is private-endpoint-only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Chasing MCP URL typos after PE rewrite.&lt;/strong&gt;&lt;br&gt;
URL hygiene matters, but after a PE cutover the dominant failure is resolution and path, not a missing slash.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit order: DNS, reachability, then RBAC for private Search MCP behind Foundry agents.&lt;/li&gt;
&lt;li&gt;Private DNS zone inventory with VNet links for every agent egress network.&lt;/li&gt;
&lt;li&gt;A runbook row that rejects laptop-public MCP as staging proof for private MVP.&lt;/li&gt;
&lt;li&gt;Symptom language that keeps &lt;code&gt;Name or service not known&lt;/code&gt; out of the Entra lane.&lt;/li&gt;
&lt;li&gt;Alignment with Foundry private-link / networking overview before custom proxy folklore.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Private Search plus Foundry agents costs networking ownership: DNS, peering, and sometimes managed-network templates. Skipping that ownership keeps demos fast and agent tool lists empty. Opening Search publicly "just for Foundry" undoes the PE decision; prefer fixing the private path (BYO VNet templates, managed VNet, or documented hybrid DNS) over re-expanding the attack surface.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/12-poc-public-vs-mvp-private-agent-apps" rel="noopener noreferrer"&gt;Agent Apps: Can You Put a Fabric Data Agent in a Public Web App?&lt;/a&gt; (POC public vs MVP private staging)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/21-foundry-webapp-deploy-pattern" rel="noopener noreferrer"&gt;Microsoft Foundry: Is Deploy as Web App Enough, or Do You Need a Backend Proxy?&lt;/a&gt; (identity and egress first)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/38-secure-proxy-ai-shells" rel="noopener noreferrer"&gt;Secure AI Shells: Should the Browser Talk to Foundry, or Only Through a Proxy?&lt;/a&gt; (secure proxy boundary)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sources (community grounding): &lt;a href="https://learn.microsoft.com/en-us/answers/questions/5864531/unable-to-connect-azure-ai-foundry-to-azure-ai-sea" rel="noopener noreferrer"&gt;Unable to connect Foundry to Azure AI Search knowledge base&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/en-us/answers/questions/5849073/azure-ai-foundry-agent-service-data-proxy-cannot-r" rel="noopener noreferrer"&gt;Foundry Agent Service data proxy cannot reach resources&lt;/a&gt;, &lt;a href="https://learn.microsoft.com/en-us/azure/foundry/how-to/configure-private-link" rel="noopener noreferrer"&gt;Configure private link for Microsoft Foundry&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Prove DNS. Then reachability. Then RBAC. The agent will not thank you for beautiful role assignments on a name it never resolved.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>ai</category>
      <category>search</category>
    </item>
    <item>
      <title>Workspace Naming: Is a One-Time Rename Cheaper Than Translating Prefixes Forever?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Fri, 27 Nov 2026 17:42:32 +0000</pubDate>
      <link>https://dev.to/geekindata/workspace-naming-is-a-one-time-rename-cheaper-than-translating-prefixes-forever-285b</link>
      <guid>https://dev.to/geekindata/workspace-naming-is-a-one-time-rename-cheaper-than-translating-prefixes-forever-285b</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/44-fabric-workspace-naming-hygiene" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Rename once with a map
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Display-name standards are mandatory for new Fabric workspaces; exceptions expire.&lt;/li&gt;
&lt;li&gt;Catalog and lakehouse identifiers change only with an explicit automation impact plan.&lt;/li&gt;
&lt;li&gt;Renames run as programs with old-to-new maps and owners.&lt;/li&gt;
&lt;li&gt;Legacy owner prefixes are removed when they no longer reflect ownership.&lt;/li&gt;
&lt;li&gt;Naming docs live beside Variable Library and deploy-target maps.&lt;/li&gt;
&lt;li&gt;CI, monitors, and runbooks update in the same change series; eternal aliases are forbidden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Inconsistent workspace display-name prefixes look cosmetic until CI bindings, support scripts, and onboarding docs all grow translation layers. Every new engineer learns a dialect map. Every pipeline encodes an old convention in a string.&lt;/p&gt;

&lt;p&gt;Rename once. Display names are for humans; catalog and lakehouse names may stay stable on purpose. Prefix chaos multiplies CI, docs, and scripts. Do the rename as a program with an old-to-new map. Strip legacy owner codes when they no longer mean ownership. Naming standards belong in platform docs next to Variable Library maps. Perpetual translation is more expensive than a planned rename.&lt;/p&gt;

&lt;p&gt;Naming is a control plane for humans and automation. Treat drift as architecture debt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: rename once with a map&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Display:&lt;/strong&gt; human-friendly labels that may clarify over time; standards plus time-bounded exceptions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Catalog:&lt;/strong&gt; lakehouse and resource identifiers wired into deployments; stay stable unless an impact plan says otherwise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Map:&lt;/strong&gt; old-to-new table with owners, CI checklist, and communication waves. Programs have end states; hobbies do not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Same change set:&lt;/strong&gt; pipelines, monitors, and runbooks update with the rename. Eternal aliases recreate the tax you meant to delete.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Frename-once-with-map.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Frename-once-with-map.svg" alt="Four stages: display labels, stable catalog ids, old-to-new map, then CI and runbooks in the same change set" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Rename once with a map. Clarify display names for humans. Keep catalog identifiers calm for automation. Cut over with a written map and update CI in the same breath.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;Picture support runbooks that spend more lines translating names than diagnosing failures. The platform is fine. The vocabulary is not. A one-time rename with a map and stable catalog names removes a tax nobody approved.&lt;/p&gt;

&lt;p&gt;Display names can evolve when they confuse operators. Catalog names can remain stable when they are wired into deployments. Mixing those concerns produces either brittle renames that break CI or frozen display names that mislead forever. Choose which strings are stable, which are friendly, and document both.&lt;/p&gt;

&lt;p&gt;Figure 2 is the Learn workspace surface. Treat naming as platform architecture, not stickers on the door.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmado3ofvfkjga6g1zv4i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmado3ofvfkjga6g1zv4i.png" alt="Microsoft Fabric workspace page showing the workspace list" width="800" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Workspace and lakehouse naming is platform architecture. Display names should guide humans without freezing bad prefixes forever. Source: &lt;a href="https://learn.microsoft.com/en-us/fabric/fundamentals/workspaces" rel="noopener noreferrer"&gt;Microsoft Learn: workspaces&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Separate lanes, one platform
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Separate display names from catalog stability
&lt;/h3&gt;

&lt;p&gt;Tell the platform which identifiers automation must keep and which labels humans may clarify. Renaming a display label should not require rewriting every notebook path if catalog names stayed put. Clarity without breakage is the point. Figure 3 is the lane split.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Fdisplay-vs-catalog-stability.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Fdisplay-vs-catalog-stability.svg" alt="Two lanes: display names for humans versus catalog and lakehouse identifiers for automation" width="960" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Display friendly, catalog stable. Mixing lanes freezes bad prefixes or breaks CI. Document which strings are friendly and which stay put.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Kill prefix chaos with a standard
&lt;/h3&gt;

&lt;p&gt;Pick environment, domain, and purpose patterns once. Publish examples. Reject new workspaces that invent a fourth dialect. Prefixes that encode retired efforts or old team nicknames become unpaid history lessons. Figure 4 is the cut from dialect tax to one published standard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Fprefix-chaos-to-standard.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F44-fabric-workspace-naming-hygiene%2Fprefix-chaos-to-standard.svg" alt="Dialect map of conflicting prefixes versus a published env-domain-purpose standard with expiring exceptions" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Kill prefix chaos with a standard. One dialect, published examples, exceptions that expire. Put the rules next to Variable Library maps where deployers already look.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Run rename as a program with a map
&lt;/h3&gt;

&lt;p&gt;Old-to-new tables, owners, CI search/replace checklists, and communication dates. A casual Friday rename of "a few" workspaces strands half the scripts. Programs have end states; hobbies do not.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Strip legacy owner codes when ownership moved
&lt;/h3&gt;

&lt;p&gt;If a prefix still shouts a former owner that no longer owns the workspace, it trains the wrong escalation path. Replace with domain ownership language. Nostalgia is not a support strategy.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Colocate naming docs with Variable Library maps
&lt;/h3&gt;

&lt;p&gt;People already look up deploy targets. Put naming rules beside them. Orphan naming documents are ignored. Platform docs that sit on the operator path get used.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Update CI bindings and scripts in the same change set
&lt;/h3&gt;

&lt;p&gt;Searches for old display names in pipelines, monitors, and runbooks belong in the rename PR series. Leaving "aliases" forever recreates the translation layer you meant to delete.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the old-to-new map must include
&lt;/h2&gt;

&lt;p&gt;For each workspace: old display name, new display name, stable catalog/resource identifiers, owning team, CI locations that reference it, monitoring jobs affected, and whether lakehouse names change or stay. Explicit "stays stable" columns prevent helpful engineers from "cleaning" identifiers that deployments need. Maps are boring. Boring prevents outages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Communicating the rename without chaos
&lt;/h2&gt;

&lt;p&gt;Announce the why (operational tax), the when (maintenance window or phased waves), and the what does not change (catalog names, OneLake paths if stable). Give people a search string for old names in their private scripts. Offer office hours once. Silence after rename guarantees shadow aliases. Over-communication for a week beats years of dialect coaching.&lt;/p&gt;

&lt;h2&gt;
  
  
  Naming standards that survive contact with reality
&lt;/h2&gt;

&lt;p&gt;Include environment tokens, domain tokens, and forbidden patterns (personal names, owner fossils, joke prefixes). Provide a request path for exceptions with expiry dates. Endless exceptions recreate chaos. Zero exceptions create shadow IT workspaces. Time-bounded exceptions with owners are the middle path. Review exceptions quarterly next to Variable Library reviews so naming stays a living control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Cosmetic dismissal.&lt;/strong&gt;&lt;br&gt;
"Just names" until onboarding takes a week.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rename without map.&lt;/strong&gt;&lt;br&gt;
Folklore replaces documentation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Catalog churn by accident.&lt;/strong&gt;&lt;br&gt;
Automation breaks; panic reverts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Owner fossils.&lt;/strong&gt;&lt;br&gt;
Escalations go to the wrong team.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Docs elsewhere.&lt;/strong&gt;&lt;br&gt;
Standards never reach creators.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Alias forever.&lt;/strong&gt;&lt;br&gt;
Translation layers become permanent products.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Display-name standards are mandatory for new Fabric workspaces; exceptions expire.&lt;/li&gt;
&lt;li&gt;Catalog/lakehouse identifiers change only with an explicit automation impact plan.&lt;/li&gt;
&lt;li&gt;Renames run as programs with old-to-new maps and owners.&lt;/li&gt;
&lt;li&gt;Legacy owner prefixes are removed when they no longer reflect ownership.&lt;/li&gt;
&lt;li&gt;Naming docs live beside Variable Library and deploy-target maps.&lt;/li&gt;
&lt;li&gt;CI, monitors, and runbooks update in the same change series; eternal aliases are forbidden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A rename program costs coordination and careful CI work. Perpetual translation costs every new hire and every script. Stable catalog names keep automation calm and can leave ugly historical identifiers in places humans rarely see; that trade is often correct. Strict standards slow workspace creation slightly and speed support forever. Deleting aliases feels harsh; keeping them feels kind and rebuilds the maze.&lt;/p&gt;

&lt;p&gt;Primary references: &lt;a href="https://learn.microsoft.com/en-us/fabric/fundamentals/workspaces" rel="noopener noreferrer"&gt;Fabric workspaces&lt;/a&gt; and your Variable Library deploy-target ADR. Pair the naming standard with your monitoring runbook so operators see one vocabulary.&lt;/p&gt;

&lt;p&gt;Standardize prefixes. Separate display friendliness from catalog stability. Rename once with a map. Strip fossils. Update automation in the same breath. Put the rules where deployers already look. Architecture includes the words on the door.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/32-pipeline-lineage-explorer" rel="noopener noreferrer"&gt;Fabric Lineage: What's Next When Pipeline Lineage Becomes Untraceable?&lt;/a&gt; (checking dependencies before a rename or drop)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>toolkits</category>
      <category>fabric</category>
      <category>naming</category>
      <category>governance</category>
    </item>
    <item>
      <title>Large Facts: Why Does a Green Refresh Still Drift?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Fri, 27 Nov 2026 17:41:57 +0000</pubDate>
      <link>https://dev.to/geekindata/large-facts-why-does-a-green-refresh-still-drift-1h88</link>
      <guid>https://dev.to/geekindata/large-facts-why-does-a-green-refresh-still-drift-1h88</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/42-large-fact-refresh-drift" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Refresh drift is a contract break, not a flaky pipeline
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Treat refresh drift as a contract break between notebooks, watermarks, and semantic consumers.&lt;/li&gt;
&lt;li&gt;Publish an incremental contract covering deletes, late arrivals, and corrections.&lt;/li&gt;
&lt;li&gt;Align watermark semantics with documented business correction rules.&lt;/li&gt;
&lt;li&gt;Run drift checks in-pipeline with explicit tolerances and a fail or quarantine policy.&lt;/li&gt;
&lt;li&gt;Give each fact grain a refresh SLA with an owner; green checks are not enough.&lt;/li&gt;
&lt;li&gt;Materialize for speed only after honesty gates are testable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Large facts can "succeed" on every run and still lie. Row counts look fine. Pipelines are green. Measures drift because deletes, late arrivals, and corrections were never part of the incremental contract. Analysts discover it weekly. Engineers call it flaky. It is usually a missing agreement.&lt;/p&gt;

&lt;p&gt;Large fact tables are the classic patient. The disease is mismatched notebooks, watermarks, and semantic consumers. Fast materialization without drift tests just fails faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: contract before green&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Contract:&lt;/strong&gt; one page for grain, watermark meaning, deletes, late arrivals, and how corrections reopen history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watermark:&lt;/strong&gt; semantics match business correction rules (append-only versus reopen), tested on happy and correction paths.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drift check:&lt;/strong&gt; key measures or hash aggregates versus a trusted mark, with tolerance and fail/quarantine policy in the pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Refresh SLA:&lt;/strong&gt; freshness bar per fact grain, with an owner and escalation path beyond green checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rule:&lt;/strong&gt; incremental success means the agreement held, not that the job exited zero. Speed work follows honesty gates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fcontract-before-green.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fcontract-before-green.svg" alt="Named model: contract, watermark, drift check, then refresh SLA before calling a large fact honest" width="960" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Contract before green. Write incremental meaning, align watermarks with corrections, gate drift in-pipeline, then publish an owned refresh SLA. Exit code zero is not honesty.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;A common failure: on large fact tables, daily loads look healthy while measures wander. The pipeline is not random. The watermark tells a narrower story than the business believes. Once the contract is written and drift is tested in-pipeline, "flaky" becomes a closed ticket class.&lt;/p&gt;

&lt;p&gt;Row-count success can hide deletes that never landed, late arrivals outside the watermark, and corrections applied upstream but ignored downstream. Semantic consumers assume a grain and a freshness story. If notebooks disagree, drift is the symptom. Naming it flaky delays the fix.&lt;/p&gt;

&lt;p&gt;Figure 2 is the Learn reminder that scheduled refresh is an operations surface. Green schedules still need an incremental contract that covers late arrivals and corrections.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl0aojvyf9wdiks3oektc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl0aojvyf9wdiks3oektc.png" alt="Power BI scheduled refresh configuration as an operations surface" width="654" height="635"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Refresh can be scheduled and still lie about history. The schedule is not the contract. Source: &lt;a href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data" rel="noopener noreferrer"&gt;Microsoft Learn: data refresh in Power BI&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Design
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Write the incremental contract in one page
&lt;/h3&gt;

&lt;p&gt;State grain, watermark column meaning, how deletes appear, how late arrivals are handled, and how corrections reopen history. If two engineers disagree after reading it, the page is not done. Contracts beat tribal notebook comments.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Align watermarks with business correction rules
&lt;/h3&gt;

&lt;p&gt;If the business expects same-day corrections to flow, a strict append-only watermark will drift measures. If the business expects immutable daily snapshots, soft corrections need a different path. Pick deliberately and test both happy and correction paths. Figure 3 is the fork.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fwatermark-vs-corrections.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fwatermark-vs-corrections.svg" alt="Append-only watermark drifts when the business expects corrections; correction-friendly paths reopen history on purpose" width="960" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Append-only is simpler. Correction-friendly is harder and sometimes required. The business rule picks the watermark story; notebook habit does not.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Put drift checks in the pipeline
&lt;/h3&gt;

&lt;p&gt;Compare key measures or hash aggregates against a prior trusted mark or a reconciliation source within tolerance. Fail the run or quarantine the slice when drift exceeds policy. Weekly analyst surprise is not a control. Figure 4 is the gate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fdrift-gate-before-publish.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F42-large-fact-refresh-drift%2Fdrift-gate-before-publish.svg" alt="Pipeline flow: incremental load, drift gate with tolerance, then publish or quarantine" width="960" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Load can be green and still dishonest. The drift gate decides publish versus quarantine before consumers see the slice.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Publish a refresh SLA per fact grain
&lt;/h3&gt;

&lt;p&gt;Say how fresh the fact should be, for whom, and what "good" means beyond green checks. SLAs without drift tests are uptime theatre. SLAs with owners create escalation paths.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Separate speed from honesty
&lt;/h3&gt;

&lt;p&gt;Materialize quickly after the contract is testable. Faster wrong facts only spread wrong decisions sooner. Performance work follows correctness gates, not the reverse.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Trace notebook, watermark, and semantic assumptions
&lt;/h3&gt;

&lt;p&gt;Inventory where each assumption lives. If the semantic model expects SCD behavior the notebook does not provide, document the mismatch as a defect. Drift often sits in the seams between teams.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a drift test can look like without boiling the ocean
&lt;/h2&gt;

&lt;p&gt;You do not need perfect reconciliation automation on day one. Start with stable keys: count of distinct rows in a closed window, sum of a key measure for a locked period, or null rates on critical foreign keys. Compare to the previous successful mark and to a source extract for a sample day. Tolerances should be explicit. Zero tolerance on volatile open periods is how you create false failures; infinite tolerance is how you create false calm.&lt;/p&gt;

&lt;h2&gt;
  
  
  Communicating drift to stakeholders
&lt;/h2&gt;

&lt;p&gt;Say: the pipeline succeeded mechanically; the incremental contract failed for this class of correction; here is the business rule we will encode; here is the test that will block release if it regresses. Avoid "the platform was flaky." Avoid blaming analysts for noticing. Precision builds trust faster than reassurance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rebuild versus repair
&lt;/h2&gt;

&lt;p&gt;Some drift requires a bounded rebuild of a date range. Some requires a forward fix only. Encode which situations demand rebuild in the runbook. Leaving that choice to 2 a.m. judgment guarantees inconsistent history. Pair rebuild playbooks with capacity awareness so honesty does not become an accidental denial-of-service on the capacity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Green equals true.&lt;/strong&gt;&lt;br&gt;
Exit codes replace reconciliation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Undefined deletes.&lt;/strong&gt;&lt;br&gt;
Rows that should vanish stay forever.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Late arrivals ignored.&lt;/strong&gt;&lt;br&gt;
Business thinks they are in; watermark says no.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Analyst-as-monitor.&lt;/strong&gt;&lt;br&gt;
Drift found in meetings, not pipelines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SLA as marketing.&lt;/strong&gt;&lt;br&gt;
Freshness claims without tests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Speed-first rewrites.&lt;/strong&gt;&lt;br&gt;
Faster materialization, same contract hole.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Large facts publish an incremental contract covering deletes, late arrivals, and corrections.&lt;/li&gt;
&lt;li&gt;Watermark semantics match documented business expectations.&lt;/li&gt;
&lt;li&gt;Drift checks run in-pipeline with explicit tolerances and failure policy.&lt;/li&gt;
&lt;li&gt;Each fact grain has a refresh SLA with an owner.&lt;/li&gt;
&lt;li&gt;Performance work on materialization follows honesty gates.&lt;/li&gt;
&lt;li&gt;Rebuild versus forward-fix rules live in a versioned runbook.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Contracts and drift tests add design time and CI minutes. Undefined incremental behavior adds silent arguments about which number is right. Tighter watermarks are simpler and righter for some cases; correction-friendly watermarks are harder and necessary for others. Quarantine paths complicate consumer wiring; silent publish of drifted slices complicates trust. SLAs create accountability and surface underfunding early.&lt;/p&gt;

&lt;p&gt;Primary references: &lt;a href="https://learn.microsoft.com/en-us/power-bi/connect-data/refresh-data" rel="noopener noreferrer"&gt;data refresh in Power BI&lt;/a&gt;, Fabric pipeline and semantic model refresh guidance on Microsoft Learn, plus your fact-grain ownership docs. Pair SLA text with the drift test names so operations and analytics share vocabulary.&lt;/p&gt;

&lt;p&gt;Define incremental meaning. Test it in the pipeline. Publish the SLA. Align watermarks with corrections. Prefer honest speed. Stop calling contract breaks flaky.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/29-materialize-heavy-warehouse-views" rel="noopener noreferrer"&gt;Warehouse Views: Should Heavy Views Be Materialized for Direct Lake?&lt;/a&gt; (materialize for speed once the contract is testable)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/30-bulk-ingest-without-oom" rel="noopener noreferrer"&gt;Spark Ingest: How Do You Load Large Tables Without Driver OOM?&lt;/a&gt; (batched loads that keep full rebuilds finite)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.geekindata.com/blog/40-fabric-monitor-runbooks" rel="noopener noreferrer"&gt;Fabric Monitor: How Do You Systematically Monitor Refresh Failures?&lt;/a&gt; (one runbook for diagnosing refresh failures)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>casestudies</category>
      <category>fabric</category>
      <category>refresh</category>
      <category>dataquality</category>
    </item>
    <item>
      <title>NEE Fallback: Why Do Results Differ With and Without Native Execution Engine?</title>
      <dc:creator>Sai Prudhvi Neelakantam</dc:creator>
      <pubDate>Thu, 26 Nov 2026 17:56:20 +0000</pubDate>
      <link>https://dev.to/geekindata/nee-fallback-why-do-results-differ-with-and-without-native-execution-engine-nhp</link>
      <guid>https://dev.to/geekindata/nee-fallback-why-do-results-differ-with-and-without-native-execution-engine-nhp</guid>
      <description>&lt;p&gt;I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at &lt;a href="https://www.geekindata.com/blog/41-mlv-nee-fallback-truth" rel="noopener noreferrer"&gt;geekindata.com&lt;/a&gt;. The diagrams are on that page.&lt;/p&gt;

&lt;h1&gt;
  
  
  Wall-clock first; treat NEE as a latency budget
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Key takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MLV performance work starts with wall-clock baselines and per-view attribution.&lt;/li&gt;
&lt;li&gt;NEE warnings are classified as actionable, investigate, or accepted with owners.&lt;/li&gt;
&lt;li&gt;Rewrites require measured latency impact, not warning count reduction alone.&lt;/li&gt;
&lt;li&gt;Slow nodes are isolatable via per-view diagnostic notebooks.&lt;/li&gt;
&lt;li&gt;Accepted warnings are documented for on-call and revisited after runtime changes.&lt;/li&gt;
&lt;li&gt;Capacity and concurrency checks accompany SQL fallback analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Materialized Lake View runs paste warning floods that mention native execution engine fallbacks. Teams panic-rewrite Spark SQL to chase every line. Meanwhile the DAG's wall-clock still hides in one slow node nobody measured.&lt;/p&gt;

&lt;p&gt;Measure first. Pasted warnings include Delta and MLV metadata internals you cannot and need not remove. Wall-clock attribution beats fear-driven rewrites. Fix the few fallbacks that move latency. Ignore the rest deliberately. Document accepted warnings so on-call does not thrash. Pair with per-view notebooks so slow nodes are isolatable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named model: baseline → classify → fix movers&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Baseline:&lt;/strong&gt; record end-to-end MLV DAG duration and per-view timings before anyone rewrites SQL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classify:&lt;/strong&gt; sort NEE lines into actionable, investigate, or accepted with an owner and revisit trigger.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix movers:&lt;/strong&gt; prove before/after latency on hot stages; leave cheap fallbacks documented and alone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rule:&lt;/strong&gt; actionable fallbacks are a latency budget problem, not a zero-warning purity contest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fbaseline-classify-fix-movers.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fbaseline-classify-fix-movers.svg" alt="Three stages: capture wall-clock baseline, classify NEE warnings, fix only latency movers" width="960" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 1. Named model for NEE work on Materialized Lake Views. Numbers first, taxonomy second, rewrites only where wall-clock moves.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Context and constraint
&lt;/h2&gt;

&lt;p&gt;Warning walls look urgent and usually contain very little that is actionable. The useful work begins when you time stages, isolate views, and keep an accepted-warning list. Latency drops when you fix the few fallbacks that matter, not when you chase every one that does not.&lt;/p&gt;

&lt;p&gt;Some NEE messages are environmental noise around metadata and platform internals. Others mark operators that truly leave native paths and cost minutes. Your job is attribution: which warnings correlate with wall-clock, which are accepted, and which earn a rewrite. Fear without a stopwatch produces churn.&lt;/p&gt;

&lt;p&gt;Figure 2 is the Fabric Spark job surface that makes stage time visible. Attribute there first; open warning text on the critical path second.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkj3t81gi6k7qbosb5c0y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkj3t81gi6k7qbosb5c0y.png" alt="Fabric Spark job summary used to attribute MLV stage time" width="352" height="1182"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 2. Attribute MLV time with job details and DAG reality. Do not treat every NEE warning as a rewrite mandate. Source: &lt;a href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-monitoring-overview" rel="noopener noreferrer"&gt;Microsoft Learn: Spark monitoring overview&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Capture wall-clock before rewriting SQL
&lt;/h3&gt;

&lt;p&gt;Record end-to-end MLV DAG duration and per-view timings. Without a baseline, every change looks like a win in a meeting and a wash in production. Numbers first, opinions second. Figure 1 is that order drawn as three jobs.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Classify warnings into actionable vs accepted
&lt;/h3&gt;

&lt;p&gt;Build a short taxonomy: known noise, investigate, must-fix. Update it when the platform changes. A living list beats rediscovering the same scary text each quarter. Figure 3 is the bucket shape on-call can read at 2 a.m.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fnee-warning-taxonomy.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fnee-warning-taxonomy.svg" alt="Three buckets for NEE warnings: actionable, investigate, and accepted with owner" width="960" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 3. Sort the flood before you rewrite. Actionable owns minutes. Investigate gets a time-box. Accepted stays visible with an owner and a revisit trigger.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Fix only fallbacks that move latency
&lt;/h3&gt;

&lt;p&gt;Prove with before/after timings that a rewrite helps. If a fallback remains and the stage is already cheap, document and move on. Heroic SQL that saves a trivial slice of a long DAG is theatre.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Isolate slow nodes with per-view notebooks
&lt;/h3&gt;

&lt;p&gt;When a DAG is opaque, run suspicious views alone. Isolation turns "the MLV is slow" into "this join pattern is slow." Shared clusters and shared blame help nobody. Figure 4 is the ownership split that ends folklore.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fper-view-isolation.svg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.geekindata.com%2Fassets%2Fblogs%2F41-mlv-nee-fallback-truth%2Fper-view-isolation.svg" alt="Opaque DAG with shared blame versus isolating a view in a diagnostic notebook" width="960" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Figure 4. Opaque DAGs produce shared blame. A diagnostic notebook that runs one view alone names the slow operator and gives someone an owner.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Keep accepted warnings visible to on-call
&lt;/h3&gt;

&lt;p&gt;Publish the accepted list beside the runbook. On-call should not page itself over documented noise at 2 a.m. Silence without documentation is how noise becomes ignored signal later.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Revisit after platform upgrades
&lt;/h3&gt;

&lt;p&gt;Native engines evolve. A warning that was noise may become actionable, or the reverse. Schedule revisits after Fabric runtime changes. Stale accepted lists are how you miss real regressions.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to attribute without drowning in Spark UI
&lt;/h2&gt;

&lt;p&gt;Start with the MLV run's total duration and the top three stages by time. Map stages to views or operators you own. Only then open warning text for those hot stages. Reading every warning in a cold run teaches anxiety. Reading warnings on the critical path teaches engineering. Save full warning dumps as artifacts; analyze selectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  What belongs in an accepted-warning ADR
&lt;/h2&gt;

&lt;p&gt;Quote the warning pattern, why it appears, why it is accepted, who owns the revisit, and which metric would force reopening. Include a sample log line. Vague acceptance ("platform stuff") fails the next hire. Specific acceptance survives upgrades and audits.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pairing with capacity and concurrency truth
&lt;/h2&gt;

&lt;p&gt;Sometimes MLV wall-clock is queueing and throttling, not NEE. Measure concurrency and capacity metrics beside fallback work. Otherwise you burn a week "fixing" Spark while the platform simply oversubscribed the same slot. Attribution includes environment, not only SQL shape.&lt;/p&gt;

&lt;h2&gt;
  
  
  Communicating results without warning theatre
&lt;/h2&gt;

&lt;p&gt;When you tell stakeholders an MLV got faster, show wall-clock and the one or two fallbacks you fixed. Do not celebrate a quieter log if duration did not move. Quiet logs with unchanged latency train leadership to fund cosmetics. Loud logs with a clear accepted list train leadership to fund measurement. Prefer charts of duration by view over screenshots of yellow warning text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Warning zero as KPI.&lt;/strong&gt;&lt;br&gt;
Teams rewrite for cosmetics. Log quiet; DAG unchanged.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No baseline.&lt;/strong&gt;&lt;br&gt;
Changes cannot be judged. Every PR claims a win.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DAG-only folklore.&lt;/strong&gt;&lt;br&gt;
"It has always been slow." Nobody names a view or stage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Undocumented acceptance.&lt;/strong&gt;&lt;br&gt;
Every on-call relearns panic over the same metadata lines.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Never revisit.&lt;/strong&gt;&lt;br&gt;
Old noise classifications outlive truth after a runtime upgrade.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shared blame.&lt;/strong&gt;&lt;br&gt;
No per-view isolation, no owners. Figure 4 is that failure made visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use as-is or adapt
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Use as-is&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MLV performance work starts with wall-clock baselines and per-view attribution.&lt;/li&gt;
&lt;li&gt;NEE warnings are classified as actionable, investigate, or accepted with owners.&lt;/li&gt;
&lt;li&gt;Rewrites require measured latency impact, not warning count reduction alone.&lt;/li&gt;
&lt;li&gt;Slow nodes are isolatable via per-view diagnostic notebooks.&lt;/li&gt;
&lt;li&gt;Accepted warnings are documented for on-call and revisited after runtime changes.&lt;/li&gt;
&lt;li&gt;Capacity and concurrency checks accompany SQL fallback analysis.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Adapt before you use&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Accepted-warning lists feel like giving up; zero-warning crusades feel productive and waste weeks. Per-view notebooks add operational paths; opaque DAGs add longer incidents. Revisit schedules are calendar load; skipping them is silent regression risk. Proving latency wins slows PRs and prevents false victory blogs.&lt;/p&gt;

&lt;p&gt;Primary references: &lt;a href="https://learn.microsoft.com/en-us/fabric/data-engineering/spark-monitoring-overview" rel="noopener noreferrer"&gt;Spark monitoring overview&lt;/a&gt; and &lt;a href="https://learn.microsoft.com/en-us/fabric/data-engineering/materialized-lake-views/overview-materialized-lake-view" rel="noopener noreferrer"&gt;Materialized Lake Views overview&lt;/a&gt; on Microsoft Learn. Pair them with your accepted-warning list so engineers know which reality they are optimizing.&lt;/p&gt;

&lt;p&gt;Time the DAG. Classify the noise. Fix what moves latency. Document what you accept. Isolate slow views. Revisit after upgrades. Most NEE lines are not your emergency. Wall-clock truth is.&lt;/p&gt;

</description>
      <category>experiments</category>
      <category>fabric</category>
      <category>materializedlakeviews</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
