Service rename in one environment unintentionally renames duplicated service in another environment
whoismuktar
HOBBYOP

a month ago

When a service is duplicated across multiple environments and then renamed in one environment, the duplicated service in the other environment is also renamed unexpectedly.

Steps to Reproduce:

  1. Create a service in the production environment (e.g., ogogo-api)
  2. Duplicate this service to another environment (e.g., t4-staging)
  3. In the production environment, rename the service (e.g., from ogogo-api to ogogo-api)
  4. Check the staging environment

Expected Behavior:

The service in the staging environment should remain unchanged with its original name. Services in different environments are independent and should not be affected by changes to services in other environments.

Actual Behavior:

The duplicated service in the staging environment is automatically renamed as well (e.g., from t4-ogogo-api to ogogo-api), even though it's in a completely separate environment.

Environment Details:

  • Multiple environments affected (production and staging)
  • Service was duplicated using Railway's duplication feature
  • Both services deploy from the same GitHub repository

Impact:

This creates confusion and unintended side effects when managing services across environments, as changes to one environment unexpectedly cascade to others.

Solved

1 Replies

Status changed to Awaiting Railway Response Railway about 2 months ago


a month ago

This is by design, service names are a project-level property, not scoped per environment. Renaming a service in one environment applies the name change across all environments in that project.


Status changed to Awaiting User Response Railway about 1 month ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...