add GET /health (#842 fleet convention) and point the Railway healthcheckPath at it

オープン 初心者向け
#105 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
67/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend, devops

調査の方向性

両方のインスタンスのルート設定とRailwayの構成を読み、#842で参照されているヘルスエンドポイントの規約と比較します。公開JSONルート GET /health を追加し、マージ後に各Railwayインスタンスで healthcheckPath: /health を設定します。両方のデプロイでこのパスが使われ、ヘルスチェックが成功すれば完了です。

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

説明

chore

Fleet convention (#842): every app serves GET /health. campus-admin doesn't — which surfaced today when the #97 remap turned / into a redirect and the deployment healthcheck (configured as healthcheckPath: /) failed it, rolling back both environments until the check was re-pointed to /admin (a page probe — heavier than a JSON health read, and coupled to the home route staying public/200).

Ask: add the GET /health route (public, JSON, per the #842 convention used by auth/api/audit/gateway and the downstream apps), then set healthcheckPath: /health on both Railway instances. Steps 2 happens on the platform side after merge (healthcheckPath is an instance setting; the campus-profile#71 session has the GraphQL mechanics).

主要言語
Python
スター
0
フォーク
0
平均マージ
13分
マージ済み PR(30日)
62

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

nyjc-computing/campus-admin のほかの issue

nyjc-computing/campus-admin の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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