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: io descriptor backward compatibility #3327

Merged
merged 3 commits into from Dec 8, 2022

Conversation

sauyon
Copy link
Contributor

@sauyon sauyon commented Dec 8, 2022

Reverts a few backwards-incompatible changes to the IO descriptor specification for custom IO descriptors, as well as adding a test containing a custom IO descriptor intended to test for this in the future.

@sauyon sauyon requested a review from a team as a code owner December 8, 2022 00:30
@sauyon sauyon requested review from bojiang and removed request for a team December 8, 2022 00:30
@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

Merging #3327 (a2a4c5e) into main (a2a4c5e) will not change coverage.
The diff coverage is n/a.

❗ Current head a2a4c5e differs from pull request most recent head c5e3049. Consider uploading reports for the commit c5e3049 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3327   +/-   ##
=======================================
  Coverage   32.91%   32.91%           
=======================================
  Files         109      109           
  Lines        9918     9918           
  Branches     1710     1710           
=======================================
  Hits         3265     3265           
  Misses       6424     6424           
  Partials      229      229           

Previously, when `to_spec` was not implemented, the entire Bento server
would just raise. Now, it simply returns null when getting unknown IO
descriptor specs, and the client is made to error in that case.
@aarnphm aarnphm changed the title fix: io descriptor backcompat fix: io descriptor backward compatibility Dec 8, 2022
@aarnphm aarnphm merged commit b6a4158 into bentoml:main Dec 8, 2022
@aarnphm aarnphm deleted the client-backwards-fix branch December 8, 2022 06:27
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