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'.
17 Replies
Project ID:
e46f8e9a-e01f-4090-b294-c4b641e64cfe
e46f8e9a-e01f-4090-b294-c4b641e64cfe
And no, vscode is not running anything, i've just opened up a file to check for grammatical errors
Still happening, I refreshed the page like 10 times and nothing will show up
Seems to have stopped now. It took a while though
Solution
do you have a
RAILWAY_DEPLOYMENT_OVERLAP_SECONDS=0
variable set?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.
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
set the variable
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
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
8 now... for whatever reason
done after 12 minutes
weird
incident called -> #🚨|incidents
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
You will know if you were banned 😐
Are you reporting that your builds are going through now?
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 🥲
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!