Skip to content

Conversation

@NathanFlurry
Copy link
Member

Changes

@NathanFlurry NathanFlurry requested a review from MasterPtato April 1, 2025 22:58
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 1, 2025

Deploying rivet-hub with  Cloudflare Pages  Cloudflare Pages

Latest commit: 32c1fde
Status:🚫  Build failed.

View logs

Copy link
Member Author

NathanFlurry commented Apr 1, 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.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 1, 2025

Deploying rivet with  Cloudflare Pages  Cloudflare Pages

Latest commit: 32c1fde
Status:🚫  Build failed.

View logs

@NathanFlurry NathanFlurry changed the base branch from 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle to graphite-base/2290 April 2, 2025 07:02
@NathanFlurry NathanFlurry changed the base branch from graphite-base/2290 to 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle April 2, 2025 07:25
@NathanFlurry NathanFlurry marked this pull request as ready for review April 2, 2025 17:50
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 2, 2025

Merge activity

  • Apr 2, 1:51 PM EDT: NathanFlurry added this pull request to the Graphite merge queue.
  • Apr 2, 1:52 PM EDT: CI is running for this pull request on a draft pull request (#2299) due to your merge queue CI optimization settings.
  • Apr 2, 1:54 PM EDT: Merged by the Graphite merge queue via draft PR: #2299.

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

The PR refactors multiple actor API endpoints to avoid contacting edge datacenters that lack required worker nodes by employing a new filtering utility.

  • In /packages/core/api/actor/src/utils.rs, added filter_edge_dc to check for active worker and guard pools.
  • In /packages/core/api/actor/src/route/builds.rs, prewarm API calls now filter datacenters using filter_edge_dc.
  • In /packages/core/api/actor/src/route/logs.rs, get_logs applies the new filter to limit unnecessary edge requests.
  • In /packages/core/api/actor/src/route/actors.rs, various endpoints (get, destroy, upgrade, and list_actors) incorporate the filter for datacenter selection.

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

graphite-app bot pushed a commit that referenced this pull request Apr 2, 2025
…des (#2290)

<!-- 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 deleted the branch 03-31-perf_pegboard_parallelize_writing_configs_under_setup_oci_bundle April 2, 2025 17:54
@graphite-app graphite-app bot closed this Apr 2, 2025
@graphite-app graphite-app bot closed this Apr 2, 2025
@graphite-app graphite-app bot deleted the 04-01-chore_api-actor_don_t_attempt_to_contact_edge_dcs_without_worker_nodes branch April 2, 2025 17:54
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.

2 participants