WordPress / WordPress/php-toolkit
Blueprints: Add step option "optional" to indicate they're optional (next steps allowed to continue if they fail)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 61
- Forks
- 21
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 7
Description
What
Currently when running Blueprint steps, if any step fails the entire thing stops with an error. In some situations it's helpful to allow optional or "fail-able" steps.
The feature was suggested in the context of plugin and theme install steps (#605), but it seems useful if we can implement for any step type.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Blueprint step execution entry point and read how failures currently stop subsequent steps. Define the optional step behavior so an optional failure permits later steps to continue while existing failure behavior remains unchanged for other steps. Done means the option works for any step type and is covered by the relevant tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100