Commit 8657913
authored
Implement submitted jobs pipeline (#3670)
* Add submitted jobs pipeline fetcher scaffold
* Implement submitted jobs pipeline assignment
* Refine submitted jobs pipeline assignment
* Implement submitted jobs pipeline provisioning
* Clarify submitted jobs pipeline result names
* Wire submitted jobs pipeline
* Tighten submitted jobs pipeline cleanup
* Add FIXME
* Fixes after review
* Fix missing volumes lock
* Lock cluster master fleet in submitted jobs pipeline
* Prefer fleet current master in provisioning lookup
* Add docstrings
* Restore todos
* Drop autocreated fleets broken lock
* Fix submitted jobs placement group cleanup
* Do not lock non-empty fleets
* Fix submitted jobs cluster fleet locking
* Fix tests
* Adjust pipelines params
* Fix tasks selects
* Fix tests1 parent 002ea51 commit 8657913
File tree
14 files changed
+3780
-81
lines changed- src
- dstack/_internal/server
- background
- pipeline_tasks
- scheduled_tasks
- routers
- services
- runs
- tests/_internal/server
- background/pipeline_tasks
- services
14 files changed
+3780
-81
lines changedLines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | | - | |
67 | | - | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | | - | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
465 | 468 | | |
466 | 469 | | |
467 | 470 | | |
| |||
0 commit comments