Show original error when a recipe fails and rolls back instead of the config importer error

Created on 27 October 2024, 5 months ago

Problem/Motivation

When a recipe application fails, usually due to a config validation error, the error message that is displayed is unrelated to the actual issue, like text formats or editor plugins.

@phenaproxima pointed out on Slack:

Normally, when that happens, the recipe runner tries to roll back the changes - this is done using the config importer. The problem is that the config importer is also failing, and youโ€™re only seeing that error, not the original error that triggered the rollback. Itโ€™s a flaw in the drupal recipe command.

Steps to reproduce

TBD

Proposed resolution

Improve the clarity of the command, but also fix the underlying core bug which causes that specific rollback error.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

recipe system

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States thejimbirch Cape Cod, Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024