Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make PolicyCheckSummary rendering optional #4382

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

sourava01
Copy link
Contributor

@sourava01 sourava01 commented Mar 24, 2024

what

When using custom policy checking, PolicyCheckSummary is empty. This creates an empty codeblock in the output which is misleading.
Example Image
Screenshot 2024-03-24 at 1 49 49 PM

why

Empty codeblock is misleading! At first glance, it gives the impression that it is an empty output / policy checks have passed.

tests

references

@sourava01 sourava01 requested review from a team as code owners March 24, 2024 08:22
@sourava01 sourava01 requested review from chenrui333, lukemassa and nitrocode and removed request for a team March 24, 2024 08:22
@sourava01 sourava01 changed the title Make PolicyCheckSummary rendering optional fix: Make PolicyCheckSummary rendering optional Mar 24, 2024
@GenPage GenPage added bug Something isn't working refactoring Code refactoring that doesn't add additional functionality quick-win Is obviously something Atlantis should do and will take <4 hrs work labels Mar 27, 2024
@GenPage
Copy link
Member

GenPage commented Mar 27, 2024

/cherry-pick release-0.27

@GenPage GenPage merged commit 49d1430 into runatlantis:main Mar 27, 2024
22 of 26 checks passed
@sourava01 sourava01 deleted the patch-1 branch March 28, 2024 10:59
@chenrui333 chenrui333 added this to the v0.28.0 milestone May 22, 2024
chenrui333 pushed a commit that referenced this pull request Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working conftest-policy quick-win Is obviously something Atlantis should do and will take <4 hrs work refactoring Code refactoring that doesn't add additional functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants