cgreene / cgreene/farewright

Deploy Railway staging/demo profiles with health and secret checks

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

infrastructure security testing workstream:deployment
Dominant language
No language data
Stars
0
Forks
0
Avg merge
8h 21m
Merged PRs (30d)
2

Description

Outcome

One public single-process service runs the selected auth profile, SQLite volume, APIs, webhooks, dispatcher, and consoles with profile-aware configuration.

Scope

  • Build and deploy FastAPI plus static consoles as one Railway service.
  • Attach a persistent volume and enforce one replica/worker.
  • Configure local, staging, and demo profiles with fail-fast placeholder/missing-secret checks, including separate OAuth/session keys, vault KEK, and receipt/content HMAC key.
  • Add non-secret health checks for database, schema, auth/JWKS, adapters, Stripe webhook, effect/projector readiness, and HMAC key version without exposing values.

Acceptance

  • Public profiles refuse relaxed authentication and placeholder secrets.
  • Secret values are entered by the product owner in Railway, never GitHub or model context.
  • Demo uses Duffel/Stripe test modes and real auth; staging may use stubs.
  • Health output names missing keys/versions but never values.
  • A planned effect survives process restart and is dispatchable from the volume-backed input row.
  • Redeploy downtime and no-deploy rehearsal/demo windows are documented.

Dependencies

  • #2, #19, #21, #24, #25, and security gate #22.

Review

Deployment/security review plus product-owner secret-entry evidence.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the FastAPI service, profile-aware configuration, Railway deployment, persistent-volume setup, health checks, and dispatcher entry points; review dependencies #2, #19, #21, #24, #25, and security gate #22 first. Done means the acceptance checks pass, secret values remain outside GitHub and model context, restart dispatch works, and redeploy/demo procedures are documented and reviewed.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, sqlite
Domain
api, backend, cloud, databases, devops, infrastructure, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.