Skip to content

cleverage/ui-process-bundle#143 - Add demo.ui.stop - #79

Merged
njoubert-cleverage merged 1 commit into
mainfrom
ui-process-bundle-143
Oct 13, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
ui-process-bundle-143

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Demonstration of cleverage/ui-process-bundle#143 (stop a running process execution from the UI) and cleverage/ui-process-bundle#144 (not responding executions), implemented by cleverage/ui-process-bundle#146, relying on cleverage/process-bundle#266 (stop checkers, released in v5.3).

bin/console cleverage:process:execute demo.ui.stop -vv   # or launch it from the UI

demo.ui.stop iterates over 60 items, waiting 1 second for each one (CallbackTransformer calling usleep), so about 1 minute without stop request:

  • While it runs, "Process > Executions" > "Stop the process" (confirmed): "Stop requested" is displayed, and the execution gets the stopped status before its next item, ~5 s later at most (process_execution.heartbeat_interval) (checked, also with a stop request written directly in the database).
  • Killed during the run (kill -9): the execution stays started; once older than process_execution.stale_after (900 s, simulated by moving the heartbeat back in the database), it is displayed as "Not responding" and "Mark as failed" sets it failed, ended at its last heartbeat (checked).

Requires cleverage/ui-process-bundle#146 (and process-bundle v5.3): without it, the process runs to its end and there is no "Stop" action.

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None (new demo process only).

🤖 Generated with Claude Code

Slow process (60 items, 1 second each) to stop from the UI ("Stop the process"
action of the executions list), or to kill to see a "Not responding" execution
(cleverage/ui-process-bundle#144).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage merged commit 671121b into main Oct 13, 2026
17 checks passed
@njoubert-cleverage
njoubert-cleverage deleted the ui-process-bundle-143 branch October 13, 2026 13:19
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.

1 participant