Execute bazel test //examples/... --config=<...> --test_output=all --test_arg=-s to build all dependencies and run the automated demo verification.
The extra flags make the _step() markers from test_examples.py visible in the Bazel output instead of leaving them under pytest capture.
The test verifies the following scenarios end-to-end:
- Launch manager starts and enters
Startuprun target - Transition to
Running— all demo apps start - Transition back to
Startup— all demo apps stop - Transition to
Runningagain - Process crash:
cpp_supervised_appis killed with SIGKILL — recovery tofallback_run_targetis triggered - Transition to
Runningagain - Supervision failure:
cpp_supervised_appreceives SIGUSR1 to misreport checkpoints — recovery tofallback_run_targetis triggered - Launch manager is stopped gracefully with SIGTERM
| Application | Description |
|---|---|
cpp_supervised_app |
C++ app with alive supervision and crash recovery |
rust_supervised_app |
Rust app with alive supervision and crash recovery |
cpp_lifecycle_app |
C++ app demonstrating basic lifecycle management |
control_daemon |
State Manager app for requesting RunTarget transitions |
See the Launch Manager Configuration for the demo scenario.