Skip to content

Conversation

NathanFlurry
Copy link
Member

Changes

Copy link
Member Author

NathanFlurry commented Jun 2, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add 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.

Copy link

cloudflare-workers-and-pages bot commented Jun 2, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

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

View logs

Copy link

cloudflare-workers-and-pages bot commented Jun 2, 2025

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

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

View logs

@MasterPtato MasterPtato force-pushed the 05-31-fix_pegboard_fix_collecting_metrics_for_actors_without_workflows branch from dff268d to 4527a1a Compare June 3, 2025 01:54
@MasterPtato MasterPtato force-pushed the 05-31-feat_guard_add_http_ping_endpoint_to_edge_api_hosts branch from 64ab176 to 64361fd Compare June 3, 2025 01:54
Copy link

cloudflare-workers-and-pages bot commented Jun 3, 2025

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

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

View logs

@MasterPtato MasterPtato marked this pull request as ready for review June 3, 2025 01:55
Copy link

@greptile-apps greptile-apps bot left a 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 return None 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

Copy link
Contributor

graphite-app bot commented Jun 3, 2025

Merge activity

  • Jun 3, 7:01 AM UTC: NathanFlurry added this pull request to the Graphite merge queue.
  • Jun 3, 7:02 AM UTC: CI is running for this pull request on a draft pull request (#2528) due to your merge queue CI optimization settings.
  • Jun 3, 7:03 AM UTC: Merged by the Graphite merge queue via draft PR: #2528.

graphite-app bot pushed a commit that referenced this pull request Jun 3, 2025
…2519)

<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app bot closed this Jun 3, 2025
@graphite-app graphite-app bot deleted the 05-31-fix_pegboard_fix_collecting_metrics_for_actors_without_workflows branch June 3, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant