Runbox.RunNode (runbox v26.0.0)

View Source

Module contains common functions called on run slave node.

Summary

Functions

Starts run component under run scenario.

Starts supervisor for run.

Functions

start_run_component(map, runbox_ctx, start_ctx)

Starts run component under run scenario.

start_run_sup(run_id)

@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).