test(core): try_config_reload propagation and parse-failure safety#44
test(core): try_config_reload propagation and parse-failure safety#44cursor[bot] wants to merge 1 commit into
Conversation
Co-authored-by: esadrianno <esadrianno@gmail.com>
|
Closing as duplicate — equivalent coverage already exists on Existing coverage: Wrong base branch: This PR targets CI failure: The branch fails to link with Any net-new work from this automation will be cherry-picked separately in later cleanup steps (#42, #40, #39). |
Risky behavior now covered
try_config_reload()swaps live config, updates router live pointer, and queues stale configTest files added/updated
tests/test_reload.ctests/reload_propagation_shim.c(subsystem propagation stubs)Makefile(linktry_config_reloadwithout gc-sections stripping)Why these tests reduce regression risk
Reload is a hot-path for production config changes. Without propagation tests, a regression could leave providers/channels on stale config after SIGHUP or swap to broken config on parse errors.
Validation
make test_reload && ./build/test_reload