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

bug(workerAuth): allow duplicate workerAuth inserts if records match #3389

Merged
merged 4 commits into from
Jul 6, 2023

Conversation

irenarindos
Copy link
Collaborator

Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

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

Thanks for this!

internal/server/repository_workerauth.go Outdated Show resolved Hide resolved
internal/server/worker_auth.go Outdated Show resolved Hide resolved
Copy link
Member

@jefferai jefferai left a comment

Choose a reason for hiding this comment

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

Looks good -- can you add a comment into the tests that explain why the test fails? That is, the comment says to try to store the "same" node information twice, but it's not clear why that would pass or fail (when really it depends on the fact that we only care about some data being the same).

@irenarindos irenarindos merged commit a8e3638 into main Jul 6, 2023
50 checks passed
@irenarindos irenarindos deleted the irindos-workerauth-dupe-store-fix branch July 6, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants