Skip to content

#307 - Write the buffered logs at the end of the process of the execution only - #308

Merged
njoubert-cleverage merged 2 commits into
mainfrom
307
Nov 6, 2026
Merged

njoubert-cleverage merged 2 commits into
mainfrom
307

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #307:

  • ProcessEventSubscriber::flushDoctrineLogs() no longer flushes at the end (or failure) of a sub-process of the current execution; without a current execution the flush is kept;
  • documentation of the logs.

Measured with the demo project (5000 process_executor calls): 10,003 commits before, 23 with this PR and the two other log PRs.

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

None.

🤖 Generated with Claude Code

…tion only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 6, 2026 13:15
@njoubert-cleverage
njoubert-cleverage merged commit f969f34 into main Nov 6, 2026
23 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.

Logs written to the database at the end of each sub-process (one transaction per ProcessExecutorTask call)

1 participant