-
Notifications
You must be signed in to change notification settings - Fork 146
fix: set failure reason regardless of crash policy #3835
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-09-feat_add_metrics_to_pb_guard
Are you sure you want to change the base?
fix: set failure reason regardless of crash policy #3835
Conversation
f7e33e7 to
b613527
Compare
9297e74 to
442651f
Compare
Code Review: Set failure reason regardless of crash policySummaryThis PR fixes a logic issue where failure reasons were only being set for certain crash policies, when they should be set unconditionally. The changes improve error tracking and debugging by ensuring failure reasons are always recorded when actors crash or are lost. Changes Overview
Positive Aspects✅ Correct logic flow - The restructuring makes the code much clearer: failure reasons are set early regardless of what happens next ✅ Better error visibility - Failure reasons are now tracked consistently across all crash policies (Restart, Sleep, and Complete) ✅ Improved workflow debug - The fix in ✅ Proper failure reason precedence - Runner failures continue to take precedence over actor crashes (via Issues & Concerns1. Missing Test Coverage
|
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: |
b613527 to
b4daf93
Compare
7915d6f to
258ae43
Compare
0b9ca2f to
1a08758
Compare
42cfc6d to
506742d
Compare
1a08758 to
5b1c724
Compare
506742d to
ca4cbfc
Compare
5b1c724 to
8152462
Compare
ca4cbfc to
8102256
Compare
8152462 to
82ed36d
Compare
82ed36d to
f5a4f68
Compare
4b907cb to
dc985c0
Compare
f5a4f68 to
9e4ae6f
Compare
dc985c0 to
f3f7d72
Compare
9e4ae6f to
595d7b8
Compare
595d7b8 to
250667d
Compare
f3f7d72 to
ae1c40c
Compare

No description provided.