Skip to content

Retry schedule updates on conflict token mismatch - #1823

Open
ningmao-hlyz wants to merge 1 commit into
temporalio:mainfrom
ningmao-hlyz:schedule-conflict-token-retry
Open

Retry schedule updates on conflict token mismatch#1823
ningmao-hlyz wants to merge 1 commit into
temporalio:mainfrom
ningmao-hlyz:schedule-conflict-token-retry

Conversation

@ningmao-hlyz

@ningmao-hlyz ningmao-hlyz commented Sep 8, 2026

Copy link
Copy Markdown

What changed

  • Pass the schedule describe response conflict token into update schedule requests.
  • Retry the describe/update loop when the server reports a mismatched conflict token.
  • Add a unit test covering the retry path and conflict token propagation.

Fixes #1367

Checks

  • uv run pytest tests/test_client.py::test_schedule_update_retries_conflict_token
  • uv run ruff check --select I temporalio/client/_impl.py tests/test_client.py
  • uv run ruff format --check temporalio/client/_impl.py tests/test_client.py
  • uv run pyright temporalio/client/_impl.py tests/test_client.py
  • git diff --check

@ningmao-hlyz
ningmao-hlyz requested a review from a team as a code owner September 8, 2026 19:09
@ningmao-hlyz
ningmao-hlyz force-pushed the schedule-conflict-token-retry branch 2 times, most recently from d9bc094 to 6773b8a Compare September 9, 2026 01:56
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.

[python] Support conflict token retry loop for schedule updates

1 participant