Repository navigation
fix(net,task): isfinite-guard untrusted float ingestion (network snap… - #400
Conversation
…shots + scheduler env config)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe PR adds finite-value validation for replicated component floats, snapshot interpolation timing inputs, and task-graph oversubscription parsing. It also adds tests for the new checks and updates coding guidance for untrusted float boundaries. ChangesUntrusted float boundary hardening
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… S989) std::atof has UB on overflow and no error reporting; SonarCloud rule cpp:S989 flags it CRITICAL and failed the PR's D-Reliability quality gate. Parse with std::strtof instead: reject not-a-number via endPtr, keep the isfinite/range guard (overflow returns +-HUGE_VALF, caught by isfinite). strtof is not flagged by S989 and, unlike float std::from_chars, is available on the Linux/Clang(libc++) CI. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🤖 Self-review (finish-pr) @
|
…ubscription ratio
|
@CodeRabbit review |
✅ Action performedReview finished.
|
|
🤖 Self-review (finish-pr) @
|



…shots + scheduler env config)
Summary by CodeRabbit
NaN/±inf), preventing invalid values from contaminating scene/physics math.