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

feat: exit with error when an anchor worker fails to anchor a batch #1187

Merged

Conversation

stephhuynh18
Copy link
Contributor

@stephhuynh18 stephhuynh18 commented Mar 9, 2024

Before: retry 3 times before erroring out
After: no retries, better for debugging

Tested:
tested manually
altered unit test

Copy link

linear bot commented Mar 9, 2024

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 55.55556% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 81.30%. Comparing base (e39a853) to head (54e6386).

Files Patch % Lines
src/app.ts 0.00% 3 Missing ⚠️
src/services/task-scheduler-service.ts 83.33% 1 Missing ⚠️

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1187      +/-   ##
===========================================
- Coverage    81.38%   81.30%   -0.08%     
===========================================
  Files           46       46              
  Lines         1816     1819       +3     
  Branches       283      285       +2     
===========================================
+ Hits          1478     1479       +1     
- Misses         338      340       +2     

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

@stephhuynh18 stephhuynh18 requested review from ukstv and smrz2001 March 12, 2024 20:32
Copy link
Contributor

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

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

🥳 🚀

@stephhuynh18 stephhuynh18 removed the request for review from ukstv March 12, 2024 22:32
@stephhuynh18 stephhuynh18 merged commit 14771a4 into develop Mar 12, 2024
6 checks passed
@stephhuynh18 stephhuynh18 deleted the feature/ws2-2998-exit-anchor-worker-when-a-batch-fails branch March 12, 2024 22:32
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