Repository navigation
[v6] #292 - Reject the process configuration errors deprecated during v5 - #518
Merged
Merged
Conversation
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>
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
errorstask configuration key removed (deprecated since 5.4):Unrecognized option "errors", useerror_outputs.TaskConfiguration::getErrors()and$logErrorsare removed too; the protectedProcessConfigurationRegistry::checkTaskReferences()loses its$errorOutputsKeysargument;error_strategyother thanskip/stopfails the container compilation (InvalidConfigurationException). The node stays ascalarNodechecked inloadExtension()rather than anenumNode: anenumNoderejects%env()%placeholders (The value "env_…_APP_ERROR_STRATEGY_…" is not allowed), so a value given by an environment variable is still checked at runtime (Unknown error strategy);outputs/error_outputsof a task or in theentry_point/end_pointof a process fails the container compilation (InvalidProcessConfigurationException, same message as at runtime); a reference given by an environment variable is checked when the process is resolved;outputs/error_outputsof a task throws anInvalidProcessConfigurationExceptionwhen the process is resolved (newcreateDuplicateTaskReference()factory);InvalidArgumentExceptionnaming the service, the tasks and the process, as in 5.5);DeprecatedCodeAliasesand the second argument of theTransformerRegistryconstructor are removed.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
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;errorskey,TaskConfiguration::getErrors()/$logErrors,DeprecatedCodeAliasesand the former dashed names removed;TransformerRegistryconstructor takes only the locator.🤖 Generated with Claude Code