WEFT_OS/crates/weft-appd
Marco Allegretti f47150cec8 test(appd): add runtime supervisor integration test
supervisor_transitions_through_ready_to_stopped (unix only):
- Writes a temp shell script that prints 'READY' and exits.
- Sets WEFT_RUNTIME_BIN to the script path; restores env after test.
- Calls runtime::supervise() and verifies final session state is Stopped.
- Verifies AppReady was broadcast via the registry broadcast channel.
- Runs with tokio flavor='current_thread' to avoid concurrent env
  mutation. Wraps set_var/remove_var in unsafe blocks (required since
  Rust 1.93).
2026-03-11 09:24:34 +01:00
..
src test(appd): add runtime supervisor integration test 2026-03-11 09:24:34 +01:00
Cargo.toml feat(appd): implement runtime supervisor with process spawning and READY signal 2026-03-11 09:17:20 +01:00