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

fix(p2p): status regression after entrypoint refactor #1089

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

jansegre
Copy link
Member

@jansegre jansegre commented Jul 23, 2024

Motivation

After #1086 there were some other parts that broke that weren't covered by any test.

Acceptance Criteria

  • Add .entrypoints_str() helper method that returns a list of str serialized entrypoints
  • Use .entrypoints_str() where previously .entrypoints was used with the expectation of being a list of str
  • Add tests that cover the main 2 breakages: the status API and the PEER-ID message (when entrypoint is present)

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@jansegre jansegre self-assigned this Jul 23, 2024
@jansegre jansegre requested a review from msbrogli as a code owner July 23, 2024 21:35
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.86%. Comparing base (d2dde8f) to head (eecc99d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1089      +/-   ##
==========================================
+ Coverage   84.79%   84.86%   +0.07%     
==========================================
  Files         314      314              
  Lines       23900    23901       +1     
  Branches     3612     3609       -3     
==========================================
+ Hits        20265    20283      +18     
+ Misses       2917     2906      -11     
+ Partials      718      712       -6     

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

glevco
glevco previously approved these changes Jul 24, 2024
@jansegre jansegre force-pushed the fix/p2p-status-regression branch from e200f7b to d0c2b6b Compare July 25, 2024 17:55
@jansegre jansegre requested a review from glevco July 25, 2024 17:58
@jansegre jansegre force-pushed the fix/p2p-status-regression branch from d0c2b6b to eecc99d Compare July 25, 2024 17:59
@jansegre jansegre force-pushed the fix/p2p-status-regression branch from eecc99d to 2a15861 Compare July 25, 2024 20:59
@jansegre jansegre merged commit 3ffc83d into master Jul 25, 2024
10 of 11 checks passed
@jansegre jansegre deleted the fix/p2p-status-regression branch July 25, 2024 21:00
This was referenced Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants