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

[#222] Prevent progress bar rendering from abort #269

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aeqz
Copy link
Contributor

@aeqz aeqz commented Jan 23, 2023

Description

Problem: It seems that the current progress bar rendering action is not completely protected against exceptions.

Solution: As it is an action that runs for a short amount of time and we really want it to not be interrputed, we can wrap it with uninterruptibleMask. The resulting rendering loop also gets simpler with this change.

Related issue(s)

Fixes #222

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from
      silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
  • Public contracts

    • Any modifications of public contracts comply with the Evolution
      of Public Contracts
      policy.
    • I added an entry to the changelog if my changes are visible to the users
      and
    • provided a migration guide for breaking changes if possible

Stylistic guide (mandatory)

Copy link
Member

@Martoon-00 Martoon-00 left a comment

Choose a reason for hiding this comment

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

That's what I meant, thank you 👍

However let's also wait for @dcastro's reply on this message, he is now back from vacation and I asked him to take a look when he has time.

@aeqz aeqz force-pushed the aeqz/#222-prevent-progress-bar-rendering-abort branch 2 times, most recently from fc991f9 to a7a85f7 Compare February 1, 2023 12:29
aeqz added 2 commits August 31, 2023 11:25
Problem: It seems that the current progress bar rendering action is not
completely protected against exceptions.

Solution: As it is an action that runs for a short amount of time and we
really want it to not be interrputed, we can wrap it with
uninterruptibleMask. The resulting rendering loop also gets simpler with
this change.
@aeqz aeqz force-pushed the aeqz/#222-prevent-progress-bar-rendering-abort branch from a7a85f7 to 202706e Compare August 31, 2023 09: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.

Make sure that even exception does not abort progress bar rendering on the middle
2 participants