Skip to content

Allow a max number of retries after a block fails #2157

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

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

Conversation

bim9262
Copy link
Collaborator

@bim9262 bim9262 commented Apr 22, 2025

if max_retries is not set then no limit is used (same as previous behavior).

Fixes #2152

if `max_retries` is not set then no limit is used (same as previous
behavior).

Fixes greshake#2152
@bim9262
Copy link
Collaborator Author

bim9262 commented Apr 30, 2025

Rebased to resolve merge conflict.

@bim9262 bim9262 requested a review from MaxVerevkin April 30, 2025 03:01
@bim9262 bim9262 force-pushed the max_retries branch 2 times, most recently from 57e65c3 to e7b4ee8 Compare May 4, 2025 20:24
After a block fails, the user can click the retry button to restart the block.
This is nicer than having to restart the whole status bar, or sending a signal.
@bim9262
Copy link
Collaborator Author

bim9262 commented May 6, 2025

I think that with the introduction of a restart button, I'd be ok with setting the default number of retries to some small number (perhaps 5), instead of always allowing unlimited retries. What do you think @ammgws @MaxVerevkin?

@MaxVerevkin
Copy link
Collaborator

I think that with the introduction of a restart button, I'd be ok with setting the default number of retries to some small number (perhaps 5), instead of always allowing unlimited retries. What do you think @ammgws @MaxVerevkin?

I personally think that at least network failures should be retried indefinitely.

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.

Blocks probably shouldn't retry infinitely in fail state
2 participants