ops: replace the Procfile with a platform-side startCommand override (Railpack deprecates Procfiles)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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).
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 13m
- PR unite (30g)
- 62
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nyjc-computing/campus-admin
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
nyjc-computing/campus-admin#105 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nyjc-computing/campus-admin#96 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nyjc-computing/campus-admin#16 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 43/100
nyjc-computing/campus-admin#83 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nyjc-computing/campus-admin#72 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nyjc-computing/campus-admin
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 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)Forse già presa @rahul05ranjan l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
pallets-eco/croniter#309 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/Gitcord-GithubDiscordBot#248 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
[Bug]: MLX text downloads omit the requested Hub token and cache directoryForse già presa @abhijithneilabraham l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/vllm-metal#1423 ·
I maintainer di solito rispondono entro 1 giorno