Skip to content

Conversation

@sid-rl
Copy link
Contributor

@sid-rl sid-rl commented Nov 14, 2025

execute_and_await_completion is a convenience wrapper over the base API's execute method. This change updates the wrapper to accept the new last_n and optimistic_timeout parameters, and exposes command_id as a passable parameter to enable command-level idempotency for the user.

Copy link
Contributor

@alb-rl alb-rl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left one small comment

Execute a command and wait for it to complete with optimal latency for long running commands.
This method launches an execution with a generated command_id and first attempts to
This method launches an execution and first attempts to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a comment about how the command_id is generated unless the user wants to use a specific one. Then explain the purpose of command ID.

@sid-rl sid-rl merged commit a8c6138 into main Nov 14, 2025
7 checks passed
@sid-rl sid-rl deleted the siddarth/update-execute-and-await-completion branch November 14, 2025 22:53
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.

3 participants