Skip to content

Conversation

MasterPtato
Copy link
Contributor

Changes

Copy link
Contributor Author

MasterPtato 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

@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

This PR fixes the pegboard metrics standalone service by switching database implementations and improving error handling. The changes primarily focus on metrics collection and storage reliability.

  • Switches from CockroachDB to FoundationDB+SQLite in packages/edge/services/pegboard/standalone/usage-metrics-publish/src/lib.rs for actor data storage
  • Adds improved error handling in packages/edge/services/pegboard/src/ops/actor/get.rs for missing workflow data
  • Adds Debug derive macro to WorkflowData struct for better debugging capabilities
  • Renames tracing span from 'client_fetch_remaining_actors_tx' to 'fetch_running_actors_tx' for clarity
  • Updates formatting in multiple files for better code readability

6 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link

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

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6f19c0
Status: ✅  Deploy successful!
Preview URL: https://f71ed88d.rivet.pages.dev
Branch Preview URL: https://06-02-fix-fix-pb-metrics-sta.rivet.pages.dev

View logs

@NathanFlurry NathanFlurry changed the base branch from 05-31-feat_guard_add_http_ping_endpoint_to_edge_api_hosts to graphite-base/2518 June 2, 2025 20:11
@NathanFlurry NathanFlurry force-pushed the 06-02-fix_fix_pb_metrics_standalone branch from 8985a25 to 46c1b87 Compare June 2, 2025 20:12
@NathanFlurry NathanFlurry changed the base branch from graphite-base/2518 to chore_disable_OTEL_by_default_in_guard_service June 2, 2025 20:12
@MasterPtato MasterPtato force-pushed the 06-02-fix_fix_pb_metrics_standalone branch from 46c1b87 to d6f19c0 Compare June 3, 2025 01:54
Copy link

Deploying rivet-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6f19c0
Status: ✅  Deploy successful!
Preview URL: https://6438f522.rivet-studio.pages.dev
Branch Preview URL: https://06-02-fix-fix-pb-metrics-sta.rivet-studio.pages.dev

View logs

Copy link

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: d6f19c0
Status: ✅  Deploy successful!
Preview URL: https://1e990df6.rivet-hub-7jb.pages.dev
Branch Preview URL: https://06-02-fix-fix-pb-metrics-sta.rivet-hub-7jb.pages.dev

View logs

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
<!-- 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 06-02-fix_fix_pb_metrics_standalone 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