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: avoid warnings on recovery from mid session crash #3775

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

joschisan
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5a276f4) 57.71% compared to head (664aa75) 57.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3775      +/-   ##
==========================================
- Coverage   57.71%   57.69%   -0.03%     
==========================================
  Files         193      193              
  Lines       42055    42053       -2     
==========================================
- Hits        24273    24261      -12     
- Misses      17782    17792      +10     

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

@joschisan joschisan marked this pull request as ready for review November 28, 2023 20:32
@joschisan joschisan requested review from a team as code owners November 28, 2023 20:32
Copy link
Contributor

@elsirion elsirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this approach works well for this particular case but should otherwise be discouraged. What do you think @dpc? The alternative would be disabling the warning also on the other early return, which would be more standard.

@joschisan joschisan added this pull request to the merge queue Nov 28, 2023
@elsirion elsirion removed this pull request from the merge queue due to a manual request Nov 28, 2023
@elsirion
Copy link
Contributor

Waiting for DPC ;)

@elsirion elsirion requested a review from dpc November 28, 2023 21:33
@dpc
Copy link
Contributor

dpc commented Nov 28, 2023

LGTM. The less mutation, the better, but whatever is simpler works, and it"s all just diagnostics anyway.

@dpc dpc added this pull request to the merge queue Nov 28, 2023
Merged via the queue into fedimint:master with commit ab373b9 Nov 28, 2023
21 of 22 checks passed
@fedimint-backports
Copy link

Successfully created backport PR for releases/v0.2:

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.

4 participants