R
Railway5d ago
cody

Ghost deploy

I pushed some changes to github, and on the dashboard everything seems fine, bot updated, did it's thing, etc. But when I go to run a command, I get a double response, but no deploy shows up on the dashboard, so I think I have a 'ghost deploy'.
No description
No description
Solution:
do you have a RAILWAY_DEPLOYMENT_OVERLAP_SECONDS=0 variable set?
Jump to solution
17 Replies
Percy
Percy5d ago
Project ID: e46f8e9a-e01f-4090-b294-c4b641e64cfe
cody
cody5d ago
e46f8e9a-e01f-4090-b294-c4b641e64cfe And no, vscode is not running anything, i've just opened up a file to check for grammatical errors
cody
cody5d ago
Still happening, I refreshed the page like 10 times and nothing will show up
No description
cody
cody5d ago
Seems to have stopped now. It took a while though
Solution
Brody
Brody5d ago
do you have a RAILWAY_DEPLOYMENT_OVERLAP_SECONDS=0 variable set?
Joshie
Joshie5d ago
You say that, but I suspect that you really do have 2 instances of the bot running. I would just rest your computer, just to be sure. You can easily have the bot running in secret, with no vscode instance open. I saw that a lot in the discord.py server. Basically, vscode doesn't kill a running instance even if you close the window. But then you kinda lose a way to access that running instance.
cody
cody5d ago
I'm not using discord.py, and I can confirm that nothing was running locally because I closed vscode, and checked my processes. Also, if it was running locally, my websocket would be around 170ms ish, due to how far I'm from discord's datacenters But the websocket matches perfectly with what railway usually stays at, which is 80 to 90ms No I also checked using the os, and I saw that the CPUs were xeon cpus, which my laptop certainly does not have
Brody
Brody5d ago
set the variable
Joshie
Joshie5d ago
I was using discord.py as a qualifier. The issue is agnostic to api wrapper. And more to do with VSCode. And I pointed it out becuase it was a common issue I have seen
cody
cody5d ago
So nothing was running locally, at all. And even if vscode still somehow kept a process, the bot wouldn't respond because my database server was off And it'd have no way to fetch the prefix Alright, will do Yeah and to add to that, I don't locally run/edit my typescript projects on vscode, I use webstorm, that's why I said Ignore vscode I've set the variable but now it's taking 7 minutes to deploy, and it usually does that within 2
cody
cody5d ago
No description
cody
cody5d ago
8 now... for whatever reason done after 12 minutes weird
Brody
Brody5d ago
incident called -> #🚨|incidents
cody
cody5d ago
For a moment i thought I got banned from the platform because It told me that my github account didn't meet the criteria 😭 Legit gave me a jumpscare
angelo
angelo5d ago
You will know if you were banned 😐 Are you reporting that your builds are going through now?
cody
cody5d ago
Yes, everything is working fine and the delay is gone Thought so, but the banner didn't show up initially and it told me "Your GitHub account does not meet our criteria" so I assumed that GitHub flagged me for something or railway did 🥲
Brody
Brody4d ago
the main issue here was that you were allowing railway to overlap your deployments, good for websites, bad for bots. you've since set that variable so let me know if you continue to experience the overlapping!