Skip to content

fix: dev --no-tui stops services on quit#764

Merged
coffee-cup merged 1 commit intomasterfrom
jr/dev-notui-cleanup
Jan 14, 2026
Merged

fix: dev --no-tui stops services on quit#764
coffee-cup merged 1 commit intomasterfrom
jr/dev-notui-cleanup

Conversation

@coffee-cup
Copy link
Copy Markdown
Contributor

When using railway dev --no-tui, pressing Ctrl+C would not stop the services. The issue was that after the first Ctrl+C broke out of the log loop, there was no signal handler active. If users pressed Ctrl+C again, the process was killed immediately by SIGINT before shutdown could complete, leaving orphaned child processes.

The fix adds a background signal handler that absorbs additional Ctrl+C presses during shutdown, preventing abrupt termination and ensuring child processes are properly stopped. Now both TUI and non-TUI modes behave consistently.

Absorb additional Ctrl+C presses during shutdown to prevent abrupt termination
before child processes can be properly stopped. Add spinners to show shutdown
progress for both code and image services.
@coffee-cup coffee-cup force-pushed the jr/dev-notui-cleanup branch from 82bce59 to 391f77c Compare January 14, 2026 21:33
@coffee-cup coffee-cup added the release/patch Author patch release label Jan 14, 2026
@coffee-cup coffee-cup merged commit 1ee2e66 into master Jan 14, 2026
5 of 6 checks passed
@coffee-cup coffee-cup deleted the jr/dev-notui-cleanup branch January 14, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Author patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant