client-javascript
client-javascript copied to clipboard
Aggregate multiple machines to one launch
Is this possible and would this be handled by client-javascript? I'm able to do so in a CI/CD pipeline by having a step that creates the launch then propagate the launch ID created to the workers/containers. My dilemma is here:
- If using another pipeline step to call finishLaunch, the duration would be incorrect as there would still be items being processed/reported. The individual workers/containers would not technically finish the launch themselves since they are already specifying an existing launch and items still get reported accordingly.
- Have the containers somehow "poll" the last item's reported status using the API and then call either finish launch OR do nothing if there exists items being processed.
- Some other methods unbeknownst to me