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: failure reasons display #57

Merged
merged 6 commits into from
Jun 23, 2024
Merged

fix: failure reasons display #57

merged 6 commits into from
Jun 23, 2024

Conversation

jamestelfer
Copy link
Member

@jamestelfer jamestelfer commented Jun 17, 2024

This pull request fixes the display of failure reasons on each platform and adds support for agent test mode. The failure reasons will now be shown in the output, making it easier to identify the issues. Additionally, the agent test mode allows for other environment variables to be read from the agent context.

#56 should be merged first

The message will include the reason for failure on each platform.
Allows for other environment variables to be read from the agent context.
Also add the name of the image that failed: far easier to find the issue.
Avoids a Getenv call buried deep in the mire.
This API has been present for some time, no need to use a cast.
@jamestelfer jamestelfer marked this pull request as ready for review June 20, 2024 21:49
@ctgardner ctgardner requested a review from a team June 21, 2024 03:32
Base automatically changed from contributing to main June 23, 2024 23:30
ctgardner
ctgardner previously approved these changes Jun 23, 2024
Copy link

Package Line Rate Health
github.com/cultureamp/ecrscanresults/finding 92%
github.com/cultureamp/ecrscanresults/findingconfig 70%
github.com/cultureamp/ecrscanresults/registry 11%
github.com/cultureamp/ecrscanresults/report 86%
github.com/cultureamp/ecrscanresults/runtimeerrors 83%
Summary 65% (444 / 681)

@ctgardner ctgardner merged commit 1ad8012 into main Jun 23, 2024
6 checks passed
@ctgardner ctgardner deleted the better-errors branch June 23, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants