Tests and the gate · Danny, November 2, 2026

D-73

Check each layer once, where it is cheapest

In full

Check each layer once, where it is cheapest (Danny, 2026-11-02: "Is there that much validity to running distinct playtests on each target? I want to understand that which can be checked at an 'LLVM' level and how much will actually differ between operating systems per se ... introduce more nuance here in our builds if possible to shift left key elements."). Safe Rust means the same on every target, so the pure crates' tests (nh-state, nh-moments, nh-site, nh-scene, the replays) run once, anywhere. A playtest checks the client's behavior against a real game, which is the same code on every platform: once, on the pushing machine (D-72). What differs by platform: (1) the client's cfg(windows)/cfg(unix) code and Bevy's platform crates, now type-checked from any machine before a push (scripts/check-targets.py; a deliberate Windows-only typo passed the Linux build and failed this check in seconds); (2) NetHack's C, built per platform from different sys/ files (Windows uses NetHack's own Windows console game, D-48): CI's Windows package builds it and plays a first game, macOS on request; (3) the GPU backend (Vulkan, Metal, DirectX) and its shader translation; (4) the window and the keyboard. (3) and (4) only a person at that machine sees. Then: the seeded determinism check on Windows (T-71), our shaders translated for every backend before a push (T-72).

Things it governs

1 thing of the lexicon is decided or changed under it.

the 3D world as a whole