Repository navigation
AI Governance: end-to-end verification and fixes - #642
Merged
Digvijay (Digvijay) merged 1 commit intoNov 30, 2026
Merged
Conversation
✅ PR Compliance Check PassedAll compliance checks passed for the latest commit.
📄 Full report in the workflow run summary This comment was automatically generated by the PR Compliance Check workflow. |
Digvijay (Digvijay)
force-pushed
the
fastlane/06-ai-governance
branch
2 times, most recently
from
November 29, 2026 19:41
549ca2b to
d17bf29
Compare
Marco Weber (qxsch)
approved these changes
Nov 29, 2026
Digvijay (Digvijay)
force-pushed
the
fastlane/06-ai-governance
branch
from
November 29, 2026 22:01
d17bf29 to
62a8bfc
Compare
I deployed the AI Governance lab with its lab automation and ran notebooks 1 to 8 headless from a Windows laptop, as participants will. After the fixes below, all eight notebooks pass with zero errors on a freshly deployed lab. ### What changed - `deploy-lab.ps1` tags resources `SecurityControl=Ignore`. Without the tag the subscription policy turned public network access off on Cosmos DB, Storage and the Key Vaults, which broke the usage pipeline and notebooks 4 and 5. Challenge 1 keeps the manual steps only as a fallback. - New `challenges/workshop/make_env.py` writes `.env` from the deployment outputs. Challenge 1 Part A is now `uv sync` plus one command, with the hand-filled `.env` as a fallback. - Lab Unified AI API (notebook 6): added the `UAIG-*` debug headers, `POST /openai/responses`, and a `403 PathNotAllowed` catch-all, which the Challenge 6 success criteria expect. - Challenge 8 (A2A): notebook 8 now finds `az` on Windows and loads `.env`; the lab template adds a `gpt-4.1` deployment on the spoke account and the Foundry Agent Consumer role for the APIM identity (without it APIM gets 404 Agent Not Found); step 9 only goes private-only when a private endpoint exists (the lab has none). Challenge 8 and the notebook intro explain the lab differences. - Notebook fixes: skip the embedding model in chat tests (1), parse string error bodies (2, 6), honour `Retry-After` in the LangChain agent (4). - Walkthroughs: filled the TODO/TBD walkthrough, coaching-note and verification sections for all nine challenges from the dry run. - Workshop readme: notes on what does not apply in the lab (never `azd down`), broken links to guides that were not copied pointed at the upstream repo. `.gitignore` for files the notebooks generate. ### Worth a look - `labautomation/infra/resources.bicep` and the recompiled `resources.json`. - Challenge 9 stays an optional, instructor-led read-through: it needs an app registration the lab does not create. Notebook 9 had the same Windows and `.env` issues as notebook 8; with those fixed, sections 0 to 2 work read-only and show only the facilitator-provided `HR_MCP_*` values as missing. ### How it was tested The lab was deployed with this hack's own `labautomation` into a test subscription (all test resources have since been deleted) and every challenge was run as a participant would. Links and the repository structure check pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Digvijay (Digvijay)
marked this pull request as ready for review
November 29, 2026 22:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I deployed the AI Governance lab with its lab automation and ran notebooks 1 to 8 headless from a Windows laptop, as participants will. After the fixes below, all eight notebooks pass with zero errors on a freshly deployed lab.
Draft for content-owner review: ajakupov-microsoft Marco Weber (@qxsch).
What changed
deploy-lab.ps1tags resourcesSecurityControl=Ignore. Without the tag the subscription policy turned public network access off on Cosmos DB, Storage and the Key Vaults, which broke the usage pipeline and notebooks 4 and 5. Challenge 1 keeps the manual steps only as a fallback.challenges/workshop/make_env.pywrites.envfrom the deployment outputs. Challenge 1 Part A is nowuv syncplus one command, with the hand-filled.envas a fallback.UAIG-*debug headers,POST /openai/responses, and a403 PathNotAllowedcatch-all, which the Challenge 6 success criteria expect.azon Windows and loads.env; the lab template adds agpt-4.1deployment on the spoke account and the Foundry Agent Consumer role for the APIM identity (without it APIM gets 404 Agent Not Found); step 9 only goes private-only when a private endpoint exists (the lab has none). Challenge 8 and the notebook intro explain the lab differences.Retry-Afterin the LangChain agent (4).azd down), broken links to guides that were not copied pointed at the upstream repo..gitignorefor files the notebooks generate.Worth a look
labautomation/infra/resources.bicepand the recompiledresources.json..envissues as notebook 8; with those fixed, sections 0 to 2 work read-only and show only the facilitator-providedHR_MCP_*values as missing.How it was tested
The lab was deployed with this hack's own
labautomationinto a test subscription (all test resources have since been deleted) and every challenge was run as a participant would. Links and the repository structure check pass.