Conversation
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
🚅 Deployed to the rivet-pr-4307 environment in rivet-frontend
|
PR Review: chore: sqlite launchThis PR adds a blog/changelog post announcing SQLite for Rivet Actors. The content is well-written and the code examples are technically accurate. One critical issue needs to be resolved before merging. Critical IssueIncomplete "Built-in Database Explorer" section (line 357–358) The section contains only a This will be published verbatim if merged. Either fill in the content or remove the section heading entirely before shipping. Minor IssuesDuplicate imports from the same module in the Drizzle example The Drizzle tab has two separate import lines from import { db } from "rivetkit/db/drizzle";
import { integer, sqliteTable, text } from "rivetkit/db/drizzle";These should be merged into a single import: import { db, integer, sqliteTable, text } from "rivetkit/db/drizzle";Drizzle import inconsistency The Drizzle example imports schema types from import { eq } from "drizzle-orm";This is technically correct (operators live in React In the Realtime React example: useEffect(() => {
if (!connection) return;
connection.getTodos().then(setTodos);
}, [connection]);This lacks cleanup to guard against state updates on unmounted components or stale closures when useEffect(() => {
if (!connection) return;
let cancelled = false;
connection.getTodos().then((todos) => { if (!cancelled) setTodos(todos); });
return () => { cancelled = true; };
}, [connection]);Confirmations
The TODO placeholder is the only blocker. Everything else is polish. |

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: