Skip to content

Avoid two stats for non-directory symlinks created remotely #25986

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

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented May 2, 2025

No description provided.

@fmeum fmeum requested a review from a team as a code owner May 2, 2025 08:44
@fmeum fmeum requested a review from coeuvre May 2, 2025 08:45
@github-actions github-actions bot added team-Remote-Exec Issues and PRs for the Execution (Remote) team awaiting-review PR is awaiting review from an assigned reviewer labels May 2, 2025
&& symlink.path().isDirectory(Symlinks.NOFOLLOW)) {
// If a directory output is being materialized as a symlink, creating the symlink fails as we
// must first delete the preexisting empty directory. Since this is rare (and in the future
// BwoB may no longer eagerly create these directories), we don't delete the directory
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This refers to #25976. I can update the comment depending on which PR is merged first.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get #25976 merged first (it needs a rebase).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving since #25976 can't yet be merged.

@tjgq tjgq added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels May 22, 2025
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label May 23, 2025
@brentleyjones
Copy link
Contributor

Can we cherry-pick this into 8.x/7.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Remote-Exec Issues and PRs for the Execution (Remote) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants