Repository navigation
chore(deps): bump cloud-commitments-go to 790f369f and forward the RI offering type - #1796
Conversation
Moves all four cloud-commitments-go modules to go main 790f369f, which adds #682 (fractional RI quantities rounded down with their costs scaled), #684 (purchase counts above int32 refused before any AWS call), #685 (GCP lists only live commitments), #686 (the optional observed-rate capability), #688 (exchange targets need the source RI's offering type) and #691 (commitment rates fetched per layer). Minimum version selection also raises a few transitive AWS SDK and Google API modules the library requires. No replace directives; go mod verify passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… lookup cloud-commitments-go#688 makes FindConvertibleOfferingParams.OfferingType required, so an exchange only targets an offering with the source RI's payment option. Pin pkg and providers/aws to that commit and forward the field: convertForAutoExchange copies ConvertibleRI.OfferingType into RIMetadataInfo, and newConvertibleOfferingLookup passes it to the provider. Without the forwarding, every exchange lookup is refused once the pin lands. The zone reshape tests' fake RI had no offering type, so the provider now refuses its lookup. The fixture now carries Partial Upfront, and the zonal test asserts that type reaches DescribeReservedInstancesOfferings. Part of #1789 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 46 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
APPROVED cce1921 by claude-qa-ui-3 Cold review of the full diff (the go pin bump plus the #1789 OfferingType forwarding). Checked
Mutation probe: removing the forwarding fails Local verification (macOS, at this SHA, throttled)
Non-blocking note: the manual quote's |
|
APPROVED cce1921 by claude-qa-ui-4 Cold review of the cloud-commitments-go bump 61111428..790f369f (19 commits) plus the OfferingType forwarding.
Non-blocking:
|
|
Merged at head cce1921 as 04f3515. Gate evidence:
|
Summary
Bumps all four cloud-commitments-go modules from
61111428a353to go main790f369f(v0.0.0-20261105183508-790f369f4822), and folds in the platform change that #688 requires (#1789). This PR is a dependency enabler, outside the platform PR cap per the coordinator.The go changes it brings in:
ObservedCommitmentRateCapability. Nothing reads it yet; T7 (ui-fix-1) will.Minimum version selection also raises a few transitive AWS SDK and Google API modules that the library requires. There are no replace directives, and
go mod verifypasses.#1789 (cherry-picked from claude-ui-fix-2, authorship kept) forwards the source RI's offering type in
newConvertibleOfferingLookupandconvertForAutoExchange(internal/server/handler_ri_exchange.go). The zone-test fixture now carries Partial Upfront, and the zonal test asserts the type reachesDescribeReservedInstancesOfferings.Tests
TestExecuteRIExchangeReshape_{Zonal,Regional}...in internal/server, both with "offering lookup must reach the provider". With Pass the source RI's offering type to the exchange target lookup (go#553 follow-up) #1789 both pass.MapsEveryFieldandCarriesOfferingType.go build ./...passes, and so doesgo veton server, api, config, purchase and scheduler.go test ./internal/...passes.go test -tags integrationpasses for internal/api, internal/config and internal/server.Closes #1789
🤖 Generated with Claude Code