Faolain
ServiceInstanceRedeploys Failing via GraphQL Endpoint
I recently had my CI begin to fail as a result of a failing service instance redeploy. As a quick tldr I've been using this github action https://github.com/Faolain/railway-pr-deploy/blob/main/index.js for many months now unchanged. However I recently added a new service and it appears after adding this new service, the serviceInstanceRedeploys fail via the CI (which uses the graphql endpoint). I tried on my local graphql GUI and see the same issue. Is there any reason why this serviceInstanceRedeploy is failing/how to find more information about this?
28 replies
Create Environment no longer creating deployments
I have a github action I created which would use the api to call createEnvironment which itself would do things to setup ephemeral PR environments however the github aciton is now failing. Upon inspecting it it was because this line in my github action is failing https://github.com/Faolain/railway-pr-deploy/blob/main/index.js#L240 (wherein it checks for a deployment status), however this always used to work. I haven't changed this action in quite some time and PRs from the last few days were functioning. This line expects a deployment to already exist which was always taken care of by https://github.com/Faolain/railway-pr-deploy/blob/main/index.js#L376 . Do deployments need to be explicitly done now after an environment is created?
70 replies
Phantom Orphaned Services that do not appear on GUI
I had created a service on the GUI and then deleted it(I believe done twice), however now whenever I create environments based off that previous one (even though that previous one doesn't have these dangling empty services) they appear on the programatically created ones. Stranger, these services do not show on the GUI. How should I remedy this? Should I delete the serviceinstances via the graphql api? Are these dangling services consuming any resources? Etc
27 replies
Railway GraphQL Question - getting service names from environments query
Sorry if this is easy to find but I'm not capable of seeing how this can be done, I have the following graphql query
and I want to get the serviceName of the deployed service instance, is there any way to do this without making a subsequent query for each serviceId?
which right now is
ideally ServiceInstance would have
serviceName
in addition to the currently existing serviceId
13 replies
Unable to connect service to a repo
I am deploying a service from scratch via an empty project through a source repo. The source repo is correctly identified but when I try to select a branch under Automatic Deployments in the Git Repository Section I encounter an endless spinner of "Connect Environment to Branch" after an error
"Error: Creating service trigger
Only a single deployment trigger is allowed per (environment, service) pair"
I was wondering how to remedy this?
23 replies
Litestar command not found
Hey all apologies for the possibly silly question. I am looking to deploy this repo: https://github.com/Faolain/mypy-monorepo specifically what is within the packages/backend folder which is a python litestar(https://github.com/litestar-org/litestar) application (a web framework like flask/django/fastapi) but I'm running into an issue where the build log appears to be fine but the deploy log states
This monorepo is a slight modification of this very same repo https://railway.app/template/KmHMvQ (just instead I have setup mine within a monorepo) however even when I tried to deploy this original template as is, I also see the
/bin/bash: line 1: litestar: command not found
(wherein litestar is the start command).This monorepo is a slight modification of this very same repo https://railway.app/template/KmHMvQ (just instead I have setup mine within a monorepo) however even when I tried to deploy this original template as is, I also see the
/bin/bash: line 1: litestar: command not found
issue. I was wondering what could be wrong and how this could be fixed? For reference running this start command locally does work within the folder.136 replies