chore: move rivetkit to task model#4680
chore: move rivetkit to task model#4680NathanFlurry wants to merge 1 commit into04-16-chore_rivetkit_to_rustfrom
Conversation
|
🚅 Deployed to the rivet-pr-4680 environment in rivet-frontend
|
|
PR Review: chore: move rivetkit to task model (Draft, 3 files changed +345/-1496). OVERVIEW: Replaces the RivetKit Rust SDK PRD and progress log with a new rivetkit-core Actor Lifecycle task-model PRD. Drops rivetkit, rivetkit-client, serde_cbor, tokio-test from Cargo.lock. No Rust source files modified. CARGO.LOCK: Clean dependency removals. One concern: rustls-native-certs 0.8.3 is dropped for two packages. CLAUDE.md requires enabling BOTH rustls-tls-native-roots AND rustls-tls-webpki-roots together. Verify the affected crates are not still TLS-dependent (native-only breaks on Distroless/Alpine). PRD (27 new stories, all passes:false): Well-scoped to rivetkit-core + minimal envoy-client glue only, correctly excluding rivetkit-napi and TS. Each story anchors TS parity to feat/sqlite-vfs-v2 with line numbers. Bounded channel design (US-023) and ActivityDirty coalescing (US-021) are solid fits for the channel model. Minor concerns in PRD:
PROGRESS LOG: Truncation of ~500 lines of learnings from prior stories is intentional. Most patterns (BARE key layouts, N-API callback ordering) are already captured in CLAUDE.md. SUMMARY: Well-scoped planning PR. Verify rustls-native-certs removal does not break TLS for any remaining crates. The in_on_state_change TOCTOU in US-020 is the one design concern worth addressing before implementation. |

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: