From 86f6a6f6c6bf5349ac62263632964b4f0316678f Mon Sep 17 00:00:00 2001 From: Cristian Magherusan-Stanciu Date: Wed, 7 Oct 2026 16:10:43 +0200 Subject: [PATCH] chore(deps): pin Azure commitments module at run-rate and billing-scope fixes Rollout relays for cloud-commitments-go #218 (fix(azure): stop dividing the monthly run-rate by the term months, merged as e24345c) and #207 (fix(azure): report only savings plans billed to the subscription, merged as 58c25f0). Pin providers/azure at v0.0.0-20261007133317-58c25f04c49b, which contains both fixes, and pkg at the version the azure module requires. The aws and gcp pins stay where they are so no module moves backwards. Error-handling audit for the #207 semantics change (GetExistingCommitments for Azure savings plans can now fail instead of returning a silently partial list): every CLI call to GetExistingCommitments goes through provider.ServiceClient instances built by createServiceClient, which dispatches AWS services only, so no CLI path calls the Azure inventory today. The duplicate-purchase guards that do consume the interface (checkDuplicates, checkDuplicatesForCSVRegion) already fail closed on error for purchase runs. Coordinated with #2121: that issue's broader deps adoption should build on this branch or exclude the azure pin. --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 8667cef94..649c56986 100644 --- a/go.mod +++ b/go.mod @@ -82,9 +82,9 @@ require ( require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0 - github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261004235520-de46f760cdcf + github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261006104817-90e61e668b99 github.com/LeanerCloud/cloud-commitments-go/providers/aws v0.0.0-20261005004231-945a4045d11f - github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261004143708-56555e1be095 + github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261007133317-58c25f04c49b github.com/LeanerCloud/cloud-commitments-go/providers/gcp v0.0.0-20260928214714-ce9513612901 github.com/aws/aws-sdk-go-v2/service/organizations v1.45.3 github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.40.3 diff --git a/go.sum b/go.sum index b4b3f4394..4a8d06f5c 100644 --- a/go.sum +++ b/go.sum @@ -78,12 +78,12 @@ github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0 github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.54.0/go.mod h1:vB2GH9GAYYJTO3mEn8oYwzEdhlayZIdQz6zdzgUIRvA= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0 h1:s0WlVbf9qpvkh1c/uDAPElam0WrL7fHRIidgZJ7UqZI= github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.54.0/go.mod h1:Mf6O40IAyB9zR/1J8nGDDPirZQQPbYJni8Yisy7NTMc= -github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261004235520-de46f760cdcf h1:Q2MH8FZXpD9MdS/ZSExcjF7mTKxeQpoj96cY65ust1k= -github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261004235520-de46f760cdcf/go.mod h1:ApWBliDXe099f3oDXBz41K/I9v4bHvn1dG/BGoRmHlw= +github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261006104817-90e61e668b99 h1:inu/nYSAVY6cLsTn4qc64RIbCsymURLlEdgkhha79cw= +github.com/LeanerCloud/cloud-commitments-go/pkg v0.0.0-20261006104817-90e61e668b99/go.mod h1:ApWBliDXe099f3oDXBz41K/I9v4bHvn1dG/BGoRmHlw= github.com/LeanerCloud/cloud-commitments-go/providers/aws v0.0.0-20261005004231-945a4045d11f h1:c3K60juwiY6t25Gr0HWAxajIDsXH4LzDO4e3ENGAsAM= github.com/LeanerCloud/cloud-commitments-go/providers/aws v0.0.0-20261005004231-945a4045d11f/go.mod h1:wpW9/TvGFUUOqBEleJL639loh6Ue5aVIcZKdubRnYPQ= -github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261004143708-56555e1be095 h1:biK3afDC9+O7GOquE9AmjslC70nAgNAN3lCYQuzYc9o= -github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261004143708-56555e1be095/go.mod h1:Na4KM+0ORVTgT9xsvyfzoH7cS01eacC3EyFzgaDC1+w= +github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261007133317-58c25f04c49b h1:yurugmfdZjf+dqjfqfDyfoBR3IAiFUpMKQ8URnZnJzQ= +github.com/LeanerCloud/cloud-commitments-go/providers/azure v0.0.0-20261007133317-58c25f04c49b/go.mod h1:iIvPuWLWd+SXqLHAQNdodYMUAAcq7PnwfScXWgARt5A= github.com/LeanerCloud/cloud-commitments-go/providers/gcp v0.0.0-20260928214714-ce9513612901 h1:i6OwXLUheudN3GfwnYXdKuEq8vPdE9qkNJ+r71LRLKA= github.com/LeanerCloud/cloud-commitments-go/providers/gcp v0.0.0-20260928214714-ce9513612901/go.mod h1:UnMqDe2mBUHHF6gnKAgJn9/JeXa7WZqQxfWPs4unGrg= github.com/aws/aws-sdk-go-v2 v1.41.5 h1:dj5kopbwUsVUVFgO4Fi5BIT3t4WyqIDjGKCangnV/yY=