-
Notifications
You must be signed in to change notification settings - Fork 6
docs(integrations): sync from rivet-dev/rivet #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| import { actor } from "rivetkit"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 Medium · Keep unrelated Actors files out of the integrations sync The refreshed diff still contains no integration page that references this snippet; the current base ships the identical file under |
||
| import { db } from "rivetkit/db"; | ||
|
|
||
| export const myActor = actor({ | ||
| db: db(), | ||
| actions: { | ||
| logCache: async (c) => { | ||
| await c.db.execute("SELECT 1"); | ||
| const metrics = await c.db.nativeMetrics?.(); | ||
| if (metrics) { | ||
| c.log.info({ msg: "SQLite cache", ...metrics }); | ||
| } | ||
| }, | ||
| }, | ||
| }); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 Medium · Keep the Actors-only snippet out of the integrations bundle
No page in
vendor/integrations/docs/contentreferences this snippet, while the current base already ships the identical file undervendor/actors/and references it from the Actors performance-monitoring page. This update therefore adds only a dead duplicate and causes the integrations sync to churn whenever an unrelated Actors example changes. Scope the integrations sync's extra paths to snippets referenced bydocs/integrations(or otherwise omit this Actors-only file) in the upstream sync configuration.