-
Notifications
You must be signed in to change notification settings - Fork 0
Replace stale PHP generator consumers with the Fiber workflow contract #45
Copy link
Copy link
Open
Labels
authority:githubGitHub is the authoritative lifecycle record for this workGitHub is the authoritative lifecycle record for this workcompletion:evidence-requiredClose only after all explicit acceptance and operational evidence is publicClose only after all explicit acceptance and operational evidence is publickind:cross-repositoryWork spans more than one public repositoryWork spans more than one public repositorykind:defectA public product behavior is incorrectA public product behavior is incorrectkind:release-blockerA release cannot proceed until this issue is resolvedA release cannot proceed until this issue is resolvedpriority:P0Immediate release or data-integrity riskImmediate release or data-integrity riskrepo:documentationOwned by the public documentation repositoryOwned by the public documentation repositoryrepo:sample-appOwned by the sample application repositoryOwned by the sample application repositoryrepo:serverOwned by the standalone server repositoryOwned by the standalone server repositorystatus:readyReady for implementationReady for implementation
Description
Metadata
Metadata
Assignees
Labels
authority:githubGitHub is the authoritative lifecycle record for this workGitHub is the authoritative lifecycle record for this workcompletion:evidence-requiredClose only after all explicit acceptance and operational evidence is publicClose only after all explicit acceptance and operational evidence is publickind:cross-repositoryWork spans more than one public repositoryWork spans more than one public repositorykind:defectA public product behavior is incorrectA public product behavior is incorrectkind:release-blockerA release cannot proceed until this issue is resolvedA release cannot proceed until this issue is resolvedpriority:P0Immediate release or data-integrity riskImmediate release or data-integrity riskrepo:documentationOwned by the public documentation repositoryOwned by the public documentation repositoryrepo:sample-appOwned by the sample application repositoryOwned by the sample application repositoryrepo:serverOwned by the standalone server repositoryOwned by the standalone server repositorystatus:readyReady for implementationReady for implementation
Problem
The framework-neutral PHP SDK now uses Fiber-backed straight-line workflow handlers and intentionally rejects generator-returning handlers. Several first-party consumers still register service-mode PHP workflows with
Generatorreturn types andyield $context->...calls:Against the current published PHP SDK, those workers fail before their first durable operation with
Workflow handlers must call WorkflowContext operations directly; Generator results are not supported.This both blocks release-critical evidence and teaches an unsupported 2.0 API.Acceptance criteria
WorkflowContextcalls and ordinary return values.Generatorreturn types oryield $context->...syntax in supported 2.0 service-mode PHP surfaces.Required source targets
durable-workflow/server@main
durable-workflow/sample-app@main
durable-workflow/durable-workflow.github.io@main