fix(rivetkit): require engine ping for health#5022
Conversation
Review: fix(rivetkit): require engine ping for healthOverviewThis PR fixes a real bug: Bug: Inconsistent health semantics between native Rust and NAPI pathsThe two serverless health implementations diverge for the "no active envoy yet" case: Native Rust path ( guard
.as_ref()
.map(|handle| handle.is_ping_healthy())
.unwrap_or(true) // no envoy → healthyNAPI path ( None => health_response(503, "engine_ping_stale", &version), // no envoy → unhealthyIn serverless mode the envoy is lazy — it is only created on the first The status string The Positives
Minor notes
|
6918d52 to
8e4c5f6
Compare
8e4c5f6 to
eaa41b2
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: