Skip to content

#234 - Notifications: a process stopped by a StopTask with reported log levels triggers finish_with_report - #237

Merged
njoubert-cleverage merged 1 commit into
mainfrom
234
Nov 2, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
234

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #234.

Change of 3.4 (#220): a process stopped on purpose by a StopTask gets the stopped status, not notified by default, while it ended as finish_with_report (notified by default) before 3.4 when it had logged warnings or errors.

  • NotificationTrigger::fromProcessExecution(): a stopped execution with log levels counted in its report triggers finish_with_report (importance medium, notified by default). Without such log levels, it still triggers stopped.
  • A stop requested from the UI (ProcessExecution::isStopRequested()) still triggers stopped: it ends with a process failure, logged as Critical and counted in the report, which would otherwise notify every stop from the UI.
  • The notification content still shows Status: stopped.
  • UPGRADE.md (new v3.4.1 section: stopped can be removed from the notified statuses if it was added for 3.4), 09-notifications.md and 01-bundle_configuration.md (also fixes the statuses description, which said "stopped from the UI" only).

CI: the highest test jobs fail on main because of an unrelated test (#235, fixed by #236), and the Quality job because of a new Rector rule.

Requirements

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

Breaking changes

None: the stops with reported log levels are notified again by default, as before 3.4.

🤖 Generated with Claude Code

@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 2, 2026 11:16
… in its report as finish_with_report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage merged commit 087b5d4 into main Nov 2, 2026
25 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.

A process stopped on purpose by a StopTask after logging errors is no longer notified by default

1 participant