Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A workflow run that ended
failed,timed_outorcancelledcould not be continued; retrying meant a new run that re-paid every worker that had already succeeded. The run's replay cache already answers finished calls, so a retry now reuses it.run_workflowtakesretry_run_id(noscript/name/args);retry_insets the settled run back torunning(clears error/result/finished time and the wake claim, lowers limits if asked) and drives it from its saved script through the existingresume_one.doneandrunningruns are refused._rustcode/workflows/retry, routed through the asking app like Resume (fix(engine): resume a workflow run through the app that asked #4413).retryWorkflow,canRetry), and the mock answers it.docs/workflows.md: Retrying a run.Changelog
Workflow runs that failed, timed out or were stopped can be retried from their card; finished workers are kept and only the failed ones run again.
Testing
bun run checkinapps/desktop(3340 pass),cargo fmt --check,scripts/check-comments.py,scripts/check-rust-size.pylocally; engine unit tests for retry, refusals and validation run in CI.Closes #4383