Skip to content

Prepare Workflow 2.42.0 - #1311

Merged
rmcdaniel merged 2 commits into
mainfrom
general/workflow-release-2.42.0
Nov 26, 2026
Merged

rmcdaniel merged 2 commits into
mainfrom
general/workflow-release-2.42.0

Conversation

@rmcdaniel

Copy link
Copy Markdown
Member

Prepares Workflow 2.42.0 with everything merged since 2.41.0:

All of this adds public API, so the release is a minor version. #1309 is not merged and isn't included.

The changes are composer.json extra.durable-workflow.product-train = 2.42.0 and a CHANGELOG.md section. docs/api-stability.md has no "Unreleased" markers for this release, so it is unchanged, as in the 2.40.0 prep.

CHANGELOG review. I checked every entry against git log --first-parent 2.41.0..origin/main:

Upgrade notes at the top of the section cover:

No timeout-cleanup mixed-queue note: embedded timeout cleanup runs only with queue dispatch. Bridge claims of opted-in runs still return timeout_cleanup_not_supported, so no external SDK worker gets a cleanup turn from this package. #1304 changed documentation only.

Checks on the release tree:

  • git archive of the prep commit identifies itself as durable-workflow/workflow with product train 2.42.0. It contains the new classes (WorkflowLogger, WorkflowReplayState, UpdateValidator, Interceptors\WorkerInterceptor, DeadlineCloseBudget).
  • composer validate --strict passes.
  • The archived source, with the repository tests copied in, passes these tests on PHP 8.4:
    • unit tests on SQLite: WorkflowFiberRunnerEntryCarrierTest, WorkflowFiberRunnerTest, WorkflowFiberContextUpdateValidatorTest, CompletionWriteFamilyBudgetTest, IdempotentProjectionUpsertTest and PlatformConformanceSuiteTest (172 tests, 1,588 assertions);
    • feature tests on PostgreSQL 16 with Redis: V2ReplayAwareWorkflowLoggerTest, V2BridgeRunnerReplayLoggingTest, V2UpdateValidatorTest, V2UpdateValidationInterceptorTest and V2WorkerInterceptorTest (36 tests, 308 assertions).

After merge, the commit gets an annotated tag 2.42.0. Release Verification runs on the tag push, and the GitHub release and Packagist publication are checked as for 2.41.0.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel rmcdaniel added the agent:general Work owned by General label Nov 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rmcdaniel

Copy link
Copy Markdown
Member Author

Independent review: PASS at d740d36

A reviewer in a fresh context checked this prep against #1298 and the code: PASS at a67700c, then PASS at d740d36 after the wording edits.

  • The files and bump follow 2.41.0: the CHANGELOG section and composer.json product-train 2.42.0. docs/api-stability.md needs no edit, because Add a replay-aware workflow logger #1296 already listed logger()/replayState()/isReplaying() there and the interceptor and runner classes are not @api.
  • All 16 first-parent merges since 2.41.0 are covered (Close the interceptor review items (#226) #1303 is tests and docs only). Read the same clock after inline steps on first execution and replay #1309 is not merged and not claimed. There is no migration.
  • Every claim was checked in code: the logger, validators (update_validator_rejected, the webhook 503, definition errors), the interceptor order, executeUpdateValidation and replayState() scope, the bridge exclusions, the entry carrier, the deadline-close backoff (10 s doubling to 3600 s), and keepEquivalentJson.
  • SemVer: deadlineCloseBatchSize() was an unmarked Support\* helper, which api-stability.md allows to change in a minor release. It has no callers outside this package.
  • The upgrade note names all seven methods Workflow gains. The incompatible-signature fatal error and the compatible override were verified on php:8.3.

Blocking: none. Non-blocking: "contexts' replayState() returns" should be "return".

@sonarqubecloud

Copy link
Copy Markdown

@rmcdaniel
rmcdaniel merged commit d248561 into main Nov 26, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:general Work owned by General

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant