Recipes should support skipping config actions on entities that don't exist

Created on 14 October 2025, 5 days ago

Problem/Motivation

There are cases where a recipe needs to do config actions on an entity...if, and only if, it exists. If the entity doesn't exist, the config actions should obviously be bypassed.

Recipes should have an explicit syntax for this, enabling smooth and optional integrations.

Proposed resolution

Syntax like this:

config:
  actions:
    canvas.component.block.simple_search_form_block?:
      # SOME ACTIONS HYAR

Remaining tasks

Implement this with test coverage.

User interface changes

None.

Introduced terminology

None.

API changes

Recipes will receive new syntax.

Data model changes

None.

Release notes snippet

TBD, but it'll need a change record.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

recipe system

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Merge request !13483add optional flag β†’ (Open) created by bircher
  • Pipeline finished with Failed
    5 days ago
    Total: 497s
    #627769
  • Pipeline finished with Failed
    4 days ago
    Total: 532s
    #628432
  • Pipeline finished with Canceled
    4 days ago
    Total: 520s
    #628453
  • Pipeline finished with Canceled
    4 days ago
    Total: 460s
    #628467
  • Pipeline finished with Failed
    4 days ago
    Total: 430s
    #628473
  • Pipeline finished with Canceled
    3 days ago
    Total: 125s
    #629763
  • Pipeline finished with Canceled
    3 days ago
    #629765
  • Pipeline finished with Success
    3 days ago
    Total: 2685s
    #629767
  • Pipeline finished with Failed
    2 days ago
    Total: 582s
    #630836
  • Pipeline finished with Canceled
    1 day ago
    Total: 1330s
    #630951
  • Pipeline finished with Success
    1 day ago
    Total: 682s
    #630988
Production build 0.71.5 2024