a month ago
Railway has an environment patch containing multiple staged configuration entries. We need to discard a selected subset while preserving all other staged entries and without applying, committing, deploying, or changing live configuration.
Does Railway provide a supported API, GraphQL mutation, CLI operation, or dashboard action that performs this selected-field discard atomically?
Specifically:
- Can several selected staged paths be removed in one transaction?
- Are all requested paths validated before any change occurs?
- Does any missing, stale, duplicate, or conflicting path roll back the entire operation?
- Is optimistic concurrency available through a patch version, ETag, baseConfigEtag, or equivalent?
- Are all omitted staged entries preserved exactly?
- Does null represent removal, an explicit null value, or another configuration state?
- Can the operation trigger a deployment, commit staged changes, or alter live configuration?
- How can a client reconcile an ambiguous or lost acknowledgement without blindly retrying?
- If no such API exists, is whole-patch replacement the only programmatic option?
We are not asking Railway staff to modify any resources. This is an information-only question.
1 Reply
a month ago
We don't offer a control that discards a selected subset of staged changes. Discard Changes in the dashboard discards the environment's entire staged changeset, not individual entries.
Discarding doesn't apply or deploy anything. Staged changes only affect your live configuration once they're applied with Deploy, so discarding a staged change leaves the current live configuration and running services as they were.
Status changed to Awaiting User Response Railway • about 1 month ago
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