Health endpoint GET /_/health for readiness checks
まだ誰も着手していません。
評価
調査の方向性
The health endpoint needs to be added to the routing in routing/all.php. Start by examining the existing API routes and the access control configuration. Implement a controller or handler that performs a dummy database select and returns the appropriate JSON response with the correct HTTP status codes and cache headers. Test the endpoint to ensure it works without authentication and is excluded from caching.
索引モデルが issue の本文から書いたものです。
説明
Source: components-web-app/api-components-bundle#312 (PR #315)
GET /_api/_/health (the /_/health route under the application's API prefix):
200 {"status":"ok"}after a dummy select on the default database connection;503 {"status":"unavailable","reason":"database"}otherwise.- Never cached (
Cache-Control: no-store), no surrogate keys, no session; cheap enough to probe every few seconds. Use it for Docker/compose healthchecks and Kubernetes readiness probes, and exclude it from Souin's cache. - Imported through
routing/all.php. An application whoseaccess_controlrequires login for every GET must allow it:{ path: ^/_api/_/health, roles: PUBLIC_ACCESS }. - Only the database is checked; optional services (Mercure, the cache) don't fail it.
- 主要言語
- Vue
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
components-web-app/docs のほかの issue
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
components-web-app/docs#99 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
components-web-app/docs#98 ·
-
documentation
難易度 2/5 1〜2日 初心者へのやさしさ 72/100
components-web-app/docs#97 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
components-web-app/docs#96 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
components-web-app/docs#95 ·
components-web-app/docs の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
vllm-project/vllm-metal#822 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BasedHardware/omi#19047 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ditto-assistant/ditto-subnet#2346 ·
メンテナーはふだん 1 日以内に返信