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 racing file access in tidy #83878

Merged
merged 1 commit into from
Apr 5, 2021

Conversation

the8472
Copy link
Member

@the8472 the8472 commented Apr 5, 2021

That should fix the failure in #83776 (comment)

The file is only created for a brief moment during the bins checks in the source directories while other checks may also be visiting the same directory. By skipping it we avoid file not found errors.

this file is only created for a brief moment during the bins checks
in the source directories while other checks may also be visiting
that directory. skip processing it to avoid missing file errors
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 5, 2021
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Apr 5, 2021

📌 Commit 1df9d49 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 5, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 5, 2021
Rollup of 5 pull requests

Successful merges:

 - rust-lang#83368 (Add `download-rustc = "if-unchanged"`)
 - rust-lang#83705 (Give a better error when --theme is not a CSS file)
 - rust-lang#83853 (Disallow the use of high byte registes as operands on x86_64)
 - rust-lang#83877 (Remove unnecessary exceptions to the platform-specific code check)
 - rust-lang#83878 (Fix racing file access in tidy)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@jyn514
Copy link
Member

jyn514 commented Apr 5, 2021

@bors p=1 - this fixes spurious test failures. Hopefully it will be merged in #83890 and it won't matter.

@bors
Copy link
Contributor

bors commented Apr 5, 2021

⌛ Testing commit 1df9d49 with merge 5a7a0ac...

@bors bors merged commit d856a26 into rust-lang:master Apr 5, 2021
@rustbot rustbot added this to the 1.53.0 milestone Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants