Skip to content

chore(enrichment): pin Serverless-off + teardown timings in railway.json (config-as-code) - #1486

Merged
JSONbored merged 1 commit into
mainfrom
chore/enrichment-railway-config
Jun 26, 2026
Merged

chore(enrichment): pin Serverless-off + teardown timings in railway.json (config-as-code)#1486
JSONbored merged 1 commit into
mainfrom
chore/enrichment-railway-config

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Moves every Railway setting the schema supports into review-enrichment/railway.json so the REES is fully config-as-code:

  • numReplicas, healthcheckPath/healthcheckTimeout, restartPolicyType/restartPolicyMaxRetries (existing)
  • sleepApplication: false — keep always-on; /v1/enrich is called synchronously during reviews, so scale-to-zero cold starts would add latency / risk timeouts
  • overlapSeconds: 0, drainingSeconds: 15 — zero-downtime teardown

Root Directory, the custom domain, REES_SHARED_SECRET, and Skipped Builds stay UI-only (not expressible in railway.json).

Follow-up to #1485.

…son (config-as-code)

Move every Railway setting the schema supports into railway.json so the service is
fully config-as-code: numReplicas, healthcheck, restart policy, and now sleepApplication:false
(keep the service always-on — reviews call /v1/enrich synchronously, so scale-to-zero cold
starts would add latency / risk timeouts) plus overlapSeconds/drainingSeconds (zero-downtime
teardown). Root Directory, custom domain, REES_SHARED_SECRET, and Skipped Builds remain UI-only.
@dosubot dosubot Bot added the size:XS label Jun 26, 2026
@JSONbored JSONbored self-assigned this Jun 26, 2026
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored
JSONbored merged commit ee492d7 into main Jun 26, 2026
14 checks passed
@JSONbored
JSONbored deleted the chore/enrichment-railway-config branch June 26, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant