From 63d7501cfb8d3c8bd78f72fea8b5ad171d5bdb86 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sat, 19 Sep 2026 02:24:38 +1000 Subject: [PATCH] test(config): pin that a partial overlay preserves omitted nested fields ApplyOverlayValues documents that "only the keys present are replaced, every field the overlay omits keeps its existing value". That promise was only tested one level deep (budgets.max_steps); it was untested two levels deep into a struct of structs, which is the shape config.Services has. The concrete risk being pinned: an overlay that changes only services.state.target must not clear target_token, because dropping the token silently removes authentication for a non-loopback State Store. All three cases pass, so the behaviour is correct as written and no production change is warranted. This test is a regression guard on the depth that matters.