Preserve wait-set ownership when removal fails #3294
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 173 lines diff across 2 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.309
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #3294"
general
weight: 0.35
jmachowinski
Description
Clear wait-set ownership only after storage removal succeeds, retaining shared pointers for the ownership update. Regression coverage exercises the same defect in guard-condition, timer, client, service, waitable and subscription-part removal.
Fixes #3293.
Is this user-facing behavior change?
Failed removal from a non-owner preserves ownership, so another wait set still rejects the entity. Successful removal by the owner permits reuse.
Did you use Generative AI?
Generated-by: OpenAI Codex (GPT-6).
The implementation, regression tests and PR text were generated with AI assistance.
Additional Information
Local validation on Ubuntu 26.04 x86_64, Rolling,
rmw_fastrtps_cpp, using the rebuilt checkout:eee4b508and pass with the fix.test_wait_set,test_dynamic_storage,test_static_storage,test_storage_policy_commonandtest_thread_safe_synchronizationpass.git diff --checkpasses.Tier-1 CI remains a maintainer-run gate.