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 race in event logs #1786

Merged
merged 7 commits into from Mar 12, 2019
Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Mar 12, 2019

@nkubala This PR fixes three races in the eventing code.

@codecov-io
Copy link

codecov-io commented Mar 12, 2019

Codecov Report

Merging #1786 into master will decrease coverage by 0.44%.
The diff coverage is 82.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1786      +/-   ##
==========================================
- Coverage   46.71%   46.27%   -0.45%     
==========================================
  Files         135      137       +2     
  Lines        6347     6492     +145     
==========================================
+ Hits         2965     3004      +39     
- Misses       3083     3188     +105     
- Partials      299      300       +1
Impacted Files Coverage Δ
pkg/skaffold/event/server.go 0% <0%> (ø)
pkg/skaffold/event/event.go 33.33% <89.18%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eec4192...697ab63. Read the comment docs.

@dgageot
Copy link
Contributor Author

dgageot commented Mar 12, 2019

kokoro is green but didn't get the status update

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
And return a deep copy of the state

Signed-off-by: David Gageot <david@gageot.net>
Copy link
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

my syncing needs a little work :) thanks for fixing

@nkubala
Copy link
Contributor

nkubala commented Mar 12, 2019

not sure what's going on with travis, I restarted the job but it doesn't wanna queue itself for some reason 🤷‍♂️

@dgageot dgageot merged commit b0f4b03 into GoogleContainerTools:master Mar 12, 2019
@nkubala nkubala mentioned this pull request Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants