Skip to content
Environment config too large – every commit fails
imsomin22
OP

3 hours ago

site-check-walk / production hellp

Awaiting User Response

3 Replies

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


imsomin22
OP

3 hours ago

Details:

Every change I try to apply to my production environment fails with: "This change can't be applied because the environment's configuration is too large. This is usually caused by large variable values, such as files encoded as base64. Move that data to a volume or bucket, then try again." (screenshot attached)

  • Project: 부지사전검토 (13dbb7bc-e986-47d0-a96a-27734d29a5cf)
  • Environment: production (fced7595-c3f5-4496-b79b-5280aabb1cc6)
  • Plan: Pro

The project has 30 Bun Functions, and their code is stored in each function's source, which makes the configuration large. My pending staged change actually makes the configuration smaller: it replaces the site-check-walk function's code with a much shorter version and adds a volume.

Could you please:

  1. tell me the current size of this environment's configuration and the limit, and

  2. raise the limit for this environment, or apply the pending staged change for site-check-walk once, so I can move the large code onto a volume step by step?

The live services must keep running. Please don't delete or redeploy anything else. Thank you!

image.png


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


imsomin22
OP

3 hours ago

image.png


Railway
BOT

3 hours ago

Your Bun Functions are a supported setup, and storing each Function's code in its source is how Functions normally work. The pending change on site-check-walk (the shorter start command and the new walk-files volume at /data) is still staged, and its last apply attempt was refused with the configuration-too-large error.

We can't give you a size figure or a limit to plan around, and we can't apply the staged change for you: an apply carries the whole environment's configuration, not only the service being edited, so a change that shrinks one service can still be refused.

What gets the environment applying again is reducing what it holds. The production environment has 33 services, including several that look like earlier copies (for example the -fix, -fix2 and -fix3 variants), and services that are no longer in use still add to it. Removing the ones you no longer need is the most direct step. For the rest, deploying code from a connected repo or a published image, keeping large files on a volume, or fetching assets from object storage at runtime keeps that content out of the environment's configuration.

Retrying the same staged change unchanged will be refused the same way.


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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...