Serve GET /health (#842 convention)

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

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

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

評価

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

調査の方向性

まずアプリのルート定義を見つけ、既存のGETルートがプレーンテキストのレスポンスをどのように返すか確認します。指定された200レスポンス"ok"を返すルート直下のGET /healthエンドポイントを追加し、ストレージや下流サービスは確認しません。/healthへのリクエストがそのステータスとボディを正確に返すことを確認します。

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

説明

campus-admin 404s on GET /health (verified 2026-11-25), breaking the fleet-wide #842 convention: every deployment serves GET /health — a plain liveness answer that never touches storage or downstream services.

Why it matters:

  • Railway healthchecks (#1107) key off it: without /health, a deploy that boots but 500s on every request is indistinguishable from a healthy one (the exact #1107 incident mode).
  • The gateway and test harness treat /health as the common liveness endpoint (campus#1274 topology; harness standardization tracked on campus).

Ask: add a GET /health route returning 200 "ok" (app root — no prefix).

主要言語
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 を短くまとめたダイジェスト。