Make server configuration parameters fully reconfigurable at runtime #146
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.66) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 357 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.352
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #146"
general
weight: 0.35
fujitatomoya
Closes #58
#93 made
storing_period,allow_dynamic_typingandmust_save_on_updatereactive to parameter changes. This PR closes the remaining gaps so that the server configuration is handled consistently as node parameters.Changes
storing_period,allow_dynamic_typingandmust_save_on_updateare now declared explicitly with descriptors (DeclareServerParameters), so they are visible and reconfigurable via the parameter API even with--allow-override false. Previously they were only read from the overrides and never declared in that case, soros2 param getfailed and a clientsetwould implicitly declare them as dynamically typed.NOT_SET), negative values and values that would overflow the wall timer period are rejected with a reason. Before, a wrong-typed or deleted parameter would throw fromas_int()/as_bool()inside the callbacks.allow_dynamic_typingtoggle effective for already declared parameters. Parameters loaded from the persistent file are now declared dynamically typed at the rclcpp level, and the typing policy is enforced by the server incheckValidParamsbased on the currentallow_dynamic_typingvalue. This removes the "only affects parameters declared after the change" limitation noted in #93. Withallow_dynamic_typingfalse, no served parameter may change type (including deletion), which matches the rclcpp semantics for statically typed parameters.storing_periodconsistent when an invalid initial value is coerced to 0 at startup.client_dynamic_param_changenow verifies that a type change succeeds after enabling dynamic typing and fails again after disabling it, and that invalid configuration values are rejected without side effects.test.pygains a 5th stage running the same client withallow_override:=false(newallow_overridelaunch argument).Behavior notes for review
dynamic_typing: trueinros2 param describe; the effective policy is the server'sallow_dynamic_typingparameter.allow_dynamic_typingfalse their type can no longer be changed. This matches the documented behavior ("parameter type can be changed dynamically only when allow-dynamic-typing is set").Testing
Built with
-D CLIENT_TEST_DEMO=ONon rolling (rclcpp 33) and rantest/test.py. All 5 stages pass, including the new test cases in both the default andallow_override:=falsestages.🤖 Generated with Claude Code