Repository navigation
Conversation
Muneer320
marked this pull request as ready for review
November 26, 2026 13:10
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4735 +/- ##
=======================================
Coverage 98.64% 98.64%
=======================================
Files 204 204
Lines 19164 19164
=======================================
Hits 18904 18904
Misses 260 260 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gmlewis
approved these changes
Nov 26, 2026
gmlewis
left a comment
Collaborator
There was a problem hiding this comment.
Thank you @Muneer320!
LGTM.
Awaiting second LGTM+Approval from any other contributor to the repo before merging.
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.
An explicitly empty
SelectedWorkflowsslice is omitted from runner-group requests, so callers cannot send"selected_workflows": []separately from leaving the field unset. GitHub's organization and enterprise request schemas permit empty arrays.Use
omitzerofor this field in all four create/update request types. Nil slices remain omitted and populated slices are unchanged. The update marshalers also preserve empty lists when removing a network configuration.Regression coverage lives in the existing API-method tests: four request-body assertions and two empty-workflow/network-removal cases. The raw JSON assertions detect an omitted field without marshaling the expected value through the same request type.
Verification on hosted Linux / Go 1.26.0:
script/fmt.sh,script/test.sh(all 12 modules, including race checks) andscript/lint.shpass; generated files are unchanged. Verification run.Contract references: organization API and enterprise-cloud API. The pinned OpenAPI schemas were checked for all four operations. No live organization or enterprise settings were changed or tested.
AI assistance was used for discovery, implementation, regression checks and drafting.