fix(rivetkit): add lifecycle error retry and gateway HTTP routing#4666
Conversation
PR Review: fix(rivetkit): add lifecycle error retry and gateway HTTP routingOverviewThis PR adds two distinct improvements:
Specific Issues
When
In the
The delay calculation is
Missing unit tests for The classification logic covers multiple legacy string patterns, a depth-limited error chain walk, and two distinct retry kinds. This is the highest-risk new code in the PR — a unit test file exercising each classification case ( Minor Notes
SummaryThe design intent is sound and the error classification approach is well-structured. The main concerns before merge are: the |
Preview packages published to npmInstall with: npm install rivetkit@pr-4666All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-c672e53
docker pull rivetdev/engine:full-c672e53Individual packagesnpm install rivetkit@pr-4666
npm install @rivetkit/react@pr-4666
npm install @rivetkit/rivetkit-native@pr-4666
npm install @rivetkit/workflow-engine@pr-4666 |
ef47c7e to
cde8213
Compare
e7dee2a to
9c8c5fb
Compare
cde8213 to
8cf4223
Compare
8cf4223 to
6987ecc
Compare
6987ecc to
d17056c
Compare
0eb8697 to
f5ff8fb
Compare
d17056c to
df32e78
Compare
f5ff8fb to
65bf5d3
Compare
df32e78 to
2a5bc46
Compare
65bf5d3 to
645a697
Compare
2a5bc46 to
0d9c403
Compare
645a697 to
731cecf
Compare
0d9c403 to
110fc1e
Compare
731cecf to
a5ee22e
Compare
110fc1e to
41c83ab
Compare
|
Landed in main via stack-merge fast-forward push. Commits are in main; closing to match. |

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: