Repository navigation
Document worker interceptors for PHP, Rust and embedded Laravel - #618
Conversation
Add worker-interceptor sections with an audit-logging example to the PHP SDK and Rust SDK guides and to the embedded Publishing Config page (workflows.v2.interceptors). Each covers the hook table, ordering, determinism rules and configuration, sourced from sdk-php docs/sdk-reference.md, sdk-rust README.md and examples/audit_interceptor.rs, and workflow docs/worker-interceptors.md. Availability is described as the next release of each package. Translate the new sections into all seven locales and record the reviewed source hashes. Refs durable-workflow/.github#226 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent docs review: CHANGES REQUESTED at 79ec941 A reviewer in a fresh context checked every claim against current main of workflow (964f6d14), sdk-php (8357f21) and sdk-rust (4faef77). Verified
BLOCKING
Non-blocking
|
Add executeUpdateValidation (PHP SDK and embedded Laravel) and execute_update_validation_task (Rust) to the worker interceptor guides, with their outcome fields and the rules that keep the validator's own decision. List replayState() in the PHP and embedded context tables. Translate the additions into all seven locales and record the new reviewed-source hashes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent docs review: PASS at 5ae290b (re-review) The same reviewer re-checked the diff 79ec941..5ae290b against current main of workflow (12fc6b76), sdk-php (9ced5eb) and sdk-rust (4faef77).
Non-blocking: |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Workflow 2.42.0, PHP SDK 3.32.0 and Rust SDK 4.25.0 are the first releases with worker interceptors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent docs review: PASS at b482385 (re-review after the version fill-in). 'in Workflow 2.42.0 and later', 'PHP SDK 3.32.0 and later' and 'Rust SDK 4.25.0 and later' match each changelog, and no interceptor files exist at the previous tags. |
Resolves the source-hashes.json conflicts with #617 by taking main's entries and recording the merged English sha256 for the three guides this branch changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Resolves the source-hashes.json conflicts with #618 by taking main's entries and recording the merged English sha256 for the guides this branch changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>



Adds worker-interceptor sections, each with an audit-logging example, to three guides. Part of durable-workflow/.github#226.
Released versions. Worker interceptors first ship in Workflow 2.42.0, PHP SDK 3.32.0 and Rust SDK 4.25.0 (checked against each changelog at its release tag). The guides name those versions in English and all locales.
Sources
docs/sdk-reference.mdREADME.md, andexamples/audit_interceptor.rsdocs/worker-interceptors.mdChanges
docs/polyglot/php.md: new section## Worker interceptors {#worker-interceptors}. It has the audit interceptor, the hook table, the ordering rule, the determinism rules, the activity and query rules, and a{#worker-interceptor-configuration}subsection. That subsection covers PSR-11 container resolution and the Laravel and Symfonyworker.interceptorssettings.docs/polyglot/rust.md: new section## Worker interceptors {#worker-interceptors}. It has theAuditLogexample (taken from the README), a link toexamples/audit_interceptor.rs, the hook table, the context contents, the ordering rule, the determinism rules and theWorkflowEnvironmentnote.docs/configuration/publishing-config.md: new section## Worker interceptors {#worker-interceptors}for embedded Laravel. It covers theworkflows.v2.interceptorsconfig, theDB::afterCommitaudit interceptor, the hook table, the determinism rules, the tracing order, the task bridges, and how an entry that cannot be resolved fails. This page already documents the other class-valuedconfig/workflows.phpextension points, such as the history export redactor.{#...}anchors are unchanged.source-hashes.jsonis updated.Checks run locally
node scripts/check-doc-translations.jswithDOCS_TRANSLATION_BASE=<origin/main>: 3 changed guides match their reviewed English sources in all seven locales. Code blocks match English in all 112 guides.node scripts/check-doc-translation-updates.test.js,node scripts/check-localized-links.test.jsandnpm testpass.🤖 Generated with Claude Code