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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug fixing: recurring results of the scorecard fuzzing check for go built-in fuzzers #2101

Merged
merged 6 commits into from Jul 28, 2022

Conversation

aidenwang9867
Copy link
Contributor

@aidenwang9867 aidenwang9867 commented Jul 27, 2022

What kind of change does this PR introduce?

A bug fix: issue #2098

What is the current behavior?

Under some specific circumstances, the scorecard fuzzing check returns extra recurring fuzzer results for Go built-in fuzzers. See issues #2060 and #2098.

What is the new behavior (if this is a feature change)?**

I am using a hashmap to drop potential duplicated prominent languages (theoretically there won't be any), so it is expected the fuzzing results will be correctly reported without any recurring contents.

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Fixes #2098

Special notes for your reviewer

Does this PR introduce a user-facing change?

No.

NONE

@aidenwang9867
Copy link
Contributor Author

aidenwang9867 commented Jul 27, 2022

@laurentsimon @oliverchang PTAL at the bug fix for issue #2098

@aidenwang9867 aidenwang9867 temporarily deployed to integration-test July 27, 2022 20:47 Inactive
@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #2101 (9a170f0) into main (8118e5d) will increase coverage by 0.23%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2101      +/-   ##
==========================================
+ Coverage   42.19%   42.43%   +0.23%     
==========================================
  Files          93       93              
  Lines        7595     7596       +1     
==========================================
+ Hits         3205     3223      +18     
+ Misses       4141     4123      -18     
- Partials      249      250       +1     

@github-actions
Copy link

Integration tests success for
[32042e1]
(https://github.com/ossf/scorecard/actions/runs/2749528798)

Copy link
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Could you add some unit tests?

@aidenwang9867 aidenwang9867 temporarily deployed to integration-test July 28, 2022 06:17 Inactive
@github-actions
Copy link

Integration tests success for
[c792c85]
(https://github.com/ossf/scorecard/actions/runs/2751721359)

Copy link
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Thanks

@laurentsimon laurentsimon enabled auto-merge (squash) July 28, 2022 15:40
@aidenwang9867 aidenwang9867 temporarily deployed to integration-test July 28, 2022 18:10 Inactive
@github-actions
Copy link

Integration tests success for
[9a170f0]
(https://github.com/ossf/scorecard/actions/runs/2755804618)

@laurentsimon laurentsimon merged commit 1e0e44a into ossf:main Jul 28, 2022
@aidenwang9867 aidenwang9867 deleted the fix_fuzzing_2 branch July 28, 2022 23:32
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.

BUG: The Scorecard fuzzing check sometimes has recurring extra results
2 participants