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

Atp concurrency improvements #92

Merged
merged 14 commits into from
Jul 9, 2024
Merged

Conversation

jaredoconnell
Copy link
Contributor

Changes introduced with this PR

These changes fix:

  • Several race conditions
  • Logging after the end of the tests

And, these changes improve the code quality.


By contributing to this repository, I agree to the contribution guidelines.

@jaredoconnell jaredoconnell requested review from webbnh and mfleader June 27, 2024 18:19
@jaredoconnell jaredoconnell marked this pull request as draft June 27, 2024 18:33
webbnh

This comment was marked as resolved.

@webbnh

This comment was marked as resolved.

@webbnh

This comment was marked as resolved.

jaredoconnell

This comment was marked as resolved.

@jaredoconnell

This comment was marked as resolved.

webbnh

This comment was marked as resolved.

webbnh

This comment was marked as resolved.

Copy link
Contributor Author

@jaredoconnell jaredoconnell left a comment

Choose a reason for hiding this comment

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

This should now be ready to merge.

atp/client.go Outdated Show resolved Hide resolved
atp/server.go Outdated Show resolved Hide resolved
atp/client.go Show resolved Hide resolved
@jaredoconnell jaredoconnell marked this pull request as ready for review July 5, 2024 21:28
webbnh

This comment was marked as resolved.

Copy link

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

I was surprised that I apparently hadn't gotten through this one already. I think I skimmed parts and just never finished. So, it's complicated, and I'm pretty sure I haven't followed all of the flows and timing (e.g., Webb's channel comment); but most of what I see looks plausible.

atp/client.go Show resolved Hide resolved
Copy link
Contributor Author

@jaredoconnell jaredoconnell left a comment

Choose a reason for hiding this comment

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

Address review comments.

atp/client.go Show resolved Hide resolved
atp/client.go Outdated Show resolved Hide resolved
atp/client.go Outdated Show resolved Hide resolved
atp/client.go Outdated Show resolved Hide resolved
atp/client.go Outdated Show resolved Hide resolved
Copy link
Contributor

@webbnh webbnh left a comment

Choose a reason for hiding this comment

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

GTG

@jaredoconnell jaredoconnell merged commit 6aee686 into main Jul 9, 2024
3 checks passed
@jaredoconnell jaredoconnell deleted the atp-concurrency-improvements branch July 9, 2024 19:51
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