feat(workflow-engine): add retryOnTimeout opt-in for step timeout retries#5089
Conversation
|
🚅 Deployed to the rivet-pr-5089 environment in rivet-frontend
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Review: feat(workflow-engine): add retryOnTimeout opt-in for step timeout retriesThis is a clean, minimal feature addition. The core logic is correct and backward-compatible. CorrectnessThe implementation looks correct:
Issue: retryOnTimeout: true changes the thrown error class on exhaustionDefault (retryOnTimeout: false): timeout Opt-in (retryOnTimeout: true + retries exhausted): timeout These are different types, which matters for callers using Issue: Test uses real wall-clock timers in the yield-mode pathPer the repo conventions, flaky timing should use Minor: JSDoc commentThe new JSDoc on Overall: the feature is well-scoped and the logic is sound. The two things I would address before merging are (1) a brief note in the docs/JSDoc about the |
f7b5398 to
a7e1162
Compare
9dc7e20 to
9a50acb
Compare
a7e1162 to
fccc091
Compare
9a50acb to
8f91d91
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: