Skip to content

Fix TextLoader version number for KeyType backward compatibility and added new test #2295

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

Merged
merged 3 commits into from
Jan 29, 2019

Conversation

artidoro
Copy link
Contributor

Fixes #2294.

I fixed the version number that's used to recognize and load the old TextLoader format.

I also add a test to check that the code for TextLoader is actually backward compatible. I created a pipeline that contains a TextLoader that loads a KeyType using a version of the code prior the changes to KeyType and loaded it with the new code checking for the expected behavior.

@artidoro artidoro self-assigned this Jan 29, 2019
@codecov
Copy link

codecov bot commented Jan 29, 2019

Codecov Report

Merging #2295 into master will increase coverage by 0.14%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master    #2295      +/-   ##
==========================================
+ Coverage   69.89%   70.04%   +0.14%     
==========================================
  Files         786      784       -2     
  Lines      144268   144060     -208     
  Branches    16635    16607      -28     
==========================================
+ Hits       100842   100910      +68     
+ Misses      38876    38600     -276     
  Partials     4550     4550
Flag Coverage Δ
#Debug 70.04% <91.66%> (+0.14%) ⬆️
#production 66.32% <ø> (+0.15%) ⬆️
#test 85.03% <91.66%> (+0.03%) ⬆️

Copy link
Contributor

@TomFinley TomFinley left a comment

Choose a reason for hiding this comment

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

Oh man. Thank you @artidoro ! That would have been unfortunate.

Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

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

:shipit:

@TomFinley TomFinley merged commit a0deda0 into dotnet:master Jan 29, 2019
@artidoro artidoro deleted the fixkeytextloader branch March 13, 2019 17:56
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TextLoader backcompat version number is wrong
3 participants