HTTP cache purge failures: logged after writes, loud from the purge command and endpoints
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
The issue references a source PR (#314) in another repository (components-web-app/api-components-bundle). Start by examining that PR to understand the changes to logging, the purge command (silverback:api-components:purge-rendered-html), and the HTTP endpoints (POST /_/rendered_html/purge, POST /_/http_cache/purge). Look for error handling and HTTP status code updates. 'Done' means the purge failures are logged appropriately, the command exits with code 1 on failure, and the endpoints return a 502 status.
Written by the indexing model from the issue text.
Description
Source: components-web-app/api-components-bundle#311 (PR #314)
- A cache purge that fails after a write is logged at error level (with its tags). The write still returns its normal response and Mercure still publishes. Stale content may stay cached until fixed, so alert on that log.
silverback:api-components:purge-rendered-htmlprints the reason and exits 1 when the purge fails, so a deploy script can rely on it.POST /_/rendered_html/purgeandPOST /_/http_cache/purgereturn 502 when the cache fails or can't be reached.
- Dominant language
- Vue
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
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.
More from components-web-app/docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
components-web-app/docs#91 ·
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 85/100
components-web-app/docs#88 ·
-
documentation
Difficulty 3/5 1-2 days Newbie friendliness 70/100
components-web-app/docs#89 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
components-web-app/docs#1 · 2 comments ·
All issues in components-web-app/docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
external-issue to-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
googleapis/google-cloud-swift#1151 ·
-
external
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
langchain-ai/langgraph#9074 · 1 comment ·
-
documentation specification
Difficulty 1/5 Under an hour Newbie friendliness 90/100
openai/openai-openapi#584 ·