Skip to content

Let Python continue on the promoted workflow build - #373

Merged
rmcdaniel merged 2 commits into
mainfrom
general/sdkpython880-promoted-build
Nov 23, 2026
Merged

rmcdaniel merged 2 commits into
mainfrom
general/sdkpython880-promoted-build

Conversation

@rmcdaniel

@rmcdaniel rmcdaniel commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Adds Python's authoring, replay and retry support for Workflow #880 and the native Server candidate.

  • ctx.continue_as_new(state, target_build="promoted") requests the currently promoted build. Omitting the target keeps the inherited pin.
  • The current worker registration must advertise the capability and protocol 1.21. The client uses that version only on eligible continuation completions and their typed failure reports.
  • A definite promotion refusal leaves the original run open. The worker reports the same lease and attempt through the ordinary task-failure endpoint. Cold replay follows the recorded choice and legacy history retains its existing command shape.

The current Python worker negotiated directly with the native Server candidate. It passed the promotion refusal, fenced retry and successor completion. With published Server 3.24.0, it refused targeting at authoring and kept the original run open. The current local suite passed 7,927 tests with 143 skips. Mypy and the hosted checks passed.

@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel marked this pull request as ready for review November 23, 2026 17:43
@rmcdaniel
rmcdaniel merged commit f41b14c into main Nov 23, 2026
40 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant