ops: replace the Procfile with a platform-side startCommand override (Railpack deprecates Procfiles)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 13m
- Merged PRs (30d)
- 62
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nyjc-computing/campus-admin
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nyjc-computing/campus-admin#105 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nyjc-computing/campus-admin#96 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nyjc-computing/campus-admin#16 ·
Maintainers usually reply within 1 day
-
documentation enhancement
Difficulty 4/5 3-5 days Newbie friendliness 43/100
nyjc-computing/campus-admin#83 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
nyjc-computing/campus-admin#72 ·
Maintainers usually reply within 1 day
All issues in nyjc-computing/campus-admin
Similar issues
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ARTPARK-SAHAI-ORG/calibrate-frontend#919 ·
Maintainers usually reply within 1 day
-
CI: MSYS2 jobs fail — mingw python3 package renamed upstream to pythonPossibly taken @ronaldtse claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
pydantic/pytest-examples#102 · 1 comment ·