Repository navigation
fix(aws): floor Savings Plan commitments to API precision - #403
Conversation
|
Independent committed verdict: no actionable findings at The cold verifier checked the current AWS CreateSavingsPlan contract (0.001 through 1 million; at most five fractional digits), raw range checks before truncation, adjacent float boundaries, cent preservation, repeated normalization, typed nil rejection before SDK calls, copied authorization details, both ladder Savings Plan layers, preview/request/returned amount agreement, unchanged ClientToken, and authoritative post-purchase Cost. Source traced through Fresh independent macOS Go 1.26.9 verification at that SHA:
Evidence uses realistic fixtures and a fake SDK boundary. No live AWS acceptance or purchase, consumer pin update, or platform storage/gate verification occurred. The platform portion remains open in #354; the separate offering-ID scope bypass is already tracked in #53. CodeRabbit posted Review limit reached for this head and submitted no review. Its green status is not review evidence. No paid review is requested; the project independent-review path applies once required CI is green. Merge remains blocked until fresh CI and unchanged-head checks cover this exact SHA. |
bdec9f9 to
d7dfc84
Compare
|
Refreshed exact-head verdict: no actionable findings at Rebased after #352/#353 under an explicit old-head lease. The single precision patch and all five owned blobs are unchanged; original bdec9f9 remains backed up. Two independent full-source passes and a fresh cold committed review found no actionable findings. The verifier checked AWS range/five-digit API and pinned SDK contracts, typed nil/nonfinite/raw-boundary refusal before SDK calls, decimal flooring and repeat stability, cents preservation, copied caller details, both AWS Savings Plan layers, request/preview/returned recommendation agreement, unchanged supplied token, and authoritative Cost. New-base compatibility was traced through Fresh independent macOS arm64 Go 1.26.9 offline proof: Evidence uses a fake external SDK boundary. No live AWS purchase or acceptance was checked. No source changes, consumer pins or security-guard changes were introduced by the refresh. New-head required CI remains pending; normal merge waits for green checks and unchanged exact head. |
|
Final reviewed head: CodeRabbit completed an included review with coverage metadata naming this exact SHA and kind=reviewed. It reports no actionable comments; the inline-comments API is empty. No quota waiver or paid request is used for this final head. Disposition of its two informational pre-merge warnings: #354 intentionally remains open for platform storage/old-tranche gates and documentation, as this approved PR covers only the AWS provider boundary. The docstring coverage suggestion is declined under repository conventions favoring concise code and test names over comments restating behavior; the shared normalizer retains its necessary caller-immutability rationale. Neither warning is a required GitHub check or an unresolved inline finding. Normal squash merge will use an exact-head match after fresh head, base, mergeability and check-state verification. No admin bypass, live purchase, deployment, consumer pin or security-guard change is authorized by this merge. |
|
Normally squash merged as Both post-merge workflows completed successfully; the originating watcher owner reported exit zero and reaped each watcher:
CodeRabbit completed an included review of the final head with no actionable findings; no quota waiver was needed. Existing #354 remains open for the platform portion, and #53 tracks the separate offering-ID scope issue. No additional follow-up defect was found. Local runtime proof used a fake external SDK boundary. No live AWS purchase, consumer pin change, MCP security-guard change or deployment was performed. |
Savings Plan purchases currently serialize hourly commitments to two decimal places, which can exceed the approved amount or send a valid small commitment as zero. This floors shortest-decimal commitment amounts to the AWS API five-place precision and rejects nonfinite or out-of-range inputs before lookup or purchase.
The client and ladder share one provider-internal rule. SDK request, returned recommendation, and offering preview agree; copied details preserve caller authorization data. Explicit idempotency tokens and authoritative post-purchase cost lookup remain unchanged.
Refs #354, #53. This provider leaf leaves #354 open for platform storage precision and old-tranche CommitmentRate requirements. No consumer pin updates or MCP whole-cent guard changes.
Reviewed head:
d7dfc8428f1ccaa76e6b6c06a6dba169d72b63f9, tree3bc791e21e42917342d3e067c03ed682c4544172, parentce96fafce117c3b132013655b5fc21d58d44f404after #352/#353. Rebase preserved the precision patch and all five owned source/test blobs; originalbdec9f94is retained in a backup ref.The independent broader build passed pkg and AWS, then Azure compilation ran out of disk space; full-build success is from the author run, not that independent attempt. Runtime evidence uses realistic fixtures and a fake SDK boundary. No live AWS acceptance or purchase was performed.
Required CI passed on the reviewed refreshed head. CodeRabbit recovered and completed an included review covering that exact head with no actionable comments and no inline findings; no quota waiver is used for the final head. Normal squash merge completed as
29adce1c3883bfb71a926451c323eafea601e87f; the merged tree exactly matches the reviewed tree. Both post-merge workflows completed successfully.