Commit 407043b
authored
Use deployment_build_id as part of key for eager workflow start (#1042)
* Use build_id as key for slot
* Don't pass deployment options into start workflow
* Add test
* Fix build_id comparison for slot_providers, try to reserve a different worker if reservation fails, added a test
* Fix unregister logic, add another test for slot boundary and retrying
* use shuffle for clarity1 parent 0aa4a7f commit 407043b
File tree
4 files changed
+314
-33
lines changed- crates/client
- src
- worker_registry
4 files changed
+314
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
1246 | | - | |
| 1246 | + | |
1247 | 1247 | | |
1248 | 1248 | | |
1249 | 1249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
663 | | - | |
| 662 | + | |
664 | 663 | | |
665 | 664 | | |
666 | 665 | | |
| |||
0 commit comments