R
Railway•7mo ago
ThallesComH

is it possible to delete PR environment after PR merge?

I've a bunch of old PR environments that are unused and using a lot of RAM, is there a way to do the above?
37 Replies
Percy
Percy•7mo ago
Project ID: 357a7a66-a372-47f0-b2ae-2d8e2b6f1f32
ThallesComH
ThallesComHOP•7mo ago
357a7a66-a372-47f0-b2ae-2d8e2b6f1f32
Brody
Brody•7mo ago
I don't use pr envs but I could have sworn they are supposed to be removed after the pr gets merged maybe it's a setting somewhere? could you have a look around? if not, I'll escalate
ThallesComH
ThallesComHOP•5mo ago
lol didnt see this, I was going to open another thread
ThallesComH
ThallesComHOP•5mo ago
well I looked around, couldnt find anything, but again we've a lot of PR enviroments that are just sitting there
No description
Brody
Brody•5mo ago
have those pr environments been merged?
ThallesComH
ThallesComHOP•5mo ago
No description
ThallesComH
ThallesComHOP•5mo ago
yep
Brody
Brody•5mo ago
I see is every single pr environment sticking around? or do some of them get cleaned up after merge?
ThallesComH
ThallesComHOP•5mo ago
some of them get deleted 🤔
No description
Brody
Brody•5mo ago
is that comment correct? did the environment on railway get deleted too?
ThallesComH
ThallesComHOP•5mo ago
yep, thats #107 and it got deleted I tried to search for any pattern between the pull requests but couldnt find any
Brody
Brody•5mo ago
okay so it's just flakey then?
ThallesComH
ThallesComHOP•5mo ago
hmmm found two that said "deleted"
No description
ThallesComH
ThallesComHOP•5mo ago
but are still in Railway's dashboard
Brody
Brody•5mo ago
okay so it's very flakey then?
ThallesComH
ThallesComHOP•5mo ago
yep seems so
Brody
Brody•5mo ago
will escalate
Duchess
Duchess•5mo ago
New reply sent from Help Station thread:
This thread has been escalated to the Railway team.
You're seeing this because this thread has been automatically linked to the Help Station thread.
ThallesComH
ThallesComHOP•5mo ago
*will remove the active deployments but preserve the environment as they're costing us money
Duchess
Duchess•5mo ago
New reply sent from Help Station thread:
Thanks for raising this issue, we'll take a look. Have added the issue to triage to investigate. Thanks.
You're seeing this because this thread has been automatically linked to the Help Station thread.
ThallesComH
ThallesComHOP•4mo ago
yo @Brody
Brody
Brody•4mo ago
and you are still seeing this right?
ThallesComH
ThallesComHOP•4mo ago
the last one I saw was 8 days ago
No description
Brody
Brody•4mo ago
and that pr has long since been closed?
ThallesComH
ThallesComHOP•4mo ago
yep, that PR was merged about instantly
Brody
Brody•4mo ago
gotcha, for context the ticket that was created from your bridged help thread was fixed and marked done 3 weeks ago. but this has popped up again (another user reported it) and a new ticket was made, i will add this discord thread to the new ticket so i can circle back when the new ticket is marked done
ThallesComH
ThallesComHOP•2d ago
any update on this? still having issues
No description
Brody
Brody•2d ago
does it exist?
ThallesComH
ThallesComHOP•2d ago
no, the branch doesnt even exists anymore
Brody
Brody•2d ago
how long ago was that pr opened
ThallesComH
ThallesComHOP•2d ago
2 months ago
Brody
Brody•2d ago
oh well then it's not going anywhere, you'll have to delete it haha
ThallesComH
ThallesComHOP•2d ago
oh so there has been a fix since then?
Brody
Brody•2d ago
partially I'd say an improvement we found that PR's that opened and closed in rapid succession were getting missed and left hanging as pr environments
ThallesComH
ThallesComHOP•2d ago
great, will delete it
Brody
Brody•11h ago
update here, we just merged another pr that should fix even more edge cases, so please let us know if you see this again (still isn't going to delete old envs though)
Want results from more Discord servers?
Add your server