Skip to content
New issue

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

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

Already on GitHub? # to your account

CI: promote unused linter #6120

Merged
merged 8 commits into from
Sep 19, 2024
Merged

CI: promote unused linter #6120

merged 8 commits into from
Sep 19, 2024

Conversation

cce
Copy link
Contributor

@cce cce commented Sep 3, 2024

Summary

In #6105 (comment) after the "unused" linter noticed some unused peer latency metrics related to the ping handler (left unused in #3028 and replaced partly by #4745), @algorandskiy recommended we remove the rest of the unused code in a separate PR.

This promotes the "unused" linter from the reviewdog-warnings to the reviewdog-errors CI job and cleans up the remaining unused lint issues.

Test Plan

Existing tests should pass.

@cce cce changed the title CI: add unused linter CI: promote unused linter Sep 3, 2024
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 9 lines in your changes missing coverage. Please review.

Project coverage is 56.19%. Comparing base (1d08955) to head (e5286be).
Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
network/msgOfInterest.go 50.00% 4 Missing and 1 partial ⚠️
ledger/store/trackerdb/generickv/schema.go 0.00% 1 Missing ⚠️
...e/trackerdb/sqlitedriver/spVerificationAccessor.go 0.00% 1 Missing ⚠️
network/p2p/capabilities.go 0.00% 1 Missing ⚠️
shared/pingpong/accounts.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6120      +/-   ##
==========================================
- Coverage   56.20%   56.19%   -0.02%     
==========================================
  Files         494      494              
  Lines       69936    69914      -22     
==========================================
- Hits        39311    39288      -23     
+ Misses      27955    27948       -7     
- Partials     2670     2678       +8     

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

@cce cce requested a review from algorandskiy September 18, 2024 17:12
@gmalouf gmalouf merged commit 62eb3bf into algorand:master Sep 19, 2024
19 checks passed
@cce cce deleted the unused-metrics branch February 11, 2025 19:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants