R
Railway15mo ago
fedev

Variables redeploy info

Sometimes when I don't have an active deployment and I change the variables it triggers a redeploy but sometimes it doesen't, it seems like casual. When and what does it actually make it redeploy or not?
47 Replies
Percy
Percy15mo ago
Project ID: N/A
fedev
fedevOP15mo ago
N/A
Brody
Brody15mo ago
whats the source of the service?
fedev
fedevOP15mo ago
Wym? It's a nodejs app
Brody
Brody15mo ago
repo or image
fedev
fedevOP15mo ago
repo
Brody
Brody15mo ago
now are you actually changing a variable or are you just fake changing one?
fedev
fedevOP15mo ago
I'm changing values from the railway service variables page fake changing?
Brody
Brody15mo ago
like not actually updating anything
fedev
fedevOP15mo ago
Yeah but it should trigger a new deploy that will use the new variables right? but sometimes it doesent automatically trigger
Brody
Brody15mo ago
do you see a pop-up in the bottom right corner?
fedev
fedevOP15mo ago
The "Redeploying" info you mean? Sometimes I see it sometimes I dont (based on if it redeploys or not)
Brody
Brody15mo ago
right but when you don't see it redoploy, have you actually modified a variable
fedev
fedevOP15mo ago
Yes I have
Brody
Brody15mo ago
next time it happens provide some error logs and timestamps please? theres really no good way to look into a users sporadic issue without a timestamp
fedev
fedevOP15mo ago
there is no error logs.. is a screen record ok?
Brody
Brody15mo ago
timestamp
fedev
fedevOP15mo ago
Sep 08 22:20 CEST (UTC +2) didn't trigger deploy
Brody
Brody15mo ago
like is this a timestamp taken from a network request?
fedev
fedevOP15mo ago
no one sec Fri, 08 Sep 2023 20:29:13 GMT This is the post to https://backboard.railway.app/graphql/internal?q=variableCollectionUpsert timestamp
Brody
Brody15mo ago
and is there any way you could provide a reproducible flow that would cause the service to not be redeployed?
fedev
fedevOP15mo ago
I'm not sure because i deployed 2 identical services and one redeploys on variables changes the other doesen't nod it be because maybe once i clicked on "do not redeploy" when changing variables and now it remembers and just doesen't do it as a feature? thonk
Brody
Brody15mo ago
nope I click that all the time does this service you mention reliably not redeploy after a variable change?
fedev
fedevOP15mo ago
So now I tried to change again the variaables of the one not working and now I got the message (Redeploying, do you want to cancel) but it actually didnt deploy
Brody
Brody15mo ago
okay let's try something for fun use this to trigger a re-deploy https://bookmarklets.up.railway.app/service-redeploy/ on the service that is not re-deploying automatically
fedev
fedevOP15mo ago
Tried it with both services, the "working" one redeployed the other didn't
Brody
Brody15mo ago
well this now seems reproducible can you send the service id for the service that won't redoploy
fedev
fedevOP15mo ago
5265da35-b9cc-4778-99cc-c68d182a7dcb
Brody
Brody15mo ago
this service does have an active deployment right?
fedev
fedevOP15mo ago
not atm
Brody
Brody15mo ago
then of course it won't redoploy, there is nothing to redoploy
fedev
fedevOP15mo ago
the other didn't too there are previous inactive ones
fedev
fedevOP15mo ago
No description
Brody
Brody15mo ago
not how it works there won't be an automatic redoploy if there are no active services
fedev
fedevOP15mo ago
but the other one redeployed
Brody
Brody15mo ago
that has no active deployments
fedev
fedevOP15mo ago
yeah like this one
Brody
Brody15mo ago
are the sources the same same source type I mean
fedev
fedevOP15mo ago
yes
Brody
Brody15mo ago
and that would be a repo?
fedev
fedevOP15mo ago
yep
Brody
Brody15mo ago
well this is out of my hands
fedev
fedevOP15mo ago
Wait I think I have an idea
Brody
Brody15mo ago
for any future team members that may come along this is the service that isn't re-deploying
fedev
fedevOP15mo ago
Can it be because the "working" one has a failed deploy in the past while the other doesen't? Seems the only difference between the two
Brody
Brody15mo ago
sounds plausible
fedev
fedevOP15mo ago
But doesen't make much sense UmmWhat
Want results from more Discord servers?
Add your server