Skip to content

#481 - A stop only stops the flow it happened in - #482

Merged
njoubert-cleverage merged 1 commit into
mainfrom
481
Nov 6, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
481

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #481:

  • ProcessManager::processExecution() resets the stopped flag of the state at each execution (also proceed and flush): the outputs of another root task, of a blocking task proceeded or of a flushable task flushed after the stop go on through the tasks of the stopped flow;
  • an iterable task whose iteration has been interrupted by the stop stays stopped (restarting it would resume its former iteration), as a task whose initialization has failed (deprecated);
  • 04-advanced_workflow.md and UPGRADE (A stop only stops its flow).

Checked locally: highest dependencies (PHP 8.5.12), with pcov coverage: all tests OK, no risky; PHPStan, PHP-CS-Fixer and Rector OK.

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

Outputs that were dropped silently after a stop now go on through the tasks of the stopped flow, as documented (see UPGRADE).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage merged commit bdc81ae into main Nov 6, 2026
17 checks passed
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.

The stopped flag is never reset: later flows through a stopped task are dropped silently

1 participant