-
Notifications
You must be signed in to change notification settings - Fork 114
fix(pegboard): fix collecting metrics for actors without workflows #2519
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
Conversation
Deploying rivet with
|
Latest commit: |
4527a1a
|
Status: | ✅ Deploy successful! |
Preview URL: | https://e2bc9dc2.rivet.pages.dev |
Branch Preview URL: | https://05-31-fix-pegboard-fix-colle.rivet.pages.dev |
Deploying rivet-hub with
|
Latest commit: |
4527a1a
|
Status: | ✅ Deploy successful! |
Preview URL: | https://3febe489.rivet-hub-7jb.pages.dev |
Branch Preview URL: | https://05-31-fix-pegboard-fix-colle.rivet-hub-7jb.pages.dev |
dff268d
to
4527a1a
Compare
64ab176
to
64361fd
Compare
Deploying rivet-studio with
|
Latest commit: |
4527a1a
|
Status: | ✅ Deploy successful! |
Preview URL: | https://35dede06.rivet-studio.pages.dev |
Branch Preview URL: | https://05-31-fix-pegboard-fix-colle.rivet-studio.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Improves error handling in pegboard_actor_get
to handle actors without workflows, preventing complete function failure when collecting metrics. The function now gracefully handles WorkflowNotFound
errors by skipping those actors and continuing with the remaining ones.
- Modified error handling around
sqlite_for_workflow
to returnNone
instead of failing when workflow is not found - Added specific error pattern matching for
WorkflowError::WorkflowNotFound
- Ensures metrics collection continues for valid actors even when some workflows are missing
- Improves system resilience by handling completed/missing workflow scenarios
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Merge activity
|
…2519) <!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
Changes