Skip to content

#84 - Reference the tasks by their code (task: <code>) in the process configurations - #85

Merged
njoubert-cleverage merged 1 commit into
mainfrom
84
Oct 21, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
84

Conversation

@njoubert-cleverage

@njoubert-cleverage njoubert-cleverage commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Description

Fixes #84: reference the tasks by their code (task: <code>, cleverage/process-bundle#91) instead of their deprecated service (service: '@<task class>') in all the demo processes.

Draft until the releases: the task key is unknown to process-bundle 5.3 (the version of composer.lock), so the CI fails until process-bundle 5.4 and the bridges with task codes are released. Then, in this PR: require cleverage/process-bundle: ^5.4 and the new bridge minors, and update composer.lock.

Checks (vendor/cleverage/* on their main branches)

  • bin/console cache:clear, lint:container, cleverage:process:list --all (121 processes), cleverage:process:help: OK, no deprecation of process-bundle when the container is compiled (427 before).
  • 25 demo.archive.*, demo.cache.* and demo.doctrine.* processes executed (first version): the expected ones succeed, only the failure demos fail (*_invalid*, *_failure, unzip_not_a_zip, detacher_null_input); no task deprecation in var/log/dev.log.
  • After the rebase, 14 processes without side effects: demo.wiremock.get_json / error_codes / post_json, demo.error_forwarder, demo.transformer, demo.event_dispatcher, demo.process_launcher, demo.blocking.*, demo.input_aggregator.* succeed; demo.transformers_edge.slugify fails as expected (invalid transliterator).

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None.

🤖 Generated with Claude Code

… configurations

Replace the deprecated service references of the tasks
(service: '@<task class>', cleverage/process-bundle#91) by their code,
declared by the cleverage.task tag of process-bundle and the bridges.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage marked this pull request as ready for review October 21, 2026 13:07
@njoubert-cleverage
njoubert-cleverage merged commit 0a3e6f1 into main Oct 21, 2026
19 of 20 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.

Reference the tasks by their code (task: <code>) in the process configurations

1 participant