Add Go support to Azure Functions templates - #3186
Open
harshivcodes wants to merge 2 commits into
Open
Conversation
harshivcodes
requested review from
JasonYeMSFT,
alzimmermsft,
chidozieononiwu,
conniey,
Copilot,
saikoumudi,
tmeschter and
xirzec
July 30, 2026 21:17
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Thank you for your contribution @harshivcodes! We will review the pull request and get back to you soon. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Go language support to the Azure Functions tool’s language/template experience by extending the language metadata model, updating merge guidance, and expanding unit/live test coverage to include the new language.
Changes:
- Added Go as a supported language, including runtime/version metadata and Go project file detection (
go.mod,go.sum). - Updated template “Add mode” merge instructions and file classification so Go templates are split into function vs. project files appropriately.
- Expanded unit and live tests to validate Go language listing, template retrieval, and project template behavior.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tools/Azure.Mcp.Tools.Functions/src/Models/SupportedLanguages.cs | Adds Go to the supported language enum. |
| tools/Azure.Mcp.Tools.Functions/src/Services/LanguageMetadataProvider.cs | Adds Go manifest key mapping, static metadata, fallback runtime version info, and known project file support for Go. |
| tools/Azure.Mcp.Tools.Functions/src/Services/FunctionsService.cs | Updates “Add mode” merge guidance and placement instructions to include Go. |
| tools/Azure.Mcp.Tools.Functions/tests/Azure.Mcp.Tools.Functions.Tests/Services/FunctionsServiceTests.cs | Adds unit tests for Go language metadata and known project files. |
| tools/Azure.Mcp.Tools.Functions/tests/Azure.Mcp.Tools.Functions.Tests/Services/FunctionsServiceHttpTests.cs | Adds HTTP test validating Go add-mode merge guidance and file splitting. |
| tools/Azure.Mcp.Tools.Functions/tests/Azure.Mcp.Tools.Functions.Tests/Project/ProjectGetCommandTests.cs | Expands coverage to ensure project template retrieval works for Go. |
| tools/Azure.Mcp.Tools.Functions/tests/Azure.Mcp.Tools.Functions.Tests/Language/LanguageListCommandTests.cs | Updates runtime version test data and assertions to include Go. |
| tools/Azure.Mcp.Tools.Functions/tests/Azure.Mcp.Tools.Functions.Tests/FunctionsCommandTests.cs | Updates live/recorded expectations to include Go and preview-only runtime versions. |
manvkaur
approved these changes
Aug 3, 2026
alzimmermsft
approved these changes
Aug 4, 2026
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.
What does this PR do?
Adds Go support to the Azure Functions MCP tools, including language metadata, project guidance, template discovery, and tests.
GitHub issue number?
N/A
Pre-merge Checklist