Skip to content

Backport release/v6.3: bugfix: make router load addresses from peerdb#2944

Merged
pompon0 merged 4 commits intorelease/v6.3from
backport-2941-to-release/v6.3
Feb 21, 2026
Merged

Backport release/v6.3: bugfix: make router load addresses from peerdb#2944
pompon0 merged 4 commits intorelease/v6.3from
backport-2941-to-release/v6.3

Conversation

@seidroid
Copy link

@seidroid seidroid bot commented Feb 20, 2026

Backport of #2941 to release/v6.3.

Even though router was correctly storing the addresses of connected
peers to db, it was not loading them back on startup. Therefore router
was behaving as if peerdb did not exist in the first place. I have added
a test for the fix.

(cherry picked from commit e82324c)
@github-actions
Copy link

github-actions bot commented Feb 20, 2026

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedFeb 20, 2026, 9:53 PM

@pompon0 pompon0 enabled auto-merge (squash) February 20, 2026 20:05
@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.42%. Comparing base (51bd9a6) to head (1860d02).
⚠️ Report is 1 commits behind head on release/v6.3.

Files with missing lines Patch % Lines
sei-tendermint/libs/utils/testonly.go 0.00% 10 Missing ⚠️
sei-tendermint/internal/p2p/router.go 80.00% 1 Missing and 1 partial ⚠️

❌ Your patch status has failed because the patch coverage (45.45%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.
❌ Your project status has failed because the head coverage (38.45%) is below the target coverage (40.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##           release/v6.3    #2944      +/-   ##
================================================
- Coverage         43.45%   43.42%   -0.03%     
================================================
  Files              1866     1866              
  Lines            155361   155379      +18     
================================================
- Hits              67511    67481      -30     
- Misses            81814    81850      +36     
- Partials           6036     6048      +12     
Flag Coverage Δ
sei-chain 42.55% <ø> (+0.02%) ⬆️
sei-cosmos 38.21% <ø> (+<0.01%) ⬆️
sei-db 45.13% <ø> (-0.15%) ⬇️
sei-ibc-go 55.96% <ø> (ø)
sei-tendermint 47.48% <45.45%> (-0.11%) ⬇️
sei-wasmd 41.54% <ø> (-0.02%) ⬇️
sei-wasmvm 39.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sei-tendermint/internal/p2p/routeroptions.go 86.66% <100.00%> (+0.62%) ⬆️
sei-tendermint/internal/p2p/router.go 73.80% <80.00%> (+0.77%) ⬆️
sei-tendermint/libs/utils/testonly.go 6.86% <0.00%> (-0.75%) ⬇️

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pompon0 pompon0 merged commit cd62fb7 into release/v6.3 Feb 21, 2026
63 of 69 checks passed
@pompon0 pompon0 deleted the backport-2941-to-release/v6.3 branch February 21, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants