Skip to content

Fix workflow foreground drain isolation#456

Merged
chubes4 merged 1 commit into
mainfrom
fix/455-run-scoped-action-groups
Jul 21, 2026
Merged

Fix workflow foreground drain isolation#456
chubes4 merged 1 commit into
mainfrom
fix/455-run-scoped-action-groups

Conversation

@chubes4

@chubes4 chubes4 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • assign newly dispatched workflow runs durable run-specific Action Scheduler groups
  • make foreground awaiters claim only the requested run, including strict HybridStore behavior
  • preserve group and branch-store state across multiple fan-outs and guard resume actions by suspension generation
  • retain the shared agents-api group for pre-upgrade in-flight runs without a mapping
  • fall back to inline resume when durable resume enqueue fails

Verification

  • composer test
  • composer phpstan
  • php tests/workflow-as-branch-smoke.php
  • php tests/workflow-run-awaiter-smoke.php
  • php tests/workflow-scoped-drain-smoke.php

Fixes #455

@chubes4
chubes4 merged commit 9ef11e4 into main Jul 21, 2026
3 checks passed
@chubes4
chubes4 deleted the fix/455-run-scoped-action-groups branch July 21, 2026 15:33
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.

Scope foreground workflow drains to the requested run

1 participant