Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

HTTP cache purge failures: logged after writes, loud from the purge command and endpoints

クローズ
#90 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
領域
api, backend, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

documentation

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-html prints the reason and exits 1 when the purge fails, so a deploy script can rely on it.
  • POST /_/rendered_html/purge and POST /_/http_cache/purge return 502 when the cache fails or can't be reached.
主要言語
Vue
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

components-web-app/docs のほかの issue

components-web-app/docs の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。