test(engine): cover envoy Sleep crash policy wake and recovery paths#4816
Conversation
Code Review: PR #4816 —
|
| Severity | Issue |
|---|---|
| Minor | Two inner poll loops lack a timeout, producing unhelpful failure messages on regression. |
| Nit | Redundant assert!(actor.connectable_ts.is_some()) after loops that already guarantee this. |
| Nit | Em dash (—) in a comment block, violating CLAUDE.md style. |
| Info | reqwest::Client::new() per-spawn is consistent with existing test code but not ideal. |
None of the issues are blockers. This is a clean, well-motivated addition of missing test coverage. Recommend merging after addressing the em dash nit (the only CLAUDE.md violation) and optionally wrapping the unbounded inner loops with timeouts for better failure diagnostics.
df86b9b to
b0976d0
Compare
3bb9717 to
9b501ed
Compare
b0976d0 to
0e9363a
Compare
9b501ed to
58ff56b
Compare
2861431 to
ff021cb
Compare
ff021cb to
b9734d6
Compare
3d61f72 to
6d1d4e3
Compare
6d1d4e3 to
ee84fb7
Compare
b9734d6 to
1109409
Compare
1109409 to
48a6f5b
Compare
ee84fb7 to
0c85098
Compare
|
Landed in main via stack-merge fast-forward push. Commits are in main; closing to match. |
Preview packages published to npmInstall with: npm install rivetkit@pr-4816All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-86daff8
docker pull rivetdev/engine:full-86daff8Individual packagesnpm install rivetkit@pr-4816
npm install @rivetkit/react@pr-4816
npm install @rivetkit/rivetkit-napi@pr-4816
npm install @rivetkit/workflow-engine@pr-4816 |

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: