Skip to content

Confirm generated domain creation - #1156

Open
anishfyi wants to merge 1 commit into
railwayapp:masterfrom
anishfyi:fix-1118-domain-confirmation
Open

Confirm generated domain creation#1156
anishfyi wants to merge 1 commit into
railwayapp:masterfrom
anishfyi:fix-1118-domain-confirmation

Conversation

@anishfyi

Copy link
Copy Markdown

Summary

Fixes #1118.

Require confirmation before bare railway domain creates a Railway-provided public domain. The prompt defaults to no, and non-interactive use must pass --yes. Existing domain inspection and explicit custom-domain creation behavior remain unchanged.

Added parser and confirmation-policy regression coverage, including the non-interactive safety path and --yes bypass.

Validation

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features
  • cargo test (1,274 tests)

@anishfyi

Copy link
Copy Markdown
Author

The label check requires a maintainer-applied release label. Could you please add release/patch if that is the appropriate classification for this fix?

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.

railway domain (no subcommand) silently creates a public domain with no confirmation — dangerous default for a command that reads as inspection

1 participant