Skip to content
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

fix(engine): small optimization for Patch_back_source_tree sandboxes #8938

Conversation

rgrinberg
Copy link
Member

We don't need to [stat] directories when snapshotting the sandbox in
[Patch_back_source_tree].

Signed-off-by: Rudi Grinberg [email protected]

We don't need to [stat] directories when snapshotting the sandbox in
[Patch_back_source_tree].

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: 4a5d2bde-d0f8-4046-92ca-538acca07b37 -->
@rgrinberg rgrinberg requested a review from snowleopard October 13, 2023 18:14
@rgrinberg
Copy link
Member Author

@dkalinichenko-js could you review this one?

@rgrinberg rgrinberg merged commit 88314d3 into main Oct 18, 2023
@rgrinberg rgrinberg deleted the ps/rr/fix_engine___small_optimization_for_patch_back_source_tree_sandboxes branch October 18, 2023 17:09
@snowleopard
Copy link
Collaborator

@dkalinichenko-js Could you please downstream this one?

@dkalinichenko-js
Copy link
Collaborator

@dkalinichenko-js Could you please downstream this one?

This change is originally from @pmwhite fyi, it's already in the code.

@rgrinberg
Copy link
Member Author

@dkalinichenko-js This change has been downstreamed by @pmwhite already? Am I getting that right?

If so, whoever did should remove the upstream-sync label.

@pmwhite
Copy link
Collaborator

pmwhite commented Oct 20, 2023

@dkalinichenko-js I think you are referring to #8705. It's a very similar piece of code to this one, but in a different part of this file. I don't think we have this change internally yet. (for what it's worth, I came to the same conclusion at first and was very confused, because I didn't remember importing this change)

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.

4 participants