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

🌱 Add counting of shell parsing errors #1026

Merged
merged 5 commits into from
Sep 22, 2021

Conversation

ristomcgehee
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Metrics

  • What is the new behavior (if this is a feature change)?
    As per BUG: Parsing errors #839 (comment), I am adding a metric to count the number of times that shell parsing fails. Based on how prevalent this is, we can decide how we want to handle these errors.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Other information:
    I have not tested this code on a Scorecard Kubernetes cluster. Someone who has experience with the Scorecard cluster may want to test this PR. I'm open to learning how to test changes in cron before pushing live code, but I'd need some instruction in that.

stats/measures.go Outdated Show resolved Hide resolved
@naveensrinivasan
Copy link
Member

@chrismcgehee 🆒

Copy link
Contributor

@azeemshaikh38 azeemshaikh38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@azeemshaikh38 azeemshaikh38 enabled auto-merge (squash) September 22, 2021 14:35
@azeemshaikh38 azeemshaikh38 merged commit 90332a9 into ossf:main Sep 22, 2021
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.

3 participants