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