Skip to content

refactor: use the built-in max/min to simplify the code [skip changelog]#941

Merged
gammazero merged 2 commits into
ipfs:mainfrom
overallteach:main
Jun 24, 2025
Merged

refactor: use the built-in max/min to simplify the code [skip changelog]#941
gammazero merged 2 commits into
ipfs:mainfrom
overallteach:main

Merge branch 'main' into main

887767f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 24, 2025 in 0s

61.59% (-0.01%) compared to 6d9782e

View this Pull Request on Codecov

61.59% (-0.01%) compared to 6d9782e

Details

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 61.59%. Comparing base (6d9782e) to head (887767f).

Files with missing lines Patch % Lines
gateway/backend_blocks.go 0.00% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #941      +/-   ##
==========================================
- Coverage   61.59%   61.59%   -0.01%     
==========================================
  Files         254      254              
  Lines       31400    31396       -4     
==========================================
- Hits        19341    19337       -4     
+ Misses      10487    10486       -1     
- Partials     1572     1573       +1     
Files with missing lines Coverage Δ
ipld/merkledag/coding.go 77.86% <100.00%> (-0.17%) ⬇️
gateway/backend_blocks.go 46.40% <0.00%> (+0.23%) ⬆️

... and 9 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.