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

Dataset: change default guid type to use a random str #5031

Merged

Conversation

jenshnielsen
Copy link
Collaborator

@jenshnielsen jenshnielsen commented Feb 21, 2023

As earlier suggested this switches the default to replace sample by a random string eliminating duplicate guids. That was especially likely if generating lots of guids on the same system rapidly after each other on a system with low time resolution

@jenshnielsen
Copy link
Collaborator Author

test_update_existing_guids is failing since its reading back a sample_id and then trying to generate a new sample with that id. And since its now an error to do that it will raise

@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

Merging #5031 (bbfc077) into master (44d7725) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5031   +/-   ##
=======================================
  Coverage   67.31%   67.31%           
=======================================
  Files         357      357           
  Lines       29840    29846    +6     
=======================================
+ Hits        20086    20092    +6     
  Misses       9754     9754           

@jenshnielsen jenshnielsen marked this pull request as ready for review February 27, 2023 14:22
@jenshnielsen jenshnielsen added this pull request to the merge queue Feb 28, 2023
Merged via the queue into microsoft:master with commit 27bd4db Feb 28, 2023
@jenshnielsen jenshnielsen deleted the dataset/change_default_guid branch February 28, 2023 09:36
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.

None yet

2 participants