Update azure.coding-agent extension to Go 1.26 and add golangci-lint - #7031
Merged
Rajesh Kamal (rajeshkamal5050) merged 1 commit intoMar 6, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the azure.coding-agent azd extension to align with the repository’s current Go toolchain (1.26) and introduces CI linting via golangci-lint for this extension.
Changes:
- Bump
cli/azd/extensions/azure.coding-agentmodule Go version to 1.26. - Add golangci-lint configuration for the extension and a dedicated PR lint workflow.
- Apply small code adjustments to satisfy linting (string wrapping; gosec suppression for mkdir permissions).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| cli/azd/extensions/azure.coding-agent/internal/cmd/coding_agent_config.go | Wrap long Long help text and add a justified gosec nolint for workflow directory creation. |
| cli/azd/extensions/azure.coding-agent/go.mod | Updates module Go version to 1.26.0. |
| cli/azd/extensions/azure.coding-agent/.golangci.yaml | Adds golangci-lint v2 config enabling a focused linter set plus gofmt formatting checks. |
| .github/workflows/lint-ext-azure-coding-agent.yml | Adds PR-scoped lint workflow that calls the shared lint-go.yml workflow for this extension. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rajesh Kamal (rajeshkamal5050)
approved these changes
Mar 6, 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.
Changes
.golangci.yamlconfiguration file (gosec, lll, unused, errorlint, gofmt)Follows the same pattern established in the azure.ai.agents extension.