chore(kitchen-sink): add rivet cloud deploy workflow#5100
chore(kitchen-sink): add rivet cloud deploy workflow#5100NathanFlurry wants to merge 39 commits into
Conversation
|
🚅 Deployed to the rivet-pr-5100 environment in rivet-frontend
|
5e5d446 to
4971f55
Compare
Code Review: PR #5100 — chore(kitchen-sink): add rivet cloud deploy workflowThis PR adds significant observability infrastructure (Prometheus metrics in 🚨 Security
// http.rs — no auth check before calling render
fn handle_metrics_fetch(request: &Request, envoy_status: Option<&CoreEnvoyStatus>) -> Result<HttpResponse> {
let metrics = crate::metrics_endpoint::render_prometheus_metrics(envoy_status)?;
bytes_response(StatusCode::OK, &metrics.content_type, metrics.body)
}The fix is to extract the 🐛 Correctness
The doc comment says "Fresh envoys start healthy until the threshold elapses without a ping", but the implementation contradicts this. pub fn is_ping_healthy(&self) -> bool {
self.last_ping_age_ms()
.is_some_and(|age_ms| age_ms < Self::PING_HEALTHY_THRESHOLD_MS) // None → false
}Fix: return
Fix: drain and sub
After the read loop exits,
Lines 320–322 declare 🔧 Style / CLAUDE.md violations
pub actors: Arc<StdMutex<HashMap<String, HashMap<u32, SharedActorEntry>>>>,
pub live_tunnel_requests: Arc<StdMutex<HashMap<[u8; 8], String>>>,
pub pending_hibernation_restores: Arc<StdMutex<HashMap<...>>>,CLAUDE.md: "Never use
Positive notes
|
4971f55 to
674bdef
Compare
674bdef to
a9f91b3
Compare
a9f91b3 to
5a5c57d
Compare
5a5c57d to
105d3ba
Compare
105d3ba to
f1500d7
Compare
f1500d7 to
7a03edc
Compare
7a03edc to
142a4ca
Compare
142a4ca to
c4d3c0e
Compare
c4d3c0e to
2a6829a
Compare
2a6829a to
030662e
Compare
030662e to
628a849
Compare
… for ws transport and sqlite request lifecycle
…t-timeout to prevent silent destroy
chore(envoy-client): init new backpressure tracking fields
…cing" This reverts commit d881a64.
…ason, ws traffic, and js runtime metrics
cd9c41e to
fc8f8ac
Compare
Adds a kitchen-sink-scoped GitHub Action that builds
examples/kitchen-sink/Dockerfileand deploys it to a Rivet Cloud managed pool viarivet-dev/deploy-action@v1.1.0.examples/kitchen-sink/**and the rivetkit / engine SDK / shared TS packages the Dockerfile copies in.PORT=8080to match the Dockerfile'sEXPOSE 8080.KITCHEN_SINK_RIVET_CLOUD_TOKENrepo secret.examples/kitchen-sink/CLAUDE.md.