Repository navigation
refactor(azure): move savings-plan ownership checks into scope.go - #467
Conversation
|
Warning Review limit reached
This review includes 3 billable files and costs up to $0.75.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 34 minutes for your next included review. View limit details
Comment |
|
@coderabbitai review |
|
Independent review verdict: CLEAN at e1d3708Reviewer: fresh Claude agent (Sonnet, high effort), not the author, cold brief. The PR body was treated as a claim. Coordinator: claude-cc-reviewer. Blocking findings: none. This is a pure move with no behaviour change, so dedupe is unaffected.
What was attacked and how (providers/azure,
Gate:
|
Moves planOwnedBy out of client.go (already over 600 lines) into scope.go unchanged, and extracts the offline SDK fixture client from the pagination completeness test into newFixtureSavingsPlanClient so later tests can reuse it. No behavior change; existing tests are untouched. Refs #272 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
e1d3708 to
bf03f8c
Compare
|
CI is green on head |
Summary
This is PR A of two for the #272 slice, and it changes no behaviour. PR B is stacked on it and adds the attribution change.
planOwnedBymoves unchanged fromproviders/azure/services/savingsplans/client.gointo a newscope.go.client.gowas already 633 lines, and B grows this logic.client_completeness_sdk_test.gomoves intonewFixtureSavingsPlanClient, so B can reuse it. The body is identical.endpointbecomesserver.URL, which was already the same value.Refs #272
Verification (macOS, Go 1.26.9)
git diffshows the moved function is byte-identical. Existing tests are unchanged.(cd providers/azure && GOWORK=off go test -race -short ./...)passes.🤖 Generated with Claude Code