-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check for orphaned PR environments #709
Comments
@rocketnova @doshitan thoughts on this problem/solution? |
Hmmm. Here are some initial thoughts:
|
re: 3, I was thinking that an orphaned PR environment is an environment for a PR that's closed. The destroy PR environment script should have destroyed it but it failed for some reason. I noticed a few of those based on my PRs. |
I think you're talking about something more complex, which is the concept of a stale PR. I think that's a useful discussion too, but perhaps out of scope for this ticket. |
Ohh great clarification. How would you map closed PRs to terraform environments? |
The PR environment lives in a separate workspace in the service layer with the name
|
I notice in platform-test that there are some orphaned PR environments for closed PRs. I don't know if this is the right solution for this issue, but we could add a check for PR environments that map to orphaned PRs.
Also not sure whether to classify this as a bug or an enhancement
The text was updated successfully, but these errors were encountered: