fix(api-core): forward compute tray firmware force update - #5282
fix(api-core): forward compute tray firmware force update#5282behroozrafii wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. Summary by CodeRabbit
WalkthroughThe compute-tray direct firmware dispatch now forwards the request’s ChangesCompute-tray firmware options
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change forwards the requested firmware update flag while preserving existing defaults and access-token handling; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
force_updatevalue when compute-tray firmware updates use direct dispatch.force_update=falseandforce_update=truereach the backend.Fixes #5216
Testing
Passed:
cargo fmt --all -- --checkgit diff --checkcargo check -p carbide-api-core --no-default-features --libcargo clippy -p carbide-api-core --no-default-features --lib -- -D warningscargo test -p component-manager direct_rms_firmware_object_json_request_defaults_missing_access_token_to_noauthLinux Docker/PostgreSQL targeted test:
Result: 1 passed, 0 failed.
Additional package-suite validation:
Result: 1,723 passed, 9 failed, 4 ignored. The issue-specific regression test passed. The nine failures were unrelated to this change and occurred in unchanged tests: three required Git-derived version metadata unavailable in the container, and six required the missing
tpm2executable.Full Linux all-targets/all-features Clippy was not run because the available container did not include the Clippy component. Production-library Clippy passed locally with warnings denied.