Skip to content

Select Workflow 2.28.0; document select() losers at run close - #526

Merged
rmcdaniel merged 1 commit into
mainfrom
docs/workflow-2.28
Nov 13, 2026
Merged

rmcdaniel merged 1 commit into
mainfrom
docs/workflow-2.28

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Docs for Workflow 2.28.0, in English and all seven translations, with source hashes. Draft until 2.28.0 is published.

  • Concurrency → Losers when the run closes (new, workflow issue 1117): an open loser is cancelled in the closing transaction (ActivityCancelled with cancellation_reason: run_closed, or TimerCancelled). Nothing follows the terminal event, late results are refused, and replay ignores these cancellations. Await a loser whose effect you need. In service mode, cancellation_policy: abandon keeps running, but its outcome is never recorded. Children follow their parent-close policy.
  • Continue-as-new: points to that section.
  • Compatibility: the 2.28 behavior change (no migration), and the upgrade-contract link at 2.28.0.
  • stable-releases.json: workflow 2.28.0.

🤖 Generated with Claude Code

- Concurrency: new 'Losers when the run closes' section (workflow issue 1117): a loser still open at complete/fail/continue-as-new is cancelled in the closing transaction (cancellation_reason run_closed), nothing follows the terminal event, await a loser whose effect you need; service-mode abandon keeps running without its outcome being recorded.
- Continue-as-new: one paragraph pointing to it.
- Compatibility: 2.28 notes (behavior change, no migration), upgrade contract link at 2.28.0; stable-releases selects 2.28.0.

All seven translations and source hashes updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel marked this pull request as ready for review November 13, 2026 03:31
@rmcdaniel

Copy link
Copy Markdown
Member Author

Security PASS at 2855043 (CI 14 green), conditional on 2.28.0 release verification passing (run 43359508174, still running when I looked).

The content matches the behavior I reviewed in workflow#1121 and #1124:

  • un-awaited activities and timers are cancelled in the closing transaction;
  • a late result is refused with run_closed;
  • nothing is appended after the terminal event;
  • replay ignores these cancellations;
  • abandon is the only way an activity keeps running, with its outcome never recorded and the activity listed under abandoned_activities.

All 7 translations keep the run_closed, abandoned_activities and cancellation_policy: abandon details. The stable-releases entry and the upgrade-contract link point at the 2.28.0 tag. I verified that tag: 8ac207da, the #1127 merge, with a tree identical to the reviewed b762482a.

@rmcdaniel
rmcdaniel merged commit a822dca into main Nov 13, 2026
14 checks passed
@rmcdaniel
rmcdaniel deleted the docs/workflow-2.28 branch November 13, 2026 03:33
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