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: remove noise lockfile warnings #660

Merged
merged 1 commit into from
Nov 20, 2023
Merged

fix: remove noise lockfile warnings #660

merged 1 commit into from
Nov 20, 2023

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Nov 16, 2023

We're previously agreed that in these situations we should be erroring since the native package manager does not support them but cannot make that change until v2 as it's technical breaking.

In the meantime we've currently got tests that cover these situations but unlike panics we cannot suppress the warnings because of how Go works resulting in a very noisy time when any test fails; it's gotten to the point that I've decided to actually make this PR 😅

Since in theory these could actually still be useful especially for folks like Scorecard as part of helping confirm the parsers are handling edge-cases, I'm happy to alternatively gate these behind an env variable that is disabled by default but I don't have strong opinions on this.

@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f37072f) 78.14% compared to head (6cd1cec) 77.93%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #660      +/-   ##
==========================================
- Coverage   78.14%   77.93%   -0.21%     
==========================================
  Files          81       81              
  Lines        5866     5825      -41     
==========================================
- Hits         4584     4540      -44     
- Misses       1082     1084       +2     
- Partials      200      201       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@another-rex another-rex merged commit 9e18c1f into google:main Nov 20, 2023
8 checks passed
@G-Rath G-Rath deleted the remove-logs branch November 20, 2023 01:11
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.

4 participants