Skip to content

fix(cmd): Savings Plan hourly commitment below 0.005 passes validation and is sent as 0.00 #2163

Closed

Description

@cristim

The library formats the commitment with %.2f (savingsplans/client.go:235), so a positive HourlyCommitment below 0.005 passes the CLI precondition (HourlyCommitment > 0) but is sent to CreateSavingsPlan as "0.00". The precondition should reject commitments that round to 0.00. Found while reviewing #2160.

Activity

  1. added
    triaged
    priority/p3
    severity/low
    impact/few
    effort/xs
    type/bug
    on Oct 9, 2026
  2. IAmJSD commented on Oct 16, 2026

    @IAmJSD
    Collaborator

    Claiming: working on this

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/xsimpact/fewpriority/p3severity/lowtriagedtype/bugurgency/eventually

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions