Skip to content

feat(copilot): Add UpdateCloudAgentConfiguration to CopilotService#4285

Open
mramansayyad wants to merge 1 commit into
google:masterfrom
mramansayyad:fix/copilot-update-cloud-agent
Open

feat(copilot): Add UpdateCloudAgentConfiguration to CopilotService#4285
mramansayyad wants to merge 1 commit into
google:masterfrom
mramansayyad:fix/copilot-update-cloud-agent

Conversation

@mramansayyad
Copy link
Copy Markdown

This PR adds the missing UpdateCloudAgentConfiguration method to CopilotService for updating a repository's Copilot cloud agent configuration (PATCH /repos/{owner}/{repo}/copilot/cloud-agent/configuration). It includes corresponding unit tests to verify correctness.

@gmlewis gmlewis changed the title feat(copilot): add UpdateCloudAgentConfiguration to CopilotService feat(copilot): Add UpdateCloudAgentConfiguration to CopilotService Jun 5, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.47%. Comparing base (531d1cf) to head (7d7717c).

Files with missing lines Patch % Lines
github/copilot_cloud_agent.go 60.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4285      +/-   ##
==========================================
- Coverage   97.49%   97.47%   -0.02%     
==========================================
  Files         192      192              
  Lines       19230    19240      +10     
==========================================
+ Hits        18748    18754       +6     
- Misses        267      269       +2     
- Partials      215      217       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis
Copy link
Copy Markdown
Collaborator

gmlewis commented Jun 5, 2026

Thank you, @mramansayyad!
Please see step 4 of CONTRIBUTING.md to run the scripts and push the changes to this PR.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants