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

chore: halt production incase of production error #524

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

mtsitrin
Copy link
Contributor

PR Standards

Opening a pull request should be able to meet the following requirements


For Author:

  • Targeted PR against correct branch
  • included the correct type prefix in the PR title
  • Linked to Github issue with discussion and accepted design
  • Targets only one github issue
  • Wrote unit and integration tests
  • All CI checks have passed
  • Added relevant godoc comments

For Reviewer:

  • confirmed the correct type prefix in the PR title
  • Reviewers assigned
  • confirmed all author checklist items have been addressed

After reviewer approval:

  • In case targets main branch, PR should be squashed and merged.
  • In case PR targets a release branch, PR should be rebased.

@mtsitrin mtsitrin requested a review from a team as a code owner November 14, 2023 20:26
@mtsitrin mtsitrin linked an issue Nov 14, 2023 that may be closed by this pull request
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ec633de) 52.44% compared to head (595e0d6) 52.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #524   +/-   ##
=======================================
  Coverage   52.44%   52.44%           
=======================================
  Files         100      100           
  Lines       14685    14686    +1     
=======================================
+ Hits         7701     7702    +1     
  Misses       5879     5879           
  Partials     1105     1105           

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

@@ -93,6 +93,7 @@ func (m *Manager) ProduceBlockLoop(ctx context.Context) {
}
if err != nil {
m.logger.Error("error while producing block", "error", err)
m.shouldProduceBlocksCh <- false
Copy link
Contributor

Choose a reason for hiding this comment

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

Will it also change the status to "unhealthy"? Or will it crash the sequencer?

@mtsitrin mtsitrin merged commit 9b36bad into main Nov 16, 2023
5 checks passed
@mtsitrin mtsitrin deleted the mtsitrin/519-sequencer-crashes-and-cant-recover branch November 16, 2023 10:48
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.

Sequencer crashes and can't recover
2 participants