Skip to content

fix: floor and reject negative ipns ttl

55fd621
Select commit
Loading
Failed to load commit list.
Open

fix: bound ipns cache-control to record eol #1166

fix: floor and reject negative ipns ttl
55fd621
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 5, 2026 in 0s

63.45% (+0.05%) compared to fc2837e

View this Pull Request on Codecov

63.45% (+0.05%) compared to fc2837e

Details

Codecov Report

❌ Patch coverage is 77.27273% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.45%. Comparing base (fc2837e) to head (55fd621).

Files with missing lines Patch % Lines
internal/ipnstest/ipnstest.go 64.70% 3 Missing and 3 partials ⚠️
gateway/handler_ipns_record.go 63.63% 3 Missing and 1 partial ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1166      +/-   ##
==========================================
+ Coverage   63.39%   63.45%   +0.05%     
==========================================
  Files         268      269       +1     
  Lines       26967    27002      +35     
==========================================
+ Hits        17096    17133      +37     
+ Misses       8147     8142       -5     
- Partials     1724     1727       +3     
Files with missing lines Coverage Δ
ipns/record.go 75.37% <100.00%> (+0.07%) ⬆️
ipns/validation.go 58.26% <100.00%> (+0.66%) ⬆️
namesys/ipns_resolver.go 53.08% <100.00%> (+3.70%) ⬆️
namesys/namesys_cache.go 55.55% <100.00%> (+8.33%) ⬆️
routing/http/server/server.go 79.09% <100.00%> (+1.26%) ⬆️
gateway/handler_ipns_record.go 28.33% <63.63%> (+8.72%) ⬆️
internal/ipnstest/ipnstest.go 64.70% <64.70%> (ø)

... and 6 files with indirect coverage changes

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