Railway · infra · fg-0071

A RUN_NOW style variable reruns the job on every Railway redeploy

If you see The job runs and emails again after every deploy, the cause and the fix for Railway are below, last verified 2026-07-05.

Staletrust 50/100

This trap has not been confirmed recently and may be out of date.

Symptom
The job runs and emails again after every deployUnexpected runs right after variable changes
Cause
Setting a variable triggers a redeploy, and a flag read at boot fires on every later boot too. Deleting a variable does not trigger a redeploy.
Fix
Delete the flag right after the manual run. Audit services for leftover flags.
Apply
railway variables --json | node -e "const v=JSON.parse(require('fs').readFileSync(0)); for (const k of Object.keys(v)) if (/RUN.*NOW/.test(k)) console.log(k, v[k] === 'true')"
Affected
Railway, July 2026

Last verified 2026-07-05 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun