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 data races #694

Merged
merged 5 commits into from
Nov 4, 2024
Merged

Fix data races #694

merged 5 commits into from
Nov 4, 2024

Conversation

adambabik
Copy link
Collaborator

This PR adds go vet call, including checklocks, in make lint. It also fixes data races found using RACE=true make test/execute.

@sourishkrout
Copy link
Member

wtf, how did this merge go bad

Copy link

sonarqubecloud bot commented Nov 4, 2024

@sourishkrout sourishkrout merged commit 002fb9f into main Nov 4, 2024
7 checks passed
@sourishkrout sourishkrout deleted the adamb/fix-data-races branch November 4, 2024 19:12
sourishkrout added a commit that referenced this pull request Nov 5, 2024
@sourishkrout
Copy link
Member

@adambabik I'm puzzled about what went wrong when I used GitHub's Update branch button before the merge. However, I had to revert cf68547.

Could you please take a look? I can't get the docker tests to pass at all. I suspect some of your changes got lost?

@adambabik adambabik restored the adamb/fix-data-races branch November 7, 2024 06:07
@adambabik adambabik deleted the adamb/fix-data-races branch November 8, 2024 19:21
@adambabik adambabik mentioned this pull request Nov 8, 2024
@adambabik
Copy link
Collaborator Author

@sourishkrout yeah, something went off. I didn't dig into that, but I created a new branch and rebased instead. I also dug a bit more into flaky tests in Docker and updated a couple. Let's review #697 and try to merge again.

sourishkrout pushed a commit that referenced this pull request Nov 8, 2024
This PR adds `go vet` call, including
[`checklocks`](https://pkg.go.dev/gvisor.dev/gvisor/tools/checklocks),
in `make lint`. It also fixes data races found using `RACE=true make
test/execute`.

Retrying reverted #694.
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.

2 participants