Skip to content

Nexus cancellation type fixes#947

Merged
tconley1428 merged 1 commit intomasterfrom
nexus_cancellation_default
Jun 27, 2025
Merged

Nexus cancellation type fixes#947
tconley1428 merged 1 commit intomasterfrom
nexus_cancellation_default

Conversation

@tconley1428
Copy link
Copy Markdown
Contributor

What was changed

WAIT_CANCELLATION_COMPLETED should be default, populate operation_token on cancellation failures

Why?

Default should have the same behavior as before the expansion of cancellation types.

Checklist

  1. Closes

  2. How was this tested:
    Tested the change in the python SDK

  3. Any docs updates needed?

@tconley1428 tconley1428 requested a review from a team as a code owner June 26, 2025 23:11
operation: self.shared_state.operation.clone(),
operation_id: "".to_string(),
operation_token: "".to_string(),
operation_token: operation_token.clone().unwrap_or_default(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since we have to do this anyway, may as well just not bother with the option and init this to empty string.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I didn't see until after. Care enough to go back for it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nah, no biggie

@tconley1428 tconley1428 merged commit 2d9e3cd into master Jun 27, 2025
29 of 31 checks passed
@tconley1428 tconley1428 deleted the nexus_cancellation_default branch June 27, 2025 00:14
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.

2 participants