Skip to content

fix(enterprise): usage-report get fails to parse live response from local Enterprise demo cluster #917

@joshrotenberg

Description

@joshrotenberg

Summary

redisctl enterprise usage-report get currently fails against the local Enterprise demo cluster due to response parsing, even though the command exists and the cluster is otherwise reachable.

Reproduction

Against the local demo stack on https://localhost:9443:

redisctl enterprise usage-report get --profile local-enterprise

Observed result:

  • command fails with a parse/deserialization error instead of returning the usage report payload

Why this matters

This is exactly the kind of regression that mock-only coverage will miss. If the live response shape has drifted, the command path needs to tolerate it or deserialize it correctly.

Expected behavior

  • The command should successfully parse and return the usage report payload from the local Enterprise demo cluster
  • If the endpoint payload is version-specific, the error should at least be explicit about the unsupported shape instead of failing generically

Acceptance criteria

  • Reproduce against the local Enterprise demo stack
  • Identify whether the problem is in endpoint selection, response model shape, or output handling
  • Fix parsing or error handling so the command behaves predictably against the demo cluster

Context

Found during live Enterprise integration testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions