Skip to content

RDKB-63545 : Add PSM defaults for SKY-UK XER10 device#221

Open
aadhithan01 wants to merge 5 commits intodevelopfrom
Feature/PSM_XER10_SKY_squashed
Open

RDKB-63545 : Add PSM defaults for SKY-UK XER10 device#221
aadhithan01 wants to merge 5 commits intodevelopfrom
Feature/PSM_XER10_SKY_squashed

Conversation

@aadhithan01
Copy link
Contributor

Adding the PSM entries for the sky-uk partner ID, enabling the PSM migration, which will take the partner_json values to the PSM values

TEST STEPS : https://ccp.sys.comcast.net/browse/RDKB-63545
UT:
https://ccp.sys.comcast.net/browse/RDKB-63545?focusedId=24617629&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-24617629

Copilot AI review requested due to automatic review settings February 13, 2026 17:13
@aadhithan01 aadhithan01 requested review from a team as code owners February 13, 2026 17:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds PSM (Persistent Storage Manager) default configuration support for the SKY-UK partner on XER10 devices (model SCER11BEL). The changes enable PSM migration by allowing partner-specific JSON configuration values to be properly applied to PSM storage for this device model.

Changes:

  • Added conditional logic in utopia_init.sh to call apply_system_defaults_psm for sky-uk partner on XER10 devices
  • Implemented isXER10Device() helper function to detect SCER11BEL devices
  • Added support for processing override-only parameters from partner JSON configuration
  • Enhanced PSM parameter handling for XER10 devices in the partner defaults application logic

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
source/scripts/init/system/utopia_init.sh Added conditional check to invoke apply_system_defaults_psm for sky-uk partner on XER10 (SCER11BEL) devices
source/scripts/init/src/apply_system_defaults_helper.c Added isXER10Device() function, marked unused function with attribute, implemented override-only parameter processing in two functions, and added XER10-specific PSM logging

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

- Remove redundant XER10-specific logging that duplicates existing log output
- Extract duplicated override processing logic into process_override_only_parameters helper function
- Reduces code duplication and improves maintainability
Copilot AI review requested due to automatic review settings February 13, 2026 17:50
Copy link
Contributor

Copilot AI left a comment

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 2 out of 2 changed files in this pull request and generated 2 comments.


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

Fixed memory leak where newParamObj was created but not added to JSON tree when psm_supported or syscfg_supported conditions failed. Now the object is always added to the tree unconditionally at line 2329, with only the database operations remaining conditional. This ensures proper memory cleanup when the root JSON is deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant