Repository navigation
Updating Csharp and python MAF samples to GA. - #1070
Merged
Mohit Pavan Kumar Gadamsetty (mohitpavan) merged 12 commits intoOct 15, 2026
Merged
Mohit Pavan Kumar Gadamsetty (mohitpavan) merged 12 commits into
Mohit Pavan Kumar Gadamsetty (mohitpavan) merged 12 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 05607f09-ad87-46b5-9b03-4a9f594b891d
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 05607f09-ad87-46b5-9b03-4a9f594b891d
Mohit Pavan Kumar Gadamsetty (mohitpavan)
requested a review
from a team
as a code owner
October 13, 2026 08:59
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 08:59 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 09:00
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Signed URLs and user inputs can leak through shared state and logs, while existing preview deployments are not migrated.
4 open findings
What changed in this PR
Migrates the C# browser automation sample from preview/local Playwright CLI integration to GA Azure Playwright MCP tools.
Changes:
- Replaces local CLI tools with dynamically discovered GA browser tools.
- Updates provisioning, prompts, middleware, and documentation.
- Adds
browserSessionIdand live-view handling.
| File | Description |
|---|---|
utils/Tools.cs |
Removes local tool factories. |
utils/Middlewares.cs |
Handles GA sessions and live-view links. |
utils/BrowserSession.cs |
Removes Playwright CLI process management. |
skills/.../SKILL.md |
Documents GA browser tools. |
prompts/base.md |
Updates browser lifecycle guidance. |
Program.cs |
Uses Toolbox-discovered tools exclusively. |
Dockerfile |
Removes Node.js and Playwright CLI installation. |
.env.example |
Removes obsolete CLI timeout configuration. |
README.md |
Rewrites setup and usage documentation. |
playwright-connection.bicep |
Targets the GA MCP endpoint. |
setup-toolbox.sh |
Publishes the GA tool type on POSIX. |
setup-toolbox.ps1 |
Publishes the GA tool type on Windows. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Mitesh Shah (mitsha-microsoft)
previously approved these changes
Oct 13, 2026
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 13:13 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 13:13
…amples into users/mohit/bat-ga-mcp-csharp-maf
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 13:16 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 13:20
Mitesh Shah (mitsha-microsoft)
previously approved these changes
Oct 13, 2026
Include the Python MAF GA MCP migration, obsolete infra deletions, and both MAF model manifest updates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 05607f09-ad87-46b5-9b03-4a9f594b891d
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 19:21 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 19:22
…amples into users/mohit/bat-ga-mcp-csharp-maf Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 05607f09-ad87-46b5-9b03-4a9f594b891d
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 19:55 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 19:55
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 20:05 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 20:06
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 13, 2026 20:26
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 13, 2026 20:26 — with
GitHub Actions
Active
…uts will still apply.
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deployed
to
L4-validation
October 14, 2026 12:41 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Mohit Pavan Kumar Gadamsetty (mohitpavan)
October 14, 2026 12:41
Ankit Sinha (ankitbko)
approved these changes
Oct 15, 2026
Mohit Pavan Kumar Gadamsetty (mohitpavan)
merged commit Oct 15, 2026
6f9f570
into
main
19 checks passed
Mohit Pavan Kumar Gadamsetty (mohitpavan)
deleted the
users/mohit/bat-ga-mcp-csharp-maf
branch
October 15, 2026 11:59
This branch was successfully deployed
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.



Updating Csharp and Python MAF samples to GA.
[BAT-GA] Migrate C# and Python MAF browser automation samples to GA MCP.
Follow ups:
p0:
Testing. (done)
Shift BYO the remining flows to GA. (next prs) (#1074)
prompt agent MCP samples (wherever needed in this repo).
p1:
There are few places where the toolbox name etc are not in full sync, will add that sync in next prs (for now this can be considered as just the migration to GA pr.)
Scripts to bicep files.(next prs)
Check the postdeploy script error for the pww id given in the new project flow (pre-existing, but need to check once, could be transient too)