WordPress / WordPress/php-toolkit
Blueprints: ability to ignore failed resource requests
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 61
- Forks
- 21
- Avg merge
- 19h 34m
- Merged PRs (30d)
- 7
Description
There isn't currently a way to tolerate a request failure when executing a Blueprint. This affects the GlotPress Playground in that it cannot proceed if a plugin has no translation file. Let's add a syntax similar to:
{
"resource": "url",
"url": "...",
"onFailure": "ignore" | "error" | { "resource": "url" /* ... */ }
}
cc @akirk
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
No files or tests are named. Start by locating the Blueprint resource-request execution entry point and existing failure handling, then trace how resource definitions are parsed. Done means the proposed onFailure forms are supported consistently, including ignored failures and the stated error or fallback behavior, with coverage for each form.
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
- 32/100