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

Strict index builder timeout + exceptions are not catched. #8525

Merged
merged 4 commits into from
Feb 24, 2025

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Feb 3, 2025

  • A safeguard to wait at least an hour before crashing the VM, just in case we have a crash loop.
  • Note: this only has a top-level timeout, we could add lower-level timeouts, but the top-level catch-all should also be updated to rethrow either way.

@isoos isoos requested review from jonasfj and sigurdm February 3, 2025 16:47
@isoos isoos force-pushed the index-builder branch 2 times, most recently from d1ef1f7 to 93c3d5c Compare February 12, 2025 15:49
_logger.warning('Snapshot update failed.', e, st);
_logger.pubNoticeShout(
'snapshot-building', 'Snapshot update failed.', e, st);
// Force waiting at least an hour before we rethrow the exception
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this to avoid too quick cycling of restarts? Could you explain that in this comment?

@isoos isoos merged commit 5c7889b into dart-lang:master Feb 24, 2025
31 checks passed
@isoos isoos deleted the index-builder branch February 24, 2025 08:25
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.

2 participants