Commit 9899372
Support flow orchestrator launches in JSON mode (#1108)
Summary:
Pull Request resolved: #1108
`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.
This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage
Differential Revision: D817054621 parent 9247816 commit 9899372
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
372 | 382 | | |
373 | 383 | | |
374 | 384 | | |
| |||
419 | 429 | | |
420 | 430 | | |
421 | 431 | | |
422 | | - | |
423 | 432 | | |
424 | 433 | | |
425 | | - | |
426 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
427 | 437 | | |
428 | 438 | | |
429 | 439 | | |
| |||
0 commit comments