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

chore: fix test project initialization #7418

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Mar 17, 2024

Motivation

CI for #7415 failed with this error again, it seems that the issue in fact is happening because process initializing template might fail, but will write "1" to lock file anyway: https://github.com/foundry-rs/foundry/actions/runs/8315673331/job/22754269551#step:12:127 - here it failed while running forge build with "Text file busy (os error 26)", not sure why exactly.

We should only write "1" to lockfile after we've successfuly copied template to its location, thus this PR just changes order of things.

@klkvr klkvr requested review from DaniPopes and mattsse as code owners March 17, 2024 21:21
Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

ah yeah makes sense, text file busy is an age old error because we try to run solc while its still installing or something like that

@DaniPopes DaniPopes merged commit f686391 into foundry-rs:master Mar 18, 2024
19 checks passed
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.

3 participants