https://pulumi.com logo
#general
Title
# general
c

cool-egg-852

04/28/2020, 2:53 PM
Are there any plans to have pulumi automatically remove old comments on GitHub? It’s a bit of a pain when changing a large amount of stacks, and then pushing a change. There can sometimes be close to 100 comments from pulumi.
b

broad-dog-22463

04/28/2020, 3:29 PM
I'm not quite following @cool-egg-852 - got an example?
c

cool-egg-852

04/28/2020, 3:29 PM
You know when you have the CI integration enabled so Pulumi creates comments on a PR?
If you open a PR, pulumi makes comments. Then if you push another commit to the PR, new comments are added, but the old ones are still there.
So you have all of pulumi’s comments for every push that is made to the PR.
So if for example you have 30 stacks updated in a PR, and you have the original PR + 5 more pushes, then you have 180 comments by pulumi.
b

broad-dog-22463

04/28/2020, 3:36 PM
oh I see....
I think this is something that we might need an issue on - I mean, how would Pulumi identify what comments to remove?
c

cool-egg-852

04/28/2020, 9:12 PM
It should remove all of it’s comments
And then add the new ones.
It would know who the author was of the comment
So it can remove all of the ones it’s authored
b

broad-dog-22463

04/28/2020, 9:30 PM
Can you open an issue about this - I guess this is something the team will need to talk about
c

cool-egg-852

04/28/2020, 9:58 PM
b

broad-dog-22463

04/28/2020, 10:09 PM
👌