feat(devices): add remote platform erase support#3206
Draft
Conversation
c7091b5 to
cf0fa97
Compare
nmgaston
commented
Mar 18, 2026
58e08ae to
9afb33d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: Needs to be tested on real HW. Currently don't have an AMT 16+ device that supports RPE.
PR Checklist
What are you changing?
Adds a Remote Platform Erase feature to the device detail view, allowing users to remotely wipe a managed AMT device.
RemotePlatformEraseComponent(src/app/devices/remote-platform-erase/) with:enablePlatformEraseAMT feature via the existing AMT features APIplatformEraseCapsAreYouSureDialogComponent) before initiating an erasemat-progress-barDevicesService: addssendRemotePlatformErase(deviceId, eraseMask)callingPOST /api/v1/amt/remoteErase/:deviceId; renamesremoteErase→enablePlatformErasein the AMT features request body to align with the updated MPS API (see associated PR)DeviceDetailComponent: adds "Remote Platform Erase" nav item (phonelink_eraseicon) and routes to the new componentmodels.ts: updatesAMTFeaturesResponse/AMTFeaturesRequesttypes to reflect the renamed field and new response propertiesAnything the reviewer should know when reviewing this PR?
eraseMaskis a bitmask integer; the constants and bit definitions live inremote-platform-erase.constants.ts.Associated PRs