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

ci_runner: cleanup previously setup repo #6869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sluongng
Copy link
Contributor

Clean up well known files that could cause subsequent git operations to
fail.

Clean up well known files that could cause subsequent git operations to
fail.
@sluongng sluongng marked this pull request as ready for review June 18, 2024 17:37
Comment on lines +1697 to +1701
"index.lock",
"shallow.lock",
"HEAD.lock",
"hooks/post-checkout",
"config.lock",
Copy link
Member

@bduffany bduffany Jun 18, 2024

Choose a reason for hiding this comment

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

how certain are we that it's safe to delete these files? could there be some background process running that's using these? And if we delete these lockfiles could we wind up clobbering the git repo state? (because the bg processes will think they have the lock but they really don't)

Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer to wait for us having an example of this being an issue before checking this in. Maggie investigated the hang and didn't see any of these files.

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