nx_moonraker_loop_e2e_test.nx
buildroot/runtime/nx_moonraker_loop_e2e_test.nx
about
nx_moonraker_loop_e2e_test.nx -- full input-side substrate loop:
real-shape Moonraker JSON -> parse -> pump -> verdict -> wire
bytes ready for nx_mr_post_ipv4.
This is the CANONICAL composition smoke for the spaghetti
prevention loop. Two synthetic Moonraker query responses
(one healthy, one with bed-cooled-down-mid-print) flow through
the entire substrate input + decision + output chain.
Scenarios:
A. Healthy snapshot -> NONE -> 0 wire bytes
B. Hot bed dropping (1st obs) -> NONE -> 0 wire bytes (timer started)
C. Hot bed dropping (3s later) -> BED_TEMP_DROP -> "POST /printer/print/pause"
expect_exit: 0
license_tier: ORIGINAL
dependencies 5 imports · 0 importers
imports: nx_syscalls.nxnx_print_runtime_monitor.nxnx_print_telemetry.nxnx_print_response.nxnx_moonraker_telemetry_parse.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 24 | const Q14: i64 = 16384 |
functions
| 26 | func cstr_len(s: *u8) -> i64 called by 1: main |
| 32 | func contains_substring(hay: *u8, hay_len: i64, needle: *u8) -> i64 called by 1: main |
| 50 | func main() -> i64 |