-
Notifications
You must be signed in to change notification settings - Fork 25
chore: verify bootloader #564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe update introduces a new firmware verification error code and maps it through device command handling and firmware update flow. It tweaks an Expo app navigation effect by removing an early return. It applies a whitespace edit in an EVM signing file. Most other changes bump versions and dependency pins to 1.1.12-alpha.1. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant App as App/Core API
participant Dev as Device
participant Cmd as DeviceCommands
participant FW as FirmwareUpdateV3
participant Err as HardwareError
App->>FW: triggerFirmwareUpdateEmmc()
FW->>Dev: Start firmware update
Dev-->>FW: Failure (ProcessError, message includes "verify failed")
FW->>Cmd: _filterCommonTypes(Failure)
Cmd-->>FW: Map to Err.FirmwareVerificationFailed
FW->>FW: Catch error
alt Error code in unexpected list (incl. BLE/WebDevice)
FW-->>App: Rethrow original error
else Other errors
FW-->>App: Throw TypedError(FirmwareError, message)
end
sequenceDiagram
autonumber
participant Nav as NavigationContent (useEffect)
participant Hist as History
Nav->>Nav: Check redirectPath
alt redirectPath exists
Nav->>Hist: replaceState(...)
Nav->>Nav: cleanup redirect params
Note right of Nav: Effect continues (no early return)
else spa_redirect_url exists
Nav->>Hist: replaceState(...)
Note right of Nav: Early return unchanged
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro Cache: Disabled due to data retention organization setting Knowledge Base: Disabled due to data retention organization setting 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (21)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
Summary by CodeRabbit
Bug Fixes
Chores