-
Notifications
You must be signed in to change notification settings - Fork 146
fix(drivers/fs): return proper data for all endpoints #3808
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
fix(drivers/fs): return proper data for all endpoints #3808
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
|
🚅 Deployed to the rivet-pr-3808 environment in rivet-frontend
|
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. |
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/virtual-websocket
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
PR Review: fix(drivers/fs): return proper data for all endpointsSummaryThis PR addresses an important issue with the file system driver where actor endpoints were not returning complete timestamp data. The changes improve code organization through:
However, I notice a discrepancy between the PR description and the actual changes made. Issues Found🚨 Critical: PR Description MismatchThe PR description mentions creating a
Looking at the current code (manager.ts:335-347), there IS a
This suggests one of two scenarios:
Could you clarify which scenario applies? Code Quality Assessment✅ Positives
Import OrganizationThe changes improve import organization by grouping type imports: // Before: Mixed regular and type imports
import { ClientConfigSchema } from "@/client/config";
import { logger } from "./log";
import { RegistryConfig, DriverConfig } from "@/registry/config";
import { GetUpgradeWebSocket } from "@/utils";
// After: Type imports grouped together
import type { DriverConfig, RegistryConfig } from "@/registry/config";
import type { GetUpgradeWebSocket } from "@/utils";Verification NotesTesting the Helper FunctionThe existing
Consistency CheckAll 5 endpoints that return
Recommendations
ConclusionVerdict: ✅ Approve with clarification needed The code changes are solid - import cleanup is always beneficial. However, the PR description needs to be updated to match the actual changes, or you need to explain if this is part of a larger changeset where the helper function was already added. The existing |
Graphite Automations"Test" took an action on this PR • (01/10/26)1 assignee was added to this PR based on Kacper Wojciechowski's automation. |
02177f1 to
6d330ea
Compare

TL;DR
Added a helper function to standardize actor output creation with timestamps.
What changed?
buildActorOutputhelper function that constructs anActorOutputobject with all timestamp fieldsActorOutputobject creation with calls to this helper functionHow to test?
Why make this change?
This refactoring improves code maintainability by centralizing the logic for building actor output objects. It eliminates duplication and ensures that all actor-related operations return consistent data structures with properly formatted timestamps. This change also makes it easier to modify the actor output format in the future, as changes would only need to be made in one place.