Summary
Every dry run prints "Note: Savings Plans purchasing not yet implemented". It is implemented. createServiceClient returns a real Savings Plans client for all four Savings Plans slugs, and PurchaseCommitment issues a real CreateSavingsPlan call. The message actively misleads an operator on a money path at the exact moment they decide whether to re-run with --purchase.
Location
cmd/multi_service_stats.go:181-185 at 3c0f8ac
cmd/main.go:258-266 (createServiceClient)
providers/aws/services/savingsplans/client.go:210-235 (PurchaseCommitment)
Failure scenario
An operator dry-runs --all-services, reads the footer, and re-runs with --purchase expecting Savings Plans rows to be skipped. They are not. The run buys the Savings Plans commitments the operator believed were excluded.
Evidence
if isDryRun {
AppLogger.Println("\n💡 To actually purchase these RIs, run with --purchase flag")
AppLogger.Println(" Note: Savings Plans purchasing not yet implemented")
}
Suggested fix
Delete the stale second line, or replace it with the count of Savings Plans recommendations that --purchase will buy.
Found by the 2026-09-02 codebase audit, finding A10-014, reported by one reviewer and independently confirmed by a second. Full report: docs/audits/codebase-audit-2026-09-02.md.
Summary
Every dry run prints "Note: Savings Plans purchasing not yet implemented". It is implemented.
createServiceClientreturns a real Savings Plans client for all four Savings Plans slugs, andPurchaseCommitmentissues a realCreateSavingsPlancall. The message actively misleads an operator on a money path at the exact moment they decide whether to re-run with--purchase.Location
cmd/multi_service_stats.go:181-185at 3c0f8accmd/main.go:258-266(createServiceClient)providers/aws/services/savingsplans/client.go:210-235(PurchaseCommitment)Failure scenario
An operator dry-runs
--all-services, reads the footer, and re-runs with--purchaseexpecting Savings Plans rows to be skipped. They are not. The run buys the Savings Plans commitments the operator believed were excluded.Evidence
Suggested fix
Delete the stale second line, or replace it with the count of Savings Plans recommendations that
--purchasewill buy.Found by the 2026-09-02 codebase audit, finding
A10-014, reported by one reviewer and independently confirmed by a second. Full report:docs/audits/codebase-audit-2026-09-02.md.