Skip to content

[v6] #292 - Reject the process configuration errors deprecated during v5 - #518

Merged
njoubert-cleverage merged 1 commit into
dev-v6from
292-2
Dec 2, 2026
Merged

njoubert-cleverage merged 1 commit into
dev-v6from
292-2

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Part of #292 (lot 2: validation of the process configurations and former dashed names). Lot 1 is #517; the remaining items (#222, the task / transformer options, the class and API removals) follow in later pull requests, #371 is tracked by #380.

Upgrade notes: UPGRADE.md, ## v6.0, "Validation of the process configurations" and "Dashes in the codes".

Checked against the 166 process configurations of the demo application and of the bridges: none uses a removed form.

Requirements

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

Breaking changes

Major (v6.0): invalid process configurations (unknown error_strategy, unknown task references, shared task services used twice in a process) fail the container compilation; duplicate task references throw; errors key, TaskConfiguration::getErrors() / $logErrors, DeprecatedCodeAliases and the former dashed names removed; TransformerRegistry constructor takes only the locator.

🤖 Generated with Claude Code

Lot 2 of #292:
- the errors task configuration key is removed (use error_outputs), with TaskConfiguration::getErrors() and
  $logErrors;
- an unknown error_strategy (#310) and an unknown task reference (#426) fail the container compilation (a value given
  by an environment variable is checked at runtime);
- a task listed several times in the outputs / error_outputs of a task throws an InvalidProcessConfigurationException
  (#414);
- a shared service used by several tasks of a process fails the container compilation (#382);
- the former names of the codes with a dash, with underscores, are no longer found (#412, #475): processes, tasks,
  generic transformers, transformer codes and contextual options of the generic transformers; DeprecatedCodeAliases
  and the second argument of the TransformerRegistry constructor are removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner December 2, 2026 13:41
@njoubert-cleverage njoubert-cleverage added this to the v6.0 milestone Dec 2, 2026
@njoubert-cleverage
njoubert-cleverage merged commit 3a97e7a into dev-v6 Dec 2, 2026
15 checks passed
@njoubert-cleverage
njoubert-cleverage deleted the 292-2 branch December 2, 2026 13:43
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