Skip to content

feat(enterprise): implement action tracking commands #166

@joshrotenberg

Description

@joshrotenberg

Description

Implement action tracking and management commands for Redis Enterprise API.

Commands to Implement

Action Operations

  • redisctl enterprise action list - List all actions
  • redisctl enterprise action get <action-id> - Get action details
  • redisctl enterprise action status <action-id> - Get action status
  • redisctl enterprise action logs <action-id> - Get action logs

Action Filtering

  • redisctl enterprise action list --status running - Filter by status
  • redisctl enterprise action list --type migration - Filter by type
  • redisctl enterprise action list --node <node-uid> - Filter by node
  • redisctl enterprise action list --since "2024-01-01" - Time-based filtering

Action Control

  • redisctl enterprise action cancel <action-id> - Cancel running action
  • redisctl enterprise action retry <action-id> - Retry failed action
  • redisctl enterprise action cleanup - Clean up completed actions

Implementation Notes

  • Use handlers/actions.rs
  • Tracks long-running operations across the cluster
  • Important for monitoring async operations

Priority

Low - Mostly for tracking background operations

Acceptance Criteria

  • Action listing with filters
  • Action details and logs
  • Action control operations
  • Standard output formats and JMESPath support

Metadata

Metadata

Assignees

No one assigned

    Labels

    cli-convenienceNice-to-have CLI commands for existing API endpointsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions