Skip to content
Verifying persisted GitHub autodeploy disabled state
augiebuko-hue
OP

24 days ago

After disabling GitHub autodeploy for a service tracking main, Settings initially showed main and “Auto deploy is disabled.” After reopening Settings it showed “Connect Environment to Branch.” What supported read-only UI or API can verify both the persisted disabled state and the preserved repository/main association, without reconnecting, enabling deployments, or applying pending staged changes? Does a documented hosted OAuth/MCP read-only tool expose those fields?

Solved

1 Reply

Status changed to Awaiting Railway Response Railway • 24 days ago


dizzydes90
EMPLOYEE

24 days ago

The persisted state on nucon-ai-gateway right now is: repository augiebuko-hue/nucon-ai-gateway attached, no branch configured, auto deploy off, and nothing staged for that service (the staged changes in that environment are on Postgres and function-bun, from April).

Auto deploy is backed by a GitHub deployment trigger, and disabling it deletes the trigger. The branch picker reads the service's configured branch separately, and that is currently empty, which is why Settings shows Connect Environment to Branch. Enable recreates the trigger on the repo's default branch when no branch is configured.

You can verify all of it with read-only GraphQL queries at https://backboard.railway.com/graphql/v2 using a viewer-level token, without reconnecting, enabling or applying anything. serviceInstanceAutoDeployStatus(projectId, environmentId, serviceId) returns enabled and canEnable; yours returns false and true. environment(id) { deploymentTriggers } lists the GitHub triggers, and empty means auto deploy is off. serviceInstance(serviceId, environmentId) { source { repo } } shows the attached repository; the public ServiceSource type exposes repo and image, not the branch.

The hosted MCP server at mcp.railway.com has no tool for these settings; get_service_config exists only in the local railway mcp local server. Docs: https://docs.railway.com/reference/public-api and https://docs.railway.com/ai/mcp-server


Status changed to Awaiting User Response Railway • 24 days ago


Railway
BOT

17 days 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 • 17 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...