You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloaded services are fetched based on just if models are present locally at application start, but not updated before each service run, hence manifests and binary files aren't rechecked if they are actually correct or present locally.
This can currently cause the application to fail without letting the user know of the exact method to fix this issue. (They just need to delete and reinstall it)
The two most likely scenarios are:
If the serve command has changed and requires a new binary, it will fail to run.
If the binary is not present locally, it will fail to run.
Solution
Always check if the files are locally present(we currently do check for weights, on prem-app startup, but we don't do this for binaries at all) and if the checksums are upto date(#423), before starting the service.
And forward meaningful error messages to the user.
The text was updated successfully, but these errors were encountered:
Downloaded services are marked downloaded in persistent state(zustand)
I don't think this is the case. To which state are you referring to?
Always check if the files are locally present(we currently do this for binaries, but we don't do this for weights)
This is the contrary. is_service_downloaded() is checking for weights but not the binary.
swarnimarun
changed the title
bug: due to persistent state for downloaded services without verification
bug: downloaded dynamic state for services without verification for binaries
Oct 27, 2023
Issue:
Downloaded services are fetched based on just if models are present locally at application start, but not updated before each service run, hence manifests and binary files aren't rechecked if they are actually correct or present locally.
This can currently cause the application to fail without letting the user know of the exact method to fix this issue. (They just need to delete and reinstall it)
The two most likely scenarios are:
Solution
Always check if the files are locally present(we currently do check for weights, on prem-app startup, but we don't do this for binaries at all) and if the checksums are upto date(#423), before starting the service.
And forward meaningful error messages to the user.
The text was updated successfully, but these errors were encountered: