Skip to content

RDKEMW-10439: Reboot device with WareHouse plugin resetDevice#381

Merged
tdeva14 merged 5 commits into
developfrom
topic/RDKEMW-10439
Jul 15, 2026
Merged

RDKEMW-10439: Reboot device with WareHouse plugin resetDevice#381
tdeva14 merged 5 commits into
developfrom
topic/RDKEMW-10439

Conversation

@leenaS-d

@leenaS-d leenaS-d commented Dec 1, 2025

Copy link
Copy Markdown
Contributor

Issue - Factory reset not working with API - "org.rdk.Warehouse.1.resetDevice"

Copilot AI review requested due to automatic review settings December 1, 2025 20:14
@leenaS-d
leenaS-d requested a review from a team as a code owner December 1, 2025 20:14

@arun-madhavan-013 arun-madhavan-013 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wpeframework warehouse plugin is invoking this script and stopping parent process will cause this script execution to stop abruptly.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the factory reset operation fails when triggered via the Warehouse plugin API (org.rdk.Warehouse.1.resetDevice). The issue occurs because the Warehouse plugin runs within wpeframework.service, and stopping this service during the reset kills the process executing the API call.

Key Changes

  • Removed the explicit stop of wpeframework.service from the factory reset script
  • Aligns factory-reset.sh behavior with warehouse-reset.sh, which already follows this pattern
  • Allows the Warehouse plugin API to complete the reset operation successfully

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings May 11, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 15, 2026 12:54

@tdeva14 tdeva14 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@tdeva14
tdeva14 merged commit 466eb9f into develop Jul 15, 2026
6 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants