Skip to content

Document Python worker sessions and rebuilding local state - #377

Merged
rmcdaniel merged 4 commits into
mainfrom
docs/349-python-worker-sessions
Oct 23, 2026
Merged

rmcdaniel merged 4 commits into
mainfrom
docs/349-python-worker-sessions

Conversation

@rmcdaniel

@rmcdaniel rmcdaniel commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Python users cannot find a worker-session example. All eight locales now show typed session options, sequential remote activities, worker capabilities, disposable local state and holder-loss recovery in the Python service guide. The embedded session guide links to that recipe and summarizes the boundaries.

Refs #349. Published-package qualification uses normal Python SDK2.9.0 and published Server2.11.0 with its published scheduler role. Three originals complete within unchanged45-second deadlines: same-holder cache reuse, actual killed-holder/rebuilt-state recovery, and explicit close producing a handled activity timeout. Normal and holder-loss controls have zero repairs; explicit-close has two normal scheduled repair passes. Exact definitions, probe and read-only audit are included in the receipt.

The first API-only closed-session original failed its40-second observation limit because the fixture omitted required maintenance. Its database/identity remain separately frozen; the successful fresh complete-role controls do not relabel that failure. The guide names the required scheduler and does not promise immediate session-closed exceptions, durable local state or automatic reopening of terminal sessions.

Validation: all seven reviewed-source hashes and executable code parity pass locally. Exact-head qualification builds all eight locales. Publication and16 live-route/actual-link checks follow normal merge.

@rmcdaniel
rmcdaniel marked this pull request as ready for review October 23, 2026 09:27
@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel merged commit 3688a9d into main Oct 23, 2026
9 checks passed
@rmcdaniel
rmcdaniel deleted the docs/349-python-worker-sessions branch October 23, 2026 09:52
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