Adopt gateway downstream routing in production
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 5/100
Research direction
This is a superadmin-only production rollout runbook, not a newcomer task: it depends on dev cutover, mesh-bind fixes in four downstream repos, and prod access. The payload names docs/railway-variables.md and docs/railway-architecture.md as the files to update alongside the change, plus the campus-gateway service's ten HOST/PORT variables. Done means prod routes the downstream apps on the suffix-less domains and both docs match the live state.
Written by the indexing model from the issue text.
Description
Operator decision 2026-11-25: adopt the gateway downstream routing in production after dev proves out. Production is superadmin-only (environment-access policy) — all steps below run from a sanctioned superadmin session, and code reaches prod only via the weekly → main release PR.
Conditions before starting
- Dev cutover proven per app: namespaced auth surfaces live (flask_campus mount prefix shipped + repins), distinct session cookie names shipped, and each app's gateway-anchored login verified E2E on dev (see the registry/origin prerequisites issue for the per-app additive-then-flip ordering).
- Mesh-bind fixes merged in the four downstream repos (campus-classroom#152, campus-admin#94, campus-profile#58, nyxchange-timetable-v2#179) so prod instances can be bound dual-stack from their own definitions instead of instance overrides.
- campus-admin remap (
/admin/<platform>) and the landing page shipped, if they're to debut with prod adoption.
Steps (superadmin session)
- Fix the five prod instances'
0.0.0.0binds (dual-stack[::]start commands) — currently untouched; the prod gateway doesn't route the downstream apps yet, so nothing is broken until this rollout starts. - Set the ten
TIMETABLE/APPHOST/ADMIN/PROFILE/CLASSROOM_HOST+_PORTvariables on the prod campus-gateway service — prod mesh names differ from dev's, andRAILWAY_PRIVATE_DOMAINper service is the source (never guess). The template is already prod-safe: unset vars fall back to the image's.invalidplaceholders (#1275), so wiring is additive and reversible per app. - Add prod redirect_uri registry entries + GCP federated origin (mirrors the dev registry issue).
- Per-app
PUBLIC_URLflips ride normal redeploys; batch config edits withskipDeploysand do one deliberate redeploy wave. - Verify on the suffix-less prod domains; update docs/railway-variables.md + railway-architecture.md in the same change (the prod gateway rows there note the deliberate absence of the downstream vars today).
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 39m
- Merged PRs (30d)
- 235
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the 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
-
enhancement for-collaborators for-contributors
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nyjc-computing/campus#451 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
nyjc-computing/campus#1320 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
nyjc-computing/campus#1309 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 18/100
nyjc-computing/campus#1300 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 5/100
nyjc-computing/campus#1295 · 4 comments ·
Maintainers usually reply within 1 day
All issues in nyjc-computing/campus
Similar issues
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
kornia/kornia-rs#1416 · 1 comment ·
Maintainers usually reply within 2 days
-
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
PolicyEngine/ai-inequality#64 ·
Maintainers usually reply within 1 day
-
LinearGaussianStateSpace.dist splits states and observations wrongly when the transition varies over timePossibly taken @PabloRoque claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pymc-devs/pymc-extras#839 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day