ops: replace the Procfile with a platform-side startCommand override (Railpack deprecates Procfiles)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
Read the existing Procfile and compare its command with the requested Railway startCommand. Set that override in both dev and prod, then arrange a forced deploy because setting the value does not redeploy automatically. After verifying both environments use the dual-stack command, submit a PR deleting the Procfile; confirm the deployed behavior remains unchanged.
索引モデルが issue の本文から書いたものです。
説明
Operator decision 2026-11-27 (fleet-wide, recorded on nyjc-computing/campus#1295): gunicorn start commands are owned platform-side — a Railway startCommand instance override per environment — not by in-repo Procfiles: Railpack deprecates Procfiles (https://railpack.com/config/procfile), and a Procfile-defined start command silently breaks if Railpack ever drops that support. This supersedes the mechanism #94 shipped (PR #98 added the dual-stack Procfile; the dev instance override was then dropped so "the repo owns its start command"). The dual-stack bind itself is unchanged and stays fleet rule (campus docs/railway-architecture.md — the mesh is IPv6-only).
Current state (checked 2026-11-27)
- dev
campus-admin: no override — Procfile-driven dual-stack bind. - prod
campus-admin: still the pre-cutover IPv4-only override/bin/sh -c "gunicorn --bind 0.0.0.0:$PORT --preload main:app --threads 8"— unreachable over the mesh today (the prod gateway's/admin/route isn't wired yet, so it hasn't surfaced). Flipping this override is the same one-line change and fixes the latent break ahead of nyjc-computing/campus#1293.
Action
-
Set the instance
startCommandin both environments, mirroring today's Procfile verbatim (minus theweb:prefix):gunicorn --bind "[::]:${PORT:-8080}" --preload --workers 2 --threads 8 --timeout 120 --graceful-timeout 30 --access-logfile - --error-logfile - main:appGUNICORN_CMD_ARGSkeeps working exactly as before — gunicorn reads it regardless of how the command is launched. -
PR deleting the Procfile (template: nyjc-computing/campus-profile#82 — the same flip just done for campus-profile: profile#71 → profile PR #82).
Mechanics (learned on campus-profile): setting a startCommand value does not auto-redeploy — force a deploy (dashboard, or the serviceInstanceDeploy GraphQL mutation with latestCommit: true); clearing an override needs the empty string (API null is a silent no-op). Overrides take precedence over the Procfile, so step 2 is behavior-neutral.
The endgame is unchanged: when these services get proper deployment repos, migrate to railpack.json deploy.startCommand and drop the overrides (nyjc-computing/campus-profile#71 fleet note).
Supersedes the ownership outcome of #94 (the bind fix itself remains in place).
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 13分
- マージ済み PR(30日)
- 62
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nyjc-computing/campus-admin のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
nyjc-computing/campus-admin#105 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nyjc-computing/campus-admin#96 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nyjc-computing/campus-admin#16 ·
メンテナーはふだん 1 日以内に返信
-
documentation enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
nyjc-computing/campus-admin#83 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nyjc-computing/campus-admin#72 ·
メンテナーはふだん 1 日以内に返信
nyjc-computing/campus-admin の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 73/100
-
day_or=True union silently becomes the ISC cron AND bug when a day field expands to its full range (e.g. '0 0 */1 * */2' fires only Sun/Tue/Thu/Sat)対応中かも @rahul05ranjan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
pallets-eco/croniter#309 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/Gitcord-GithubDiscordBot#248 · コメント 1 件 ·
メンテナーはふだん 4 日以内に返信
-
[Bug]: MLX text downloads omit the requested Hub token and cache directory対応中かも @abhijithneilabraham が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/vllm-metal#1423 ·
メンテナーはふだん 1 日以内に返信