Repository navigation
fix(deps): bump providers/gcp past the Cloud Storage recommender removal - #772
Conversation
The pinned a32fd1a still queries google.storage.bucket.CostRecommender for every region, which Google does not document, so GCP recommendation collection fails with InvalidArgument when every service call fails. The newer provider (cloud-commitments-go#193, #205, #219) no longer fans out to Cloud Storage recommendations. Only providers/gcp moves. The provider grew CommitmentsService.Get, so the purchase history test fake implements it and fails loudly if a 409 path is ever reached. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 2 billable files and costs up to $0.50.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 22 minutes for your next included review. View limit detailsLimit details: You’ve used the included review currently available. Your 85 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Comment |
|
Subject: platform PR #772 @ 46ab2da - APPROVE conditional on green CI, with a behavior-change heads-up Delta (3 files vs origin/main): go.mod one line (providers/gcp a32fd1a178e9 -> 2c18f303abfc), go.sum 2 lines (that module h1 + go.mod hashes), test fake gets CommitmentsService.Get.
|
Summary
GCP recommendation collection fails for every region with
cloudstorage: iterate recommendations: InvalidArgument(reported in the UI as "all 172 GCP recommendation service calls failed across 43 regions"). The pinnedproviders/gcp(a32fd1a, 2026-09-29) asks the Recommender API forgoogle.storage.bucket.CostRecommender, which Google does not document (documented Cloud Storage recommenders are SoftDeleteRecommender and AnywhereCacheRecommender), and Google has no Cloud Storage commitment product to recommend. cloud-commitments-go stopped that in #193, #205 and #219 (see also go#199, #78).This bumps only
providers/gcpto cloud-commitments-go 2c18f303abfc (2026-10-09, main). No other module version moves. The provider addedCommitmentsService.Get, so theinternal/purchasehistory test fake implements it and fails loudly if a 409 path is ever reached.The collection error prints only the last failing call, so compute/SQL/cache calls may be failing for other reasons; the per-region WARN logs would show. This PR removes the Cloud Storage cause only.
What else this bump pulls in
providers/gcpmoves 21 commits (29 files) between the old and new pin, so the GCP behavior change is wider than the Cloud Storage fix (per the independent review):ComputeDetails.GCPCommitmentTypeor derive it from the machine family; unknown, shared-core and accelerator types are refused (fail closed, no GENERAL_PURPOSE default). The platform decodes details into the pinnedpkgcommon.ComputeDetails, which has the field; persistence was not traced end to end.PurchaseResult.ExistingCommitment(go#223, fix(api): openapi.yaml omits ~30 routed paths and mis-describes documented operations #262). No platform consumer of that flag changes here.Verification
go test ./internal/purchase ./internal/schedulerpass (the two packages importing the provider),go vet ./internal/...,go build ./cmd/...(GOWORK=off, local Go 1.27.1, no -race).GetRecommendationsreturnsErrCommitmentPurchaseNotSupported) and noCostRecommenderstring remains.🤖 Generated with Claude Code