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
Project ID:
357a7a66-a372-47f0-b2ae-2d8e2b6f1f32
357a7a66-a372-47f0-b2ae-2d8e2b6f1f32
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
lol didnt see this, I was going to open another thread
well I looked around, couldnt find anything, but again we've a lot of PR enviroments that are just sitting there
have those pr environments been merged?
yep
I see
is every single pr environment sticking around? or do some of them get cleaned up after merge?
some of them get deleted 🤔
is that comment correct? did the environment on railway get deleted too?
yep, thats #107 and it got deleted
I tried to search for any pattern between the pull requests but couldnt find any
okay so it's just flakey then?
hmmm found two that said "deleted"
but are still in Railway's dashboard
okay so it's very flakey then?
yep seems so
will escalate
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.
*will remove the active deployments but preserve the environment as they're costing us money
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.
yo @Brody
and you are still seeing this right?
the last one I saw was 8 days ago
and that pr has long since been closed?
yep, that PR was merged about instantly
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
any update on this? still having issues
does it exist?
no, the branch doesnt even exists anymore
how long ago was that pr opened
2 months ago
oh well then it's not going anywhere, you'll have to delete it haha
oh so there has been a fix since then?
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
great, will delete it
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)