Does volumeUpdate(name) trigger deploy/restart or staged changes?
luckycuong
HOBBYOP

9 days ago

I need clarification on Railway Public GraphQL API semantics for a volume name-only update. This is a guidance-only question; please do not modify any project.

The current live schema exposes:

Mutation.volumeUpdate(volumeId: String!, input: VolumeUpdateInput!): Volume!

and the current VolumeUpdateInput contains only:

name: String

The target use is a name-only operation such as:

volumeUpdate(volumeId: "", input: { name: "dex-ebw-p0-data" })

The volume would already exist and already be attached to the intended service/environment/mount path. We would not pass any mount-path, service, environment, state, source, variable, or other configuration field.

Could Railway please clarify:

  1. Does volumeUpdate(volumeId, {name}) trigger or require a build?
  2. Does it trigger or require a deployment?
  3. Can it start, restart, replace, or otherwise affect the running service/process?
  4. Is the volume name change applied immediately, or does it create a staged change / EnvironmentPatch?
  5. If it creates a staged change, what operation is required to make the name effective?
  6. Would any commit, Deploy, accept_deploy, redeploy, or other finalization action be required solely to complete the rename?
  7. Does a name-only volumeUpdate preserve the same volume ID, service attachment, environment binding, mount path, and stored data?
  8. Can the final renamed state be reached with only the single volumeUpdate(name) operation and no deployment or other resource mutation?

We are specifically trying to distinguish a metadata-only volume rename from operations that modify a volume instance or trigger service deployment.

Please provide the current platform semantics only. No cleanup, deployment, test mutation, or project change is requested.

Awaiting Conductor Response$10 Bounty

Pinned Solution

  1. No.
  2. No...?
  3. Immediately
  4. Answered above
  5. It only changes the name.

7 Replies

Railway
BOT

9 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • 9 days ago


volumeUpdate doesn't require a redeployment or a build.

Also, the volume ID doesn't change.


luckycuong
HOBBYOP

9 days ago

Thanks — that confirms two important points: a name-only volumeUpdate does not require a build or redeployment, and the volume ID remains unchanged.

Could you also confirm:

  1. Does the rename trigger any deployment automatically?
  2. Can it start, restart, replace, or otherwise affect the running service/process?
  3. Is the name change applied immediately, or does it create a staged change / EnvironmentPatch?
  4. If it is staged, is any commit, Deploy, apply, accept_deploy, redeploy, or other finalization action required to make the new name effective?
  5. Does the name-only update preserve the existing service attachment, environment binding, mount path, and stored volume data?

No project modification is requested; this is only a platform-semantics clarification.


  1. No.
  2. No...?
  3. Immediately
  4. Answered above
  5. It only changes the name.

luckycuong
HOBBYOP

9 days ago

Thanks, that fully answers the rename behavior.

One final related clarification about the preceding volume creation step:

For an empty Railway service with no source, no image, no existing deployment, and no running process, if the Public API volumeCreate creates and attaches a persistent volume using projectId, serviceId, environmentId, and mountPath:

  1. Does that operation itself trigger or require a build?
  2. Does it create, trigger, or require a service deployment?
  3. Can it start, restart, or replace a service process?
  4. Is the volume create/attachment effective immediately, or does it create a staged change / EnvironmentPatch?
  5. Is any commit, Deploy, apply, accept_deploy, redeploy, or other finalization required solely to make the volume attachment effective?

This is only a platform-semantics clarification; no project modification is requested.


I have answered 4 of those questions above. You're asking the same thing in different wording.

1/2/3 No

4 Immediately

5 If you're attaching a volume, you'll need to redeploy the target service for it to take effect.


0x5b62656e5d

I have answered 4 of those questions above. You're asking the same thing in different wording. 1/2/3 No 4 Immediately 5 If you're attaching a volume, you'll need to redeploy the target service for it to take effect.

luckycuong
HOBBYOP

9 days ago

I appreciate your answer.

Thank you!


Status changed to Solved 0x5b62656e5d • 9 days ago


luckycuong
HOBBYOP

9 days ago

Need more information:

I have one remaining API-semantics question about serviceConnect.

For an existing empty service with no source, no deployment, no build, and no running process, the current serviceInstanceAutoDeployStatus is enabled=false, canEnable=false, reason=NO_REPO.

If I then call serviceConnect(id, { repo: "...", branch: "main" }):

  1. Does serviceConnect itself create, trigger, or queue any deployment?
  2. Does it itself create, trigger, or queue any build?
  3. Does connecting the repo enable or create an autodeploy/deployment trigger?
  4. Is the pre-connect enabled=false state preserved after the repo is connected, or is autodeploy recomputed/enabled?
  5. Is there a supported ordering that guarantees the repo can be connected while autodeploy remains disabled and no deployment/build can occur?

I only need the current platform semantics; no project change is requested.


Status changed to Awaiting Conductor Response Railway • 9 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...