Commit ff712e0
authored
Prepare
* Drop unrechable non-services code in _handle_run_replicas
* Add more process_runs tests
* Refactor _process_active_run loop
* Document analysis classes
* Fix implicit RunStatus.PENDING
* Replace unhandled ValueError with ServerError and fix broken assert
* Drop lazy imports
* Drop redundant except Exception
* Drop dummy non-services code in _handle_run_replicas
* Extracted _terminate_removed_replica_groups
* Drop redundant replicas arg from _update_jobs_to_new_deployment_in_place
* Minor renaming
* Extract get_group_rollout_state
* Move run job lookup into analysisprocess_runs for pipelines migration (#3675)1 parent f55094a commit ff712e0
3 files changed
Lines changed: 669 additions & 330 deletions
File tree
- src
- dstack/_internal/server
- background/scheduled_tasks
- services/runs
- tests/_internal/server/background/scheduled_tasks
0 commit comments