fix(rivetkit): restore hibernatable sockets and hydrate serverless starts#4658
Conversation
PR Review: fix(rivetkit): restore hibernatable sockets and hydrate serverless startsOverviewThis PR fixes hibernatable WebSocket restore and serverless start hydration for the engine actor driver. The core change introduces two new binding registries ( Bugs / Correctness Issues1. Log field inconsistency: In the 2. In 3. Single A single failure in 4. When Code Quality5. Multiple 6. Unhandled throws inside In 7. Double-logging in
Performance8. O(n) scans in rebind helpers Both Test CoverageThe PR description leaves all test checklist items unchecked. There are no new tests covering:
Given the complexity of the two new binding maps and their detach/rebind/cleanup paths, the absence of tests is the highest-risk aspect of this change. At minimum, a driver test covering the hibernation-wake-message-delivery round trip would catch regressions early. Minor / Nits
|
26f98bc to
fde1e0b
Compare
ccc38b5 to
8293235
Compare
fde1e0b to
789b9cd
Compare
1ba6a3b to
de87a8b
Compare
de87a8b to
af4bf6c
Compare
0626b1c to
c5d1d60
Compare
af4bf6c to
34a6f24
Compare
34a6f24 to
dd26dea
Compare
262f7a5 to
8e558ae
Compare
dd26dea to
0e297a0
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: