-
Notifications
You must be signed in to change notification settings - Fork 129
chore(rivetkit): auto-update auto-start engine version #3344
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
chore(rivetkit): auto-update auto-start engine version #3344
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Code ReviewSummaryThis PR updates the default engine version from a hardcoded value ( ✅ Positive Observations
🔍 Considerations & Recommendations1. Version Synchronization AssumptionThe change assumes that the RivetKit package version (currently
Question: Is the RivetKit version always compatible with the same-versioned engine? If they have different versioning schemes or release cycles, this could cause issues. 2. Test CoverageNo tests were added or modified for this change. Consider adding a test to verify:
Example test location: 3. DocumentationConsider documenting this behavior in:
Current comment just says /**
* @experimental
* Version of the engine to auto-start.
* Defaults to the RivetKit package version unless RIVET_RUN_ENGINE_VERSION is set.
*/4. Pre-release Version HandlingThe current package version is
The 🎯 Overall AssessmentRecommendation: Approve with minor suggestions The change is well-scoped and improves maintainability. The main considerations are:
The code change itself is clean and follows existing patterns in the codebase. Note: This is an automated review. Please validate the version compatibility assumptions and consider the testing recommendations. |
70ec891 to
e7f7c04
Compare
700a49a to
34d8908
Compare
|
Deployment failed with the following error: Learn More: https://vercel.com/docs/limits#rate-limits |
PR Review - chore(rivetkit): auto-update auto-start engine versionOverviewThis PR replaces a hardcoded engine version string ( ✅ Positive Aspects
🤔 Considerations
🔒 Security & Performance
📝 Suggested Improvements (Optional)
describe('RunnerConfigSchema', () => {
it('should default runEngineVersion to VERSION when env var not set', () => {
delete process.env.RIVET_RUN_ENGINE_VERSION;
const config = RunnerConfigSchema.parse({});
expect(config.runEngineVersion).toBe(VERSION);
});
});
✅ VerdictThis is a solid improvement that reduces maintenance burden and follows existing patterns in the codebase. The change is safe to merge, though you may want to consider the semantic versioning implications and test coverage suggestions above. Approval: ✅ Approved with minor suggestions for consideration. |
63d1984 to
c9797c4
Compare
34d8908 to
5ad7f89
Compare
PR Review: Auto-update auto-start engine versionSummaryThis PR replaces the hardcoded engine version ( Code Quality ✅Positive aspects:
Observations:
Functionality ✅The change maintains the same logic flow:
The VERSION is sourced from import pkgJson from "../package.json" with { type: "json" };
export const VERSION = pkgJson.version;This value is used by
Potential Concerns
|
Merge activity
|

No description provided.