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?

Solved

45 Replies

357a7a66-a372-47f0-b2ae-2d8e2b6f1f32


brody
EMPLOYEE

2 years ago

I don't use pr envs but I could have sworn they are supposed to be removed after the pr gets merged


brody
EMPLOYEE

2 years ago

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

1256786722029572000


brody
EMPLOYEE

2 years ago

have those pr environments been merged?


yep

1256787019095605200


shoot wait



yep


brody
EMPLOYEE

2 years ago

I see


brody
EMPLOYEE

2 years ago

is every single pr environment sticking around? or do some of them get cleaned up after merge?


some of them get deleted 🤔

1256787623813578800


brody
EMPLOYEE

2 years ago

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


brody
EMPLOYEE

2 years ago

okay so it's just flakey then?


hmmm found two that said "deleted"

1256788817969418200


but are still in Railway's dashboard


brody
EMPLOYEE

2 years ago

okay so it's very flakey then?


yep seems so


brody
EMPLOYEE

2 years ago

will escalate


brody
EMPLOYEE

2 years ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response brody over 1 year ago


*will remove the active deployments but preserve the environment as they're costing us money


david
EMPLOYEE

2 years ago

Thanks for raising this issue, we'll take a look. Have added the issue to triage to investigate. Thanks.


Railway
BOT

2 years ago

This thread has been marked as solved automatically due to a lack of recent activity. Please open a new thread if you require further assistance. Thank you!

Status changed to Solved Railway over 1 year ago


yo @Brody


brody
EMPLOYEE

2 years ago

and you are still seeing this right?


the last one I saw was 8 days ago

1271331772893892600


brody
EMPLOYEE

2 years ago

and that pr has long since been closed?


yep, that PR was merged about instantly


brody
EMPLOYEE

2 years 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


any update on this? still having issues

1308421854884532200


brody
EMPLOYEE

a year ago

does it exist?


no, the branch doesnt even exists anymore


brody
EMPLOYEE

a year ago

how long ago was that pr opened


2 months ago


brody
EMPLOYEE

a year 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?


brody
EMPLOYEE

a year ago

partially


brody
EMPLOYEE

a year ago

I'd say an improvement


brody
EMPLOYEE

a year ago

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


brody
EMPLOYEE

a year 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


brody
EMPLOYEE

a year ago

(still isn't going to delete old envs though)


markusgeert
PRO

9 months ago

I'm still seeing this on PR's merged ~3 weeks ago

project-id: 7780fb34-fbdd-4a72-bfcc-95b83970ef8d


brody
EMPLOYEE

9 months ago

please open your own thread


Loading...