[Serve] serve run --reload
to auto-recover during a bad deployment
#45204
Labels
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
serve
Ray Serve Related Issue
Description
Currently when
serve run
cli is called with--reload
flag, Serve will keep the session alive, watch any file change, and redeploy with the changes. However, if there is a fatal failures with the file, the loop will break and shutdown serve. Ideally we should catch fatal failures and keep serve running until user hit control+c. Let's add a try-except block around the reload function and only break out loop if keyboard interrupt is raised.Use case
No response
The text was updated successfully, but these errors were encountered: