Skip to content

chore(deps): next providers/azure pin must be at or after cloud-commitments-go 58c25f0 (fail-closed savings-plan inventory) #653

Closed

Description

@cristim

cloud-commitments-go PR #207 (fix(azure): report only savings plans billed to the subscription) merged to main as 58c25f0, AFTER the run-rate fix e24345c that fleet PR #475 pins at (11fdc1f). e24345c is 1 commit behind 58c25f0, so when #475 merges the platform still won't have this fix.

Behavioral change: GetExistingCommitments for Azure savings plans can now return an ERROR where it previously returned a silently partial list (billing-account/management-group scopes and malformed rows hard-error; fail-closed by design). No exported signature change - compiles unchanged.

Consumer audit (this repo, 2026-10-07): NO production call sites of GetExistingCommitments exist - only test mocks (internal/purchase/mocks_test.go:131, internal/api/handler_purchases_retry_fanout_test.go:105) satisfy the provider.ServiceClient interface. Duplicate-purchase protection is DB/idempotency-token based, not inventory-read based, so no caller treats the error as empty inventory. Fail-closed is safe to adopt as-is; errors surfacing through library-internal purchase paths already propagate through the platform's PurchaseCommitment error mapping.

Action when the pin freeze lifts (no azure go.mod/go.sum changes while #475 is in flight): bump ONLY providers/azure to a pseudo-version >= 58c25f0 (tip aa903fe5 as of 2026-10-07T14:08Z also includes the gcp #205 restore, but that rides its own per-module pin). After the bump, grep for new GetExistingCommitments call sites and confirm any caller honors the error rather than treating it as empty inventory.

Relates: #650 (closed by #475, pins at e24345c), #521 (separate ri-exchange bump).

Activity

  1. IAmJSD commented on Oct 16, 2026

    @IAmJSD
    Collaborator

    Released: already done (closing, details below)

  2. assigned and unassigned on Oct 16, 2026
  3. IAmJSD commented on Oct 16, 2026

    @IAmJSD
    Collaborator

    Closing: this is already done on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions