Aggregate features support "early_out": "first_failure" for stopping the sequential placement of given features when a feature fails. This is broken: entries after the first one that fail don’t stop later entries from being attempted. Although untested, it is believed sequence features suffer from the same problem.
Demonstration
The attached video demonstrates this issue. A command is used to place an aggregate feature that would place obsidian, then a glowstone above that, then planks above that using the first_failure early-out scheme. But the glowstone is configured with a condition that won’t match: "may_attach_to": {"bottom": "minecraft:grass_block”}. Nevertheless, the planks are placed.
Reproduction
The demo video is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.
Thank you for helping us improve Minecraft! We saved your files: