-
Notifications
You must be signed in to change notification settings - Fork 146
chore: clean up errors #3846
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: 01-12-fix_pb_have_restart_policy_actors_sleep_after_pending_for_too_long
Are you sure you want to change the base?
chore: clean up errors #3846
Conversation
Code Review - PR #3846: chore: clean up errorsSummaryThis PR cleans up the error handling structure by:
✅ Positive Changes1. Better Code Organization
2. Cleanup of Unused Errors
3. Test Improvements
🔍 Observations1. Error Artifact Files
2. Consistent Error Handling Pattern
📋 Minor Suggestions1. Consider Removing Dead Code ("guard", "actor_not_found") => StatusCode::NOT_FOUND,
("guard", "actor_destroyed") => StatusCode::NOT_FOUND,If these errors are truly unused, consider removing these mappings as well. However, if they're still possible from pegboard or other services, keeping them for defensive error handling is fine. 2. Error Message Clarity Err(anyhow::anyhow!("bad path: {}", path))✅ Code Quality Assessment
ConclusionThis is a clean refactoring PR that improves code organization and removes technical debt. The changes are low-risk and follow established patterns. The migration of Recommendation: ✅ Approve |
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: |
66f6892 to
485634a
Compare
363b7a5 to
3f06e1b
Compare
485634a to
964ae0f
Compare
3f06e1b to
8cd75d7
Compare
964ae0f to
f3c17ef
Compare
8cd75d7 to
75ce8e5
Compare
f3c17ef to
b5999a3
Compare
75ce8e5 to
50ba096
Compare
27fc351 to
77119ca
Compare
50ba096 to
b9a9c50
Compare
77119ca to
1fe301c
Compare
b9a9c50 to
9a4ab5a
Compare
830c32d to
dfbb13a
Compare
9a4ab5a to
33e8961
Compare
33e8961 to
633544a
Compare
dfbb13a to
81663b7
Compare
633544a to
e073155
Compare
81663b7 to
260900c
Compare

No description provided.