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: deterministic state while detecting corrupt keys #133

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

PhearZero
Copy link
Member

ℹ Overview

forrest-gump-lieutenant-dan

📝 Related Issues

✅ Acceptance:

  • Pre-commit checks pass

@PhearZero PhearZero added the bug Something isn't working label Jan 23, 2025
@PhearZero PhearZero added this to the Milestone 2 milestone Jan 23, 2025
@PhearZero PhearZero self-assigned this Jan 23, 2025
@PhearZero PhearZero requested a review from tasosbit January 23, 2025 02:41
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 3.33333% with 87 lines in your changes missing coverage. Please review.

Project coverage is 32.78%. Comparing base (90b769d) to head (d87ce8c).
Report is 4 commits behind head on v1.2.0.

Files with missing lines Patch % Lines
ui/modal/controller.go 4.83% 59 Missing ⚠️
internal/algod/participation/participation.go 0.00% 25 Missing ⚠️
ui/modal/model.go 0.00% 3 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (90b769d) and HEAD (d87ce8c). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (90b769d) HEAD (d87ce8c)
3 1
Additional details and impacted files
@@             Coverage Diff             @@
##           v1.2.0     #133       +/-   ##
===========================================
- Coverage   44.40%   32.78%   -11.63%     
===========================================
  Files          76       76               
  Lines        6308     6333       +25     
===========================================
- Hits         2801     2076      -725     
- Misses       3277     4146      +869     
+ Partials      230      111      -119     

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

Copy link

cloudflare-workers-and-pages bot commented Jan 23, 2025

Deploying nodekit-run with  Cloudflare Pages  Cloudflare Pages

Latest commit: d87ce8c
Status: ✅  Deploy successful!
Preview URL: https://23857438.nodekit-run.pages.dev
Branch Preview URL: https://fix-finding.nodekit-run.pages.dev

View logs

@PhearZero PhearZero merged commit aaf752c into v1.2.0 Jan 23, 2025
2 checks passed
Comment on lines +87 to +91
if ok {
if acct.Participation != nil && acct.Status == "Offline" {
m.SetSuspended(true)
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to else setsuspended false here? otherwise how is the suspended flag cleared after the user has re-reged online?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants