Oded-B
released this
16 Sep 07:54
Split too big comment per cluster (#22)
* Split too big comment per cluster
If a "regular" aggregate diff can't fit in a GH comment create one
comment per cluster.
There's still a fallback to concise diff (just lists changed objects)
for extreme cases
* Move logging out of executeTemplate to higher up the stack
Create a new "testable" generateArgoCdDiffComments function to generate
all the comments content
Comment all the comments
* Add test for 3 "levels" of comments
* Apply suggestions from code review
Co-authored-by: Hannes Gustafsson <hnnsgstfssn@gmail.com>