fix(rivetkit-napi): plumb ctx through serializeState TSF and stop panicking on runtime_state Ref drop#4725
Conversation
Code ReviewPR: fix(rivetkit-napi): plumb ctx through serializeState TSF and stop panicking on runtime_state Ref drop OverviewThis PR makes four targeted fixes in the NAPI bridge:
Critical Issue
// actor_factory.rs — From<JsActorConfig> for ActorConfigInput
Self {
name: value.name,
icon: value.icon,
has_database: value.has_database, // ERROR: no field `has_database` on ActorConfigInput
...
}Resolution options:
|
8ec77ea to
d7a8cbb
Compare
1dfe1ec to
51a0ff9
Compare
51a0ff9 to
e0c30f6
Compare
e0c30f6 to
94270d3
Compare
3a2efdf to
d3104cb
Compare
94270d3 to
9009f05
Compare
d3104cb to
c0106f8
Compare
9009f05 to
0e8d52d
Compare
c0106f8 to
441610e
Compare
32b9abd to
8e8783c
Compare
…icking on runtime_state Ref drop
8e8783c to
81178fa
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: