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

Check for no addrs before constructing syncer #155

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

masih
Copy link
Member

@masih masih commented Feb 14, 2024

Assert that a there are addresses associated to a remote peer before constructing a syncer.

@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (08d98c2) 61.90% compared to head (ec072f2) 62.15%.

Files Patch % Lines
dagsync/ipnisync/sync.go 25.00% 6 Missing and 3 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
+ Coverage   61.90%   62.15%   +0.25%     
==========================================
  Files          49       49              
  Lines        4318     4318              
==========================================
+ Hits         2673     2684      +11     
+ Misses       1347     1336      -11     
  Partials      298      298              

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

masih added a commit that referenced this pull request Feb 14, 2024
Check for empty addrs earlier when instantiating syncer.

Patch fix for v0.5.11.

See #155 for fix on `main`.
masih added a commit that referenced this pull request Feb 15, 2024
Check for empty addrs earlier when instantiating syncer or subscriber.

Patch fix for v0.5.11.

See #155 for fix on `main`.
masih added a commit that referenced this pull request Feb 15, 2024
Check for empty addrs earlier when instantiating syncer or subscriber.

Patch fix for v0.5.11.

See #155 for fix on `main`.
masih added a commit that referenced this pull request Feb 15, 2024
Check for empty addrs earlier when instantiating syncer or subscriber.

Patch fix for v0.5.11.

See #155 for fix on `main`.
Assert that a there are addresses associated to a remote peer before
constructing a syncer.
@masih masih force-pushed the masih/fix-check-for-addrs branch from ec072f2 to 95d53a9 Compare February 15, 2024 16:24
masih added a commit that referenced this pull request Feb 15, 2024
Check for empty addrs earlier when instantiating syncer or subscriber.

Patch fix for v0.5.11.

See #155 for fix on `main`.
@masih masih merged commit 47e70e2 into main Feb 15, 2024
7 checks passed
@masih masih deleted the masih/fix-check-for-addrs branch February 15, 2024 16:29
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.

3 participants