fix: avoid performance degradation with Github and --hide-prev-plan-comments enabled#5241
fix: avoid performance degradation with Github and --hide-prev-plan-comments enabled#5241oleg-glushak wants to merge 17 commits intorunatlantis:mainfrom
Conversation
30b722f to
4f5b17f
Compare
|
Thanks for this @oleg-glushak. Can you check the linting error: https://github.com/runatlantis/atlantis/pull/5241/files#annotation_30986616047 |
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
…omments enabled Signed-off-by: oleg-glushak <oleg1628@gmail.com>
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
Signed-off-by: oleg-glushak <oleg1628@gmail.com>
485dde2 to
6b0868f
Compare
|
Thanks @X-Guardian The pull requests is ready for review again. |
|
I'm not keen on just ignoring the linter with a generic message. Can you investigate further? Also, can you try and avoid force pushing changes to the branch if you can, as this loses the links to previous check runs. |
Thanks for your feedback @X-Guardian . The same approach was used in a pull request merged last month: here. As far as I understand we either have to ignore this warning or switch from Please let me know, if you have a strong opinion which way I should follow or if I understand something wrong. |
|
@X-Guardian @jamengual I'd be happy to invest more time to push the pull request forward. Just let me know, if you have a strong opinion, if we need to do further work here. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
|
This issue is stale because it has been open for 1 month with no activity. Remove stale label or comment or this will be closed in 1 month. |
what
Switch from GitHub REST API to GitHub GraphQL for listing comments to expose the
isMinimizedattribute to avoid minimizing already minimized comments on each Atlantis command execution.why
This helps to avoid performance degradation by minimizing only non-minimized Atlantis comments, as opposed to processing all comments sequentially on each Atlantis command execution.
tests
references