fix(rivetkit): clean up cron history efficiently#5427
Conversation
|
🚅 Deployed to the rivet-pr-5427 environment in rivet-frontend
|
ReviewReviewed the core Rust scheduling logic, the vbare inspector protocol bump (v6), NAPI/WASM bindings + the Rust Correctness: schedules feature-gate uses an already-released version number
const MIN_RIVETKIT_VERSION_SCHEDULES = "2.3.4";
const MIN_RIVETKIT_VERSION_INSPECTOR_NEGOTIATION = "2.3.4";
Previously-flagged schema migration issue looks resolvedAn earlier pass on this PR flagged Other findingsFrontend
rivetkit-core (schedule.rs)
Inspector protocol (v6.bare / versioned.rs / inspector_ws.rs)
NAPI / WASM / rivetkit (Rust)
SummaryDesign (versioned inspector protocol bump, bounded history, core-owns-lifecycle layering, DST-aware cron scheduling) is solid and generally well tested. The version-gate constant reusing an already-shipped release number is a real correctness bug worth fixing before merge; the duration-formatting singular/plural bug is a small but user-visible cosmetic fix. Everything else here is coverage/consistency polish, not a blocker. |
ReviewSummary This fixes a real bug. The global history-cap prune query was also rewritten from a Findings
The comment at the top of Recommend appending a new migration group instead (
Nits
|
05a8348 to
5112829
Compare
No description provided.