When do Preview Environments get removed?

We have a background garbage collection job which removes Preview Environments after the Pull Request is closed/merged. You can run it any time you like via the jx gc previews command

jx gc previews

You can also view the current previews via jx get previews:

jx get previews

and delete a preview by choosing one to delete via jx delete preview:

jx delete preview