View Source Runbox.RunNode (runbox v21.2.0)

Module contains common functions called on run slave node.

Summary

Functions

Starts run component under run scenario.

Starts supervisor for run.

Functions

Link to this function

start_run_component(map, runbox_ctx, start_ctx)

View Source

Starts run component under run scenario.

@spec start_run_sup(String.t()) :: Supervisor.on_start_child()

Starts supervisor for run.

All components of run running on slave node will run under this supervisor. OneForAll strategy with 0 max restart stops supervisor if any component crashes. Because run manager process running on master is linked with this supervisor, it also crashes (and it what we want).