Skip to content
Function deployment changes not applying
shoaib261226
OP

3 hours ago

Subject: Function deployment changes not applying

My Railway service "fr-v5-wyckoff-bybit-demo-executor" is not applying staged source code changes. After clicking Deploy, pending changes disappear without creating a new deployment, and the old source code remains active.

Please investigate and resolve this issue without deleting the service, persistent volume, or environment variables.

Awaiting Railway Response

6 Replies

Railway
BOT

3 hours ago

Your service is a Railway Function, and its most recent deployment was created today at 10:19 UTC, completed successfully, and is currently running.

We can't tell from here whether that deployment came from the Deploy you clicked or whether a later Deploy left no deployment behind. Please share the time (in UTC) of the Deploy click where the pending changes disappeared without a new deployment, plus any message the dashboard showed at that moment. If you can, also include a short line from the new code you expected (for example, a log message it should print) that is missing from that deployment's logs.


Status changed to Awaiting User Response Railway • about 3 hours ago


shoaib261226
OP

3 hours ago

Thank you for your response.

The failed deployment attempt occurred on November 24, 2026, between 10:28:58 and 10:29:28 UTC.

After clicking Deploy, the "Apply 1 change" notification disappeared, but no new deployment was created. No error message was visible.

The latest active deployment remains:

  • Deployment ID: d76d1092-f666-4cc7-af32-a536ab4301ab
    • Created at: 10:19:57 UTC
    • Staged patch ID: 5ebd84ba-b715-48ed-93b0-159ec2134e90

The existing source code contains:

"MAX_ENTRIES=3, MAX_OPEN=1"

The expected updated source code contains:

"MAX_ENTRIES=5, MAX_OPEN=5"

The updated code should also include "maxOpen" and "maxDailyEntries" fields in the runtime logs. These fields are missing, and the service continues logging "ENTRY_BLOCKED".

Please investigate why the staged changes disappear without creating a new deployment, while preserving the existing service, persistent volume, and environment variables.

Thank you.


Status changed to Awaiting Railway Response Railway • about 3 hours ago


Railway
BOT

3 hours ago

The Deploy you clicked at around 10:29 UTC was rejected rather than lost: the staged change (an updated source for this Function) failed with the error "This change can't be applied because the environment's configuration is too large," so no new deployment was created and the 10:19 UTC deployment, with your previous code, kept running.

That size check applies to the whole production environment's configuration, including every service in it and their variables, not just this one service. Storing your Function's code in its start command is the normal, supported way Functions work, so the updated source itself isn't the problem on its own. The error points to large variable values elsewhere in the environment, such as files encoded as base64, and its suggested fix is to move that kind of data to a volume or bucket. Retrying the same Deploy without shrinking the environment will fail the same way.

Your service, its volume, and its variables were not removed by the failed apply.


Status changed to Awaiting User Response Railway • about 3 hours ago


Railway

The Deploy you clicked at around 10:29 UTC was rejected rather than lost: the staged change (an updated source for this Function) failed with the error "This change can't be applied because the environment's configuration is too large," so no new deployment was created and the 10:19 UTC deployment, with your previous code, kept running. That size check applies to the whole production environment's configuration, including every service in it and their variables, not just this one service. Storing your Function's code in its start command is the normal, supported way Functions work, so the updated source itself isn't the problem on its own. The error points to large variable values elsewhere in the environment, such as files encoded as base64, and its suggested fix is to move that kind of data to a volume or bucket. Retrying the same Deploy without shrinking the environment will fail the same way. Your service, its volume, and its variables were not removed by the failed apply.

shoaib261226
OP

3 hours ago

Thank you for identifying the environment configuration size issue.

We have now taken steps to reduce the configuration size:

  • Created a separate private research archive project.
    • Successfully backed up six historical research services, including their source code and 175 runtime log entries.
    • Staged changes to reduce the source code size of these six services by approximately 96%.

However, after clicking Deploy, the pending changes disappeared again without creating new deployments. Even the changes intended to reduce the configuration size are not being applied.

Staged patch ID:

8f8513da-85a5-43fe-916f-b80d84672f0e

Please escalate this issue to your technical engineering team.

We need assistance with reducing the environment configuration size or temporarily increasing its limit so that the optimization changes can be applied.

Please preserve all existing services, persistent volumes, environment variables, and trading data.

We would appreciate a manual investigation and a permanent solution.


Status changed to Awaiting Railway Response Railway • about 3 hours ago


Railway
BOT

3 hours ago

The Deploy for your latest staged changes was rejected with the same "environment's configuration is too large" error, so it ended as failed and no new deployments were created. Your existing services, volumes and variables were not removed by the failed apply.

The size check covers the whole production environment at once, including every service's source, start command and variables, so a change that would shrink six services still has to pass that check before it can take effect. Your executor's Function source alone is around 70 KB, and the environment holds many services, so the environment as a whole is what needs to get smaller.

The supported ways to bring it down are to deploy larger code from a connected repository or a published image instead of storing it as Function source, keep large files on a volume or in a bucket rather than in variables, and remove services from this environment that are no longer in use (for example, the research services you have already archived to the separate project). Retrying the same Deploy unchanged will fail the same way.


Status changed to Awaiting User Response Railway • about 3 hours ago


Railway

The Deploy for your latest staged changes was rejected with the same "environment's configuration is too large" error, so it ended as failed and no new deployments were created. Your existing services, volumes and variables were not removed by the failed apply. The size check covers the whole production environment at once, including every service's source, start command and variables, so a change that would shrink six services still has to pass that check before it can take effect. Your executor's Function source alone is around 70 KB, and the environment holds many services, so the environment as a whole is what needs to get smaller. The supported ways to bring it down are to deploy larger code from a connected repository or a published image instead of storing it as Function source, keep large files on a volume or in a bucket rather than in variables, and remove services from this environment that are no longer in use (for example, the research services you have already archived to the separate project). Retrying the same Deploy unchanged will fail the same way.

shoaib261226
OP

2 hours ago

We followed your recommendation and attempted to remove six unused research services after verifying their backups in a separate project.

The API accepted all six deletion requests, but the services remain active in the production environment. The total service count is still 50.

We are now unable to update source code, reduce configuration size, or remove unused services.

Please escalate this to a human engineer and manually resolve the environment configuration size restriction.

Please preserve our active trading services, persistent volumes, and environment variables.


Status changed to Awaiting Railway Response Railway • about 2 hours ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...