Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { actor } from "rivetkit";

Copy link
Copy Markdown

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/content references this snippet, while the current base already ships the identical file under vendor/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 by docs/integrations (or otherwise omit this Actors-only file) in the upstream sync configuration.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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 vendor/actors/, where the performance-monitoring page uses it. The accompanying examples/docs/package.json version change is likewise unrelated to the integration bundle's referenced snippets. Both changes are churn from copying the repository-wide examples/docs tree into every bundle rather than integration content. Scope this sync's extra paths to files referenced by docs/integrations (or otherwise omit these Actors-only updates) in the upstream configuration.

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 });
}
},
},
});
4 changes: 2 additions & 2 deletions vendor/integrations/examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@rivetkit/rivetkit-wasm": "workspace:*",
"@rivetkit/supabase": "workspace:*",
"@rivetkit/effect": "workspace:*",
"effect": "4.0.0-beta.66",
"@effect/platform-node": "4.0.0-beta.66",
"effect": "4.0.0",
"@effect/platform-node": "4.0.0",
"@ai-sdk/openai": "^3.0.30",
"ai": "^6.0.92",
"hono": "^4.7.0",
Expand Down
Loading