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
We recently tested the new flag ATLANTIS_MAX_COMMENTS_PER_COMMAND=1 released in v.029 and we were already using ATLANTIS_HIDE_PREV_PLAN_COMMENTS=true to reduce the clutter in Pull Requests comments. However, we found that when combining these two flags (environment variables in our case), we noticed that Atlantis no longer hides previous plan comments and therefore breaks the existing behavior for --hide-prev-plan-comments=true.
Reproduction Steps
Configure Atlantis pod with the following environment variables:
ATLANTIS_HIDE_PREV_PLAN_COMMENTS=trueATLANTIS_MAX_COMMENTS_PER_COMMAND: 1
Run multiple atlantis plan commands in pull request
Observe previous comments not being auto-hidden by Atlantis.
Community Note
Overview of the Issue
We recently tested the new flag
ATLANTIS_MAX_COMMENTS_PER_COMMAND=1
released in v.029 and we were already usingATLANTIS_HIDE_PREV_PLAN_COMMENTS=true
to reduce the clutter in Pull Requests comments. However, we found that when combining these two flags (environment variables in our case), we noticed that Atlantis no longer hides previous plan comments and therefore breaks the existing behavior for--hide-prev-plan-comments=true
.Reproduction Steps
Configure Atlantis pod with the following environment variables:
ATLANTIS_HIDE_PREV_PLAN_COMMENTS=true
ATLANTIS_MAX_COMMENTS_PER_COMMAND: 1
Run multiple
atlantis plan
commands in pull requestObserve previous comments not being auto-hidden by Atlantis.
Logs
No relevant details were found in the logs.
Environment details
environment:
Additional Context
NA