Skip to content

fix: set Railway drainingSeconds to stop false crash alerts on deploy - #189

Merged
hturnbull93 merged 1 commit into
mainfrom
claude/railway-crash-alerts-n75s6t
Jul 26, 2026
Merged

fix: set Railway drainingSeconds to stop false crash alerts on deploy#189
hturnbull93 merged 1 commit into
mainfrom
claude/railway-crash-alerts-n75s6t

Conversation

@hturnbull93

Copy link
Copy Markdown
Collaborator

Railway gives the old container 0 seconds by default between SIGTERM
and SIGKILL when a new deployment goes live. It gets force-killed
before it can exit cleanly, so Railway marks it CRASHED and sends an
alert email even though the new deployment is healthy. Setting
drainingSeconds gives the outgoing container time to shut down before
the SIGKILL lands.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01TqhW6AhiEriP7nDAEithdw

Railway gives the old container 0 seconds by default between SIGTERM
and SIGKILL when a new deployment goes live. It gets force-killed
before it can exit cleanly, so Railway marks it CRASHED and sends an
alert email even though the new deployment is healthy. Setting
drainingSeconds gives the outgoing container time to shut down before
the SIGKILL lands.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TqhW6AhiEriP7nDAEithdw
@railway-app
railway-app Bot temporarily deployed to PauseAI Catalyse / catalyse-pr-189 July 26, 2026 20:04 Destroyed
@hturnbull93
hturnbull93 merged commit 9b7267c into main Jul 26, 2026
2 of 3 checks passed
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.

2 participants