Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
Atlantis UI Jobs Stream are not cleaned up after a PR is closed, resulted in system resource are not freed up.
Reproduction Steps
- Open a PR in Github, plan or apply the PR to generate jobs stream. Visit the job's stream to confirm seeing the stream.
- Close the PR in Github. Visit the UI to see that jobs are still listed whereas locks are cleaned. Confirm that data in
repos
dir is also cleaned up fine. Visit the previous job stream URL to confirm that you still can see the streams.
Environment details
- Atlantis version: 0.33.0
- Deployment method: GKE
Additional Context
Screenshots of before closing the PR:
Screenshots of after closing the PR:
- Locks are gone but streams remains in the table and you can also click to view the stream content)

- System resource is not freed up after closing a PR due to streams are left behind
