sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

[python] Support conflict token retry loop for schedule updates

Open chris-olszewski opened this issue 8 months ago • 2 comments

No SDK passes or retries on the conflict token for schedule updates. The server returns 'mismatched conflict token' as of https://github.com/temporalio/temporal/pull/8474.

chris-olszewski avatar Mar 16 '26 18:03 chris-olszewski

I’d like to work on this. My understanding is that ScheduleHandle.update() currently performs a describe/callback/update flow but does not send the schedule conflict token or retry when the server rejects an update because that token is stale. I’d like to add the conflict token to the update request and make the update path re-describe + re-run the updater on a mismatched-token response, with focused tests for a concurrent update race. I’ll keep the change scoped to schedule updates and include a changelog fragment if this is user-facing. Happy to adjust the approach if there’s a preferred retry/error shape.

musi22 avatar Oct 16 '26 20:10 musi22

We are not accepting work on this at the moment. There is pending server work which is required beforehand.

tconley1428 avatar Oct 16 '26 20:10 tconley1428