R
Railway4mo ago
dan

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
Percy4mo ago
Project ID: e46f8e9a-e01f-4090-b294-c4b641e64cfe
dan
dan4mo 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
dan
dan4mo ago
Still happening, I refreshed the page like 10 times and nothing will show up
No description
dan
dan4mo ago
Seems to have stopped now. It took a while though
Solution
Brody
Brody4mo ago
do you have a RAILWAY_DEPLOYMENT_OVERLAP_SECONDS=0 variable set?
Joshie
Joshie4mo 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.
dan
dan4mo 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
Brody4mo ago
set the variable
Joshie
Joshie4mo 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
dan
dan4mo 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
dan
dan4mo ago
No description
dan
dan4mo ago
8 now... for whatever reason done after 12 minutes weird
Brody
Brody4mo ago
incident called -> #🚨|incidents
dan
dan4mo 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
angelo4mo ago
You will know if you were banned 😐 Are you reporting that your builds are going through now?
dan
dan4mo 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
Brody4mo 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!
Want results from more Discord servers?
Add your server