Orchestrata Ultimate › Tests › Reference › agents › test_runtime_main
Tests reference — tests/agents/test_runtime_main.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_runtime_main.py
source · 6 tests · 390 lines
Covers: agents.kernel_handler, agents.runtime_main, cxp.endpoint_config, cxp.proto_codec, cxp.servicer, cxp.transport, kernel.audit_bootstrap, kernel.pipeline, plugin.registries, core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_resolve_port_reads_cxp_grpc_port_env |
129 | |
| function | test_resolve_port_raises_when_neither_env_var_set |
135 | |
| function | test_main_boots_real_kernel_and_shuts_down_gracefully_on_sigterm |
179 | main() boots the real CXP kernel server and serves real RPCs until |
| function | test_main_exits_zero_when_serve_raises_keyboard_interrupt |
208 | main()'s except KeyboardInterrupt branch logs and exits 0. |
| function | test_serve_drains_in_flight_audit_writes_before_its_loop_closes |
266 | The agent-runtime process is the busiest producer of fire-and-forget |
| function | test_graceful_stop_drains_handler_before_server_stop |
301 | _graceful_stop (the function installed as _serve's SIGTERM/SIGINT |