fix(core): enforce maxElapsed against wall-clock in ExponentialBackoff.execute#4298
Conversation
🦋 Changeset detectedLatest commit: 7daa990 The changes in this PR will be included in the next version bump. This PR includes changesets to release 26 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hi @ANSHSINGH050404, thanks for your interest in contributing! This project requires that pull request authors are vouched, and you are not in the list of vouched users. This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughUpdated ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #3726
Checklist
Summary
execute()tracked callback elapsed time but never enforcedmaxElapsedagainst wall-clock (only sleep delays counted inretryAsync).Fix
Abort the loop when wall-clock since start exceeds
maxElapsedseconds.Vouch request: #4290