Open michaelromagne opened 10 months ago
Attention: 10 lines
in your changes are missing coverage. Please review.
Comparison is base (
3c1e08c
) 58.92% compared to head (5acffe0
) 58.86%.
Files | Patch % | Lines |
---|---|---|
bentoctl/deployment_config.py | 16.66% | 10 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@aarnphm any chance you could review this one ?
Description
bentoctl version 0.4.0 is bugged as raised in two issues recently :
This is due to the context manager not being passed to the operator somehow, so the temporary file system is not found : https://github.com/bentoml/bentoctl/blob/3c1e08c75b6bad92a82941834a6a803a9251689d/bentoctl/deployment_config.py#L247-L257
Going back to version 0.3.4 does not work as the models are not copied at all in the bento before deployment on EC2 using kubectl.
As a quick fix I propose to replace the context manager by a permanent copy of models in the bento that will be deployed.