Skip to content

[Backport v4.2-branch] twister: Fix race condition in try_making_symlink #93741

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

Open
wants to merge 1 commit into
base: v4.2-branch
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 25, 2025

Backport dff24c8 from #93608.

Fixes #93220

Replaces the check-then-create pattern for symlinks with
opportunistic creation. Instead of checking for existence
before creating the symlink, the code now attempts to
create it directly and gracefully handles the case
where it already exists.

Signed-off-by: Tim Pambor <[email protected]>
(cherry picked from commit dff24c8)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Jul 25, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Jul 25, 2025
Copy link

@dkalowsk dkalowsk added this to the v4.2.1 milestone Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Backport PR and backport failure issues
Projects
Status: To do
Development

Successfully merging this pull request may close these issues.

2 participants