feat: Add support for getting Copilot cloud agent configuration#4241
Open
maishivamhoo123 wants to merge 9 commits into
Open
feat: Add support for getting Copilot cloud agent configuration#4241maishivamhoo123 wants to merge 9 commits into
maishivamhoo123 wants to merge 9 commits into
Conversation
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
gmlewis
reviewed
May 20, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4241 +/- ##
=======================================
Coverage 97.48% 97.48%
=======================================
Files 190 191 +1
Lines 19178 19188 +10
=======================================
+ Hits 18695 18705 +10
Misses 268 268
Partials 215 215 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
59ab5d7 to
4420993
Compare
gmlewis
requested changes
May 21, 2026
Collaborator
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @maishivamhoo123!
A couple minor tweaks, please, then we should be ready for any other contributor to this repo to provide a second LGTM+Approval before merging.
cc: @stevehipwell - @alexandear - @zyfy29 - @Not-Dhananjay-Mishra - @munlicode
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
gmlewis
requested changes
May 22, 2026
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
alexandear
reviewed
May 23, 2026
alexandear
suggested changes
May 23, 2026
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
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.
Description
Add support for getting Copilot cloud agent configuration via the GitHub REST API.
Changes
CopilotCloudAgentConfigurationstruct to handle the API responseEnabledToolsstruct for tool configuration detailsGetCopilotCloudAgentConfigurationmethod in CopilotServiceMcpConfigurationfield to use*json.RawMessagefor proper null handlingRelated Issue
Closes #4239
Testing
All existing tests pass and new unit tests validate the functionality.