Commit 1b20ae6
committed
Reconsider termination reason naming
- Drop `starting_timeout`, use
`provisioning_timeout` instead. These two
termination reasons had similar semantics. The
difference was that `starting_timeout` was used
for cloud instances and `provisioning_timeout`
for SSH.
- Rename `termination_deadline` -> `unreachable`.
The old name was based on implementation details
rather than semantics, so it was not very
informative to the user.
- For `no_offers`, add a termination reason
message to highlight the difference between
failing to find offers and failing to provision
offers.1 parent b8fe5be commit 1b20ae6
3 files changed
Lines changed: 16 additions & 10 deletions
File tree
- src
- dstack/_internal
- core/models
- server/background/tasks
- tests/_internal/server/background/tasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
| 265 | + | |
267 | 266 | | |
268 | 267 | | |
269 | 268 | | |
| |||
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
| 315 | + | |
318 | 316 | | |
319 | 317 | | |
320 | 318 | | |
| |||
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
683 | 687 | | |
684 | 688 | | |
685 | 689 | | |
| |||
690 | 694 | | |
691 | 695 | | |
692 | 696 | | |
693 | | - | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
694 | 700 | | |
695 | 701 | | |
696 | 702 | | |
| 703 | + | |
697 | 704 | | |
698 | 705 | | |
699 | 706 | | |
| |||
842 | 849 | | |
843 | 850 | | |
844 | 851 | | |
845 | | - | |
| 852 | + | |
846 | 853 | | |
847 | 854 | | |
848 | 855 | | |
| |||
871 | 878 | | |
872 | 879 | | |
873 | 880 | | |
874 | | - | |
| 881 | + | |
| 882 | + | |
875 | 883 | | |
876 | 884 | | |
877 | 885 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments