Skip to content

#382 - Deprecate a shared service used by several tasks of a process instead of rejecting it at compile time - #384

Closed
njoubert-cleverage wants to merge 1 commit into
5.5from
382
Closed

njoubert-cleverage wants to merge 1 commit into
5.5from
382

Conversation

@njoubert-cleverage

@njoubert-cleverage njoubert-cleverage commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Description

Fixes #382.

Backward compatibility break of 5.5 (#339): a shared service referenced by several tasks of the same process made the container compilation fail, while this configuration worked in 5.4.

  • TaskLocatorCompilerPass: a deprecation (since 5.5.1) naming the service, the tasks and the process instead of the InvalidArgumentException. The tasks run again with the same instance, as before 5.5. The rejection is for 6.0.
  • UPGRADE.md: new point in the top section; the v5.5 section points to it. 03-custom_tasks.md and 05-good_practices.md updated.

Requirements

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

Breaking changes

None: it restores the behaviour of 5.4, with a deprecation.

🤖 Generated with Claude Code

…instead of rejecting it at compile time, reject it in 6.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage

Copy link
Copy Markdown
Member Author

Replaced by #385 (base main): the 5.5 branch was deleted, the next release (5.5.1) is made from main.

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