Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Summary

Improves async operation handling in Redis Cloud commands by properly handling the processing-error state and extracting nested error details.

Changes

  • Add processing-error to the list of terminal states
  • Treat processing-error as a failed state (alongside failed and error)
  • Extract and display nested error details from task responses (type, status, description)
  • Handle both top-level error fields and nested errors in the response object

Fixes

Closes #427

Testing

  • All existing tests pass
  • Manually tested with Cloud async operations

- Add processing-error to terminal states for Cloud async operations
- Treat processing-error as failed state for proper error handling
- Extract and display nested error details from task responses
- Fixes #427
@joshrotenberg joshrotenberg merged commit 6514b27 into main Oct 29, 2025
16 checks passed
@joshrotenberg joshrotenberg deleted the fix/processing-error-handling branch October 29, 2025 21:43
@joshrotenberg joshrotenberg mentioned this pull request Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: --wait does not handle 'processing-error' task status correctly

2 participants