refactor(pegboard-gateway2): consolidate hibernation in-flight and tunnel flush#4754
Conversation
0cda947 to
7a5e467
Compare
de1ee1c to
5ef7bf6
Compare
5ef7bf6 to
33350df
Compare
7a5e467 to
edbe0c5
Compare
PR Review:
|
Close handshake fix (try_next() after hibernate) |
Correct |
Hard abort on task cancellation + is_cancelled() guard |
Correct |
| Buffering during reconnect window | Correct, but unbounded |
wait_for_envoy_websocket_open duplication |
Refactor recommended |
should_buffer parentheses |
Clarity fix |
delete call error propagation |
Bug risk |
initial_messages drain yield |
Robustness improvement |
The logic is sound. Addressing the duplication and the delete error propagation are the most important items before merge.
Review: refactor(pegboard-gateway2): consolidate hibernation in-flight and tunnel flushThe changes are well-motivated and fix real race conditions in the hibernation handover path. Overall the approach is sound; a few things worth addressing. 1. Significant code duplication in
|
Preview packages published to npmInstall with: npm install rivetkit@pr-4754All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-fdc5894
docker pull rivetdev/engine:full-fdc5894Individual packagesnpm install rivetkit@pr-4754
npm install @rivetkit/react@pr-4754
npm install @rivetkit/rivetkit-napi@pr-4754
npm install @rivetkit/workflow-engine@pr-4754 |
1 similar comment
Preview packages published to npmInstall with: npm install rivetkit@pr-4754All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-fdc5894
docker pull rivetdev/engine:full-fdc5894Individual packagesnpm install rivetkit@pr-4754
npm install @rivetkit/react@pr-4754
npm install @rivetkit/rivetkit-napi@pr-4754
npm install @rivetkit/workflow-engine@pr-4754 |

Extracts pegboard-gateway2 refinements previously embedded in #4701 and #4711 into a dedicated engine PR on top of
04-24-chore_kitchen-sink_configurable_endpoint.