Repository navigation
chore(deps): bump cloud-commitments-go to 3def3f8 for Archera line items - #1053
Conversation
Moves pkg and the aws, azure and gcp providers together to go main, which adds insurance.LineItems, selected amounts and line-item decoding (#799). The go EC2 offering lookups now verify what AWS returns and reject an unparsable payment option instead of ignoring it. Stop forwarding the source RI's AWS offering-type enum ("No Upfront") to ListTargetOfferings, which would now fail every target-offerings request, and make the zone test fakes return offerings that match the query. Refs #799 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 59 minutes for your next included review. View limit details
Comment |
Independent review verdict: CLEAN at b2a4828Reviewer: fresh Claude agent (Sonnet 5.5, high effort), not the author, cold brief. The PR body's changelog was treated as a claim and checked against go at Blocking findings: none. What was verified
Local verification (
Non-blocking notes
Gate
|
Independent review at b2a4828Verdict: no blocking findings. Safe to merge at this SHA once the gate's other conditions hold (CI is green on the SHA: 25/25 checks pass). Findings
What I checked
Local verification (macOS,
|
What and why
Bumps
cloud-commitments-gopkg,providers/aws,providers/azureandproviders/gcptogether from551be568dc21to3def3f8986174f7b24cefe6fc0fd068cfd45cba8(go main, includes go#435, #436 and #437). #799 needsinsurance.LineItemsand the selected amounts frompkg/insurance. 53 go commits come along.Refs #799
Platform changes beyond go.mod
internal/api/handler_ri_exchange.go: stop passing the source RI's AWS offering-type enum (No Upfront) asListTargetOfferings.OfferingType. go now returns an error for a value that is not ano-upfront-style slug, where it used to ignore it. Without this change everyGET /api/ri-exchange/target-offeringscall for a real RI fails. Effective behaviour is unchanged: all payment options were being listed before.internal/api/target_offerings_zone_test.go,internal/server/ri_exchange_zone_test.go) now return offerings with class, tenancy and duration, because go verifies what AWS returns.Changelog flags (behaviour, no IaC or IAM changes found)
common.OrderIDFromToken, which fails loud. go#496: GCP Compute Engine fails loud on a token it cannot turn into a request ID.GroupCommitmentsremoved from GCP (not used by the platform, build is clean).Commitmentgains EC2 platform, tenancy and scope, used by dedupe.Verification (macOS,
GOWORK=off)go build ./...,go vet ./...,go vet -tags integration ./...,go mod tidy -diff: clean.go test ./internal/... ./cmd/...: all pass. Before the fixes,TestListTargetOfferings_*(internal/api) andTestExecuteRIExchangeReshape_*(internal/server) failed on the bumped pin, which is the fail-before evidence.🤖 Generated with Claude Code