Skip to content

chore(providers): re-pin azure and aws past #714 and restore the variant dedupe test - #727

Merged
cristim merged 2 commits into
mainfrom
chore/723-repin-recfilter
Nov 9, 2026
Merged

cristim merged 2 commits into
mainfrom
chore/723-repin-recfilter

Conversation

@cristim

@cristim cristim commented Nov 9, 2026

Copy link
Copy Markdown
Member

Summary

Evidence

  • Fail-before: with the old pin under GOWORK=off the restored test fails (actual 1, 2, 2, 2); with the new pin it passes, also through go.work.
  • GOWORK=off go test -short ./... passes for providers/azure and providers/aws; golangci-lint reports 0 issues on both.
  • go mod tidy also raised two indirect requirements that pkg needs (aws-sdk-go-v2 v1.47.5, smithy-go v1.28.7).
  • Staged diff reviewed cold in two passes: no actionable findings.

Not in scope

Closes #723

🤖 Generated with Claude Code

cristim and others added 2 commits November 9, 2026 19:48
)

Move the pkg requirement of providers/azure and providers/aws to the
#714 merge so the provider modules pick up per-variant dedupe against the
full held quantity. go mod tidy also raises two indirect AWS SDK requirements
that pkg now needs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Restore TestHeldReservation_VariantPin, removed in #714 because it asserted
the old shared-budget result. It now asserts that one held unit reduces
every term and payment variant, and fails under the previous pkg pin.

Closes #723

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@cristim cristim added priority/p2 Backlog-worthy triaged Item has been triaged labels Nov 9, 2026
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 9c0d25c and f1237f9.

Files ignored due to path filters: 2

  • providers/aws/go.sum is excluded by !**/*.sum
  • providers/azure/go.sum is excluded by !**/*.sum
Files selected for processing: 3

  • providers/aws/go.mod
  • providers/azure/go.mod
  • providers/azure/services/managedredis/held_reservation_dedupe_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@cristim

cristim commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

APPROVE @ f1237f9 by claude-nibblets

Cold review of #727 (closes #723, +35/-12, a pin bump plus one restored test; 0 behind main).

  • Pin: providers/azure and providers/aws now require pkg at v0.0.0-20261109130250-81a709068bba. That commit exists and is on main (81a7090, "fix(recfilter): dedupe each term and payment variant against the full held quantity", fix(recfilter): dedupe each term and payment variant against the full held quantity #714).
  • go.sum: all 6 distinct added lines (the new pkg and go.mod hashes, aws-sdk-go-v2 v1.47.5, smithy-go v1.28.7) match sum.golang.org; go mod verify reports all modules verified in both modules. The two indirect bumps in providers/azure/go.mod are what pkg now requires, as the PR says.
  • Fail-before, which I ran: with the new pin (GOWORK=off) TestHeldReservation_VariantPin passes; with the base commit's go.mod and go.sum restored it fails with the 1, 2, 2, 2 pattern (the counts show 2). So the restored test pins the pin.
  • Suites at this head (GOWORK=off, -short): providers/aws builds and all 15 test packages pass; providers/azure has 14 passing packages and no FAIL line.
  • Noted, not in scope per the PR: providers/gcp still pins a pkg from before fix(recfilter): dedupe each term and payment variant against the full held quantity #714 and imports pkg/recfilter, so it still has the old variant dedupe; if chore(providers): re-pin pkg past #714 and restore the managedredis variant dedupe test #723 only names azure and aws, a GCP follow-up should be filed.

CI at this head: 14 pass, 1 skipping; CI Success and Run pre-commit hooks pass.

@cristim
cristim merged commit fab1d2b into main Nov 9, 2026
15 checks passed
@cristim
cristim deleted the chore/723-repin-recfilter branch November 9, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority/p2 Backlog-worthy triaged Item has been triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(providers): re-pin pkg past #714 and restore the managedredis variant dedupe test

1 participant