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.
This commit is contained in:
1 parent
5a00cdf46b
commit
63d7501cfb