-
Notifications
You must be signed in to change notification settings - Fork 135
perf(pegboard): parallelize download image & setup cni network #2287
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
|
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.
How to use the Graphite Merge QueueAdd 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. |
d967870 to
5852e82
Compare
402aa66 to
317678e
Compare
5852e82 to
e9a7eb9
Compare
b17fc4e to
317678e
Compare
Merge activity
|
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
This PR optimizes the Actor's setup by parallelizing the filesystem/image download steps with port binding and CNI network setup.
- In packages/edge/infra/client/manager/src/actor/mod.rs, make_fs and download_image are now executed concurrently with bind_ports and optional CNI network configuration.
- The precomputed needs_cni_network flag ensures that the CNI setup logic runs only when required.
- Robust error propagation is maintained through tokio::try_join to ensure consistent state management.
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->

Changes