Skip to content

RDKEMW-13483: Integrate entservices-UserSettings into middleware builds#1

Open
agampa263 wants to merge 15 commits into
developfrom
RDKEMW-13483-usersettings
Open

RDKEMW-13483: Integrate entservices-UserSettings into middleware builds#1
agampa263 wants to merge 15 commits into
developfrom
RDKEMW-13483-usersettings

Conversation

@agampa263
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 13, 2026 11:17
Copy link
Copy Markdown
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

Updates the repository/build configuration to target the entservices-usersettings component (instead of entservices-infra), adjusting CI and scripts accordingly, and removes a large set of legacy helper utilities and CMake find modules.

Changes:

  • Renames CI checkout/build paths and artifacts from entservices-infra to entservices-usersettings across workflows and Coverity build script.
  • Simplifies top-level build to only add the UserSettings subdirectory.
  • Deletes numerous helper headers/WebSockets helpers and many custom cmake/Find*.cmake modules.

Reviewed changes

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

Show a summary per file
File Description
services.cmake Removes several plugin options/definitions; adjusts ContinueWatching defines.
helpers/tptimer.h Deleted legacy helper.
helpers/frontpanel.h Deleted legacy helper.
helpers/cSettings.h Deleted legacy helper.
helpers/WebSockets/WSEndpoint.h Deleted legacy WebSockets helper.
helpers/WebSockets/WSEndpoint.cpp Deleted legacy WebSockets helper.
helpers/WebSockets/Roles/SingleClientServer.h Deleted legacy WebSockets helper.
helpers/WebSockets/Roles/Client.h Deleted legacy WebSockets helper.
helpers/WebSockets/PingPong/PingPongEnabled.h Deleted legacy WebSockets helper.
helpers/WebSockets/PingPong/PingPongDisabled.h Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Response.h Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Response.cpp Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Request.h Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Request.cpp Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Notification.h Deleted legacy WebSockets helper.
helpers/WebSockets/JsonRpc/Notification.cpp Deleted legacy WebSockets helper.
helpers/WebSockets/Encryption/TlsEnabled.h Deleted legacy WebSockets helper.
helpers/WebSockets/Encryption/NoEncryption.h Deleted legacy WebSockets helper.
helpers/WebSockets/CommunicationInterface/JsonRpcInterface.h Deleted legacy WebSockets helper.
helpers/WebSockets/CommunicationInterface/CommandInterface.h Deleted legacy WebSockets helper.
helpers/WebSockets/CommunicationInterface/BinaryInterface.h Deleted legacy WebSockets helper.
helpers/UtilssyncPersistFile.h Deleted legacy helper.
helpers/UtilsisValidInt.h Deleted legacy helper.
helpers/UtilsgetRFCConfig.h Deleted legacy helper.
helpers/UtilsgetFileContent.h Deleted legacy helper.
helpers/UtilsfileExists.h Deleted legacy helper.
helpers/UtilsUnused.h Deleted legacy helper.
helpers/UtilsUUID.h Deleted legacy helper.
helpers/UtilsThreadRAII.h Deleted legacy helper.
helpers/UtilsTelemetry.h Deleted legacy helper.
helpers/UtilsSynchroIarm.hpp Deleted legacy helper.
helpers/UtilsSynchro.hpp Deleted legacy helper.
helpers/UtilsString.h Deleted legacy helper.
helpers/UtilsSearchRDKProfile.h Deleted legacy helper.
helpers/UtilsProcess.h Deleted legacy helper.
helpers/UtilsLibraryLoader.h Deleted legacy helper.
helpers/UtilsLOG_MILESTONE.h Deleted legacy helper.
helpers/UtilsJsonrpcDirectLink.h Deleted legacy helper.
helpers/UtilsInputValidator.h Deleted legacy helper.
helpers/UtilsIarm.h Deleted legacy helper.
helpers/UtilsFirebolt.h Deleted legacy helper.
helpers/UtilsFile.h Deleted legacy helper.
helpers/UtilsController.h Deleted legacy helper.
helpers/UtilsConnections.h Deleted legacy helper.
helpers/UtilsCallsign.h Deleted legacy helper.
helpers/UtilsCStr.h Deleted legacy helper.
helpers/UtilsBIT.h Deleted legacy helper.
helpers/StringUtils.h Deleted legacy helper.
helpers/StreamJSONOneShot.h Deleted legacy helper.
helpers/PowerManagerInterface.h Deleted legacy helper.
helpers/PluginInterfaceBuilder.h Deleted legacy helper.
helpers/ObjectUtils.h Deleted legacy helper.
helpers/ContextUtils.h Deleted legacy helper.
helpers/BaseEventDelegate.h Deleted legacy helper.
cov_build.sh Renames build dir/labels to entservices-usersettings.
cmake/FindUdev.cmake Deleted custom Find module.
cmake/FindTTS.cmake Deleted custom Find module.
cmake/FindSqliteSee.cmake Deleted custom Find module.
cmake/FindRDKStorageManager.cmake Deleted custom Find module.
cmake/FindPlabels.cmake Deleted custom Find module.
cmake/FindNopoll.cmake Deleted custom Find module.
cmake/FindNXCLIENT.cmake Deleted custom Find module.
cmake/FindNEXUS.cmake Deleted custom Find module.
cmake/FindLibSoup.cmake Deleted custom Find module.
cmake/FindLMPLAYER.cmake Deleted custom Find module.
cmake/FindGStreamerVideo.cmake Deleted custom Find module.
cmake/FindGStreamer.cmake Deleted custom Find module.
cmake/FindGLIB.cmake Deleted custom Find module.
cmake/FindDL.cmake Deleted custom Find module.
cmake/FindCurl.cmake Deleted custom Find module.
cmake/FindCTRLM.cmake Deleted custom Find module.
cmake/FindCEC.cmake Deleted custom Find module.
cmake/FindBCM_HOST.cmake Deleted custom Find module.
cmake/FindAamp.cmake Deleted custom Find module.
cmake/FindAC.cmake Deleted custom Find module.
Tests/L1Tests/CMakeLists.txt Updates include paths from entservices-infra to entservices-usersettings.
OCIContainer/CMakeLists.txt Updates testframework mocks include path from entservices-infra to entservices-usersettings.
CMakeLists.txt Removes conditional plugin subdirectories; always adds UserSettings.
.github/workflows/native_full_build.yml Renames job labeling to entservices-usersettings.
.github/workflows/L2-tests.yml Renames repo/paths to entservices-usersettings and removes deviceanddisplay checkout/build.
.github/workflows/L2-tests-oop.yml Renames repo/paths to entservices-usersettings; sets -DL2_TEST_OOP_RPC=ON.
.github/workflows/L1-tests.yml Renames repo/paths to entservices-usersettings and adjusts build flags/includes.
.github/instructions/Pluginimplementation.instructions.md Updates instruction links to entservices-usersettings repo URLs.
.github/instructions/Plugin.instructions.md Updates instruction links to entservices-usersettings repo URLs.
.github/copilot-instructions.md Updates guidance links/examples to entservices-usersettings repo URLs.
.github/CODEOWNERS Updates default codeowner team.

Comment thread services.cmake Outdated
Comment on lines 51 to 55
#add_definitions (-DHAS_API_TTSRESOURCESERVICE)
add_definitions (-DPLUGIN_CONTINUEWATCHING)
option(PLUGIN_CONTINUEWATCHING "PLUGIN_CONTINUEWATCHING" ON)

if(PLUGIN_CONTINUEWATCHING)
if(CONTINUEWATCHING_DISABLE_SECAPI)
add_definitions (-DDISABLE_SECAPI)
endif()
endif()

add_definitions (-DPLUGIN_CONTINUEWATCHING)

if(PLUGIN_CONTINUEWATCHING)
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

add_definitions(-DPLUGIN_CONTINUEWATCHING) is now unconditional, which means the compile-time macro is defined even when PLUGIN_CONTINUEWATCHING is OFF. This can cause mismatches where code is compiled as-if the plugin/feature is enabled even though the build option is disabled. Consider moving this definition inside the existing if(PLUGIN_CONTINUEWATCHING) block (or removing it if it’s no longer used).

Copilot uses AI. Check for mistakes.
Comment thread Tests/L1Tests/CMakeLists.txt Outdated
Comment on lines 105 to 107
set (USBDEVICE_INC ${CMAKE_SOURCE_DIR}/../entservices-usersettings/USBDevice ${CMAKE_SOURCE_DIR}/../entservices-usersettings/helpers)
set (USBDEVICE_LIBS ${NAMESPACE}USBDevice ${NAMESPACE}USBDeviceImplementation)
add_plugin_test_ex(PLUGIN_USBDEVICE tests/test_USBDevice.cpp "${USBDEVICE_INC}" "${USBDEVICE_LIBS}")
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

The include paths hardcode the checkout directory name (../entservices-usersettings/...). This only works if the source tree is checked out into a folder named exactly entservices-usersettings, and breaks for local builds or when used as a subproject. Prefer ${CMAKE_SOURCE_DIR}/USBDevice and ${CMAKE_SOURCE_DIR}/helpers (or PROJECT_SOURCE_DIR) to make the build location-independent.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/L2-tests.yml Outdated
-DCMAKE_TOOLCHAIN_FILE="${{ env.TOOLCHAIN_FILE }}"
-S "$GITHUB_WORKSPACE/entservices-usersettings"
-B build/entservices-usersettings
# -DCMAKE_TOOLCHAIN_FILE="${{ env.TOOLCHAIN_FILE }}"
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

The build step switches to the entservices-usersettings checkout/build dir, but the same step later still enables many plugin flags (USBDevice, USBMassStorage, OCIContainer, Telemetry, etc.). With the current root CMakeLists.txt only adding the UserSettings subdirectory, those plugin targets won’t be built and the L2Tests selection/linking based on these flags is likely to fail. Align CI flags with what the repo builds, or restore conditional add_subdirectory() for the enabled plugins.

Suggested change
# -DCMAKE_TOOLCHAIN_FILE="${{ env.TOOLCHAIN_FILE }}"

Copilot uses AI. Check for mistakes.
Comment thread Tests/L1Tests/CMakeLists.txt Outdated
Comment on lines 104 to 107
# PLUGIN_USBDEVICE
set (USBDEVICE_INC ${CMAKE_SOURCE_DIR}/../entservices-infra/USBDevice ${CMAKE_SOURCE_DIR}/../entservices-infra/helpers)
set (USBDEVICE_INC ${CMAKE_SOURCE_DIR}/../entservices-usersettings/USBDevice ${CMAKE_SOURCE_DIR}/../entservices-usersettings/helpers)
set (USBDEVICE_LIBS ${NAMESPACE}USBDevice ${NAMESPACE}USBDeviceImplementation)
add_plugin_test_ex(PLUGIN_USBDEVICE tests/test_USBDevice.cpp "${USBDEVICE_INC}" "${USBDEVICE_LIBS}")
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

This L1Tests target still includes tests/test_UtilsFile.cpp, which includes "UtilsFile.h". Since helpers/UtilsFile.h is removed in this PR, the L1Tests build will fail unless the test is updated to use an alternative implementation or the helper header is kept/moved. Please reconcile the helper deletions with the unit tests that depend on them.

Copilot uses AI. Check for mistakes.
Comment thread CMakeLists.txt Outdated
Comment on lines 58 to 62
add_definitions(-DDISABLE_SECURITY_TOKEN)
endif()

if(PLUGIN_USERSETTINGS)
add_subdirectory(UserSettings)
endif()

if(PLUGIN_USB_MASS_STORAGE)
add_subdirectory(USBMassStorage)
endif()

if(PLUGIN_OCICONTAINER)
add_subdirectory(OCIContainer)
endif()

if(PLUGIN_PERSISTENTSTORE)
add_subdirectory(PersistentStore)
endif()

if(PLUGIN_USBDEVICE)
add_subdirectory(USBDevice)
endif()

if(PLUGIN_TELEMETRY)
add_subdirectory(Telemetry)
endif()

if(PLUGIN_MONITOR)
add_subdirectory(Monitor)
endif()

if(PLUGIN_RDKSHELL)
add_subdirectory(RDKShell)
endif()

if(PLUGIN_RUSTADAPTER)
add_subdirectory(RustAdapter)
endif()

if(PLUGIN_MESSAGECONTROL)
add_subdirectory(MessageControl)
endif()
add_subdirectory(UserSettings)

Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

add_subdirectory(UserSettings) is now unconditional, so cache flags like -DPLUGIN_USERSETTINGS=OFF (and other plugin flags) no longer control what gets built. This also breaks CI/scripts that still enable other plugins/tests, because the corresponding plugin targets (e.g., ${NAMESPACE}USBDevice) won’t be created. Consider restoring the previous if(PLUGIN_...) add_subdirectory(...) gating (at least for plugins enabled in CI) or, if the repo is intended to build only UserSettings, remove the unused plugin flags/tests/scripts accordingly to keep configuration consistent.

Copilot uses AI. Check for mistakes.
Comment thread cov_build.sh
Comment on lines +9 to 15
# Build entservices-usersettings
echo "buliding entservices-usersettings"

cd ${GITHUB_WORKSPACE}
cmake -G Ninja -S "$GITHUB_WORKSPACE" -B build/entservices-infra \
cmake -G Ninja -S "$GITHUB_WORKSPACE" -B build/entservices-usersettings \
-DUSE_THUNDER_R4=ON \
-DCMAKE_INSTALL_PREFIX="$GITHUB_WORKSPACE/install/usr" \
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

After switching the build directory/name to entservices-usersettings, this script still configures Coverity builds with multiple plugin flags and RDK_SERVICES_L1_TEST=ON. With the current root CMake only adding UserSettings, the L1Tests configuration can fail because plugin targets for the enabled flags won’t be created. Align this script with the set of plugins actually built (or restore conditional add_subdirectory() for the enabled plugins).

Copilot uses AI. Check for mistakes.
Comment thread cov_build.sh Outdated
echo "buliding entservices-infra"

# Build entservices-usersettings
echo "buliding entservices-usersettings"
Copy link

Copilot AI Feb 13, 2026

Choose a reason for hiding this comment

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

Typo in the log message: "buliding" → "building". This shows up in CI logs and can make searching for build steps harder.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 16, 2026 12:34
Copy link
Copy Markdown
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 123 out of 525 changed files in this pull request and generated 3 comments.

Comment thread CMakeLists.txt Outdated
Comment on lines 44 to 49
option(PLUGIN_USERSETTINGS "Include UserSettings plugin" ON)
if(PLUGIN_USERSETTINGS)
add_subdirectory(UserSettings)
endif()


Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The PLUGIN_USERSETTINGS option is duplicated on lines 40 and 44. Since this is now a dedicated UserSettings repository, the option declaration is redundant on line 44. Remove the duplicate option declaration.

Suggested change
option(PLUGIN_USERSETTINGS "Include UserSettings plugin" ON)
if(PLUGIN_USERSETTINGS)
add_subdirectory(UserSettings)
endif()

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/L2-tests-oop.yml Outdated

- name: Run unit tests with valgrind
if: ${{ !env.ACT }}
# if: ${{ !env.ACT }}
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The valgrind test step has been commented out instead of properly handling the conditional. Either remove the commented condition entirely or restore it with proper justification. Commented-out conditions reduce code clarity.

Suggested change
# if: ${{ !env.ACT }}
if: ${{ !env.ACT }}

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/L2-tests-oop.yml Outdated

- name: Upload artifacts
if: ${{ !env.ACT }}
# if: ${{ !env.ACT }}
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The artifact upload step has been commented out instead of properly handling the conditional. Either remove the commented condition entirely or restore it with proper justification. Leaving commented conditions in workflows can lead to confusion.

Suggested change
# if: ${{ !env.ACT }}

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 16, 2026 13:38
Copy link
Copy Markdown
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 123 out of 532 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/L2-tests-oop.yml Outdated

- name: Upload artifacts
if: ${{ !env.ACT }}
# if: ${{ !env.ACT }}
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

Similar to the valgrind step, the artifacts upload condition is commented out, so artifacts will always upload. If this is unintentional (e.g., to avoid uploads during ACT/local runs), reintroduce the if: condition as an actual YAML field; otherwise, please remove the commented if: line to prevent confusion.

Suggested change
# if: ${{ !env.ACT }}
if: ${{ !env.ACT }}

Copilot uses AI. Check for mistakes.
### Example

Telemetry Plugin accessing UserSettings(via COM-RPC) through the IShell Interface API **QueryInterfaceByCallsign()** exposed for each Plugin - (Refer https://github.com/rdkcentral/entservices-infra/blob/7988b8a719e594782f041309ce2d079cf6f52863/Telemetry/TelemetryImplementation.cpp#L160 )
Telemetry Plugin accessing UserSettings(via COM-RPC) through the IShell Interface API **QueryInterfaceByCallsign()** exposed for each Plugin - (Refer https://github.com/rdkcentral/entservices-usersettings/blob/7988b8a719e594782f041309ce2d079cf6f52863/Telemetry/TelemetryImplementation.cpp#L160 )
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

This example link appears to reference Telemetry/TelemetryImplementation.cpp inside entservices-usersettings, but this repository is being reduced to only UserSettings (Telemetry is not expected to live here). Update the reference to a stable location where the Telemetry example actually exists (e.g., the repo that owns Telemetry), or replace it with an in-repo example to avoid a dead/404 link.

Suggested change
Telemetry Plugin accessing UserSettings(via COM-RPC) through the IShell Interface API **QueryInterfaceByCallsign()** exposed for each Plugin - (Refer https://github.com/rdkcentral/entservices-usersettings/blob/7988b8a719e594782f041309ce2d079cf6f52863/Telemetry/TelemetryImplementation.cpp#L160 )
Telemetry Plugin accessing UserSettings(via COM-RPC) through the IShell Interface API **QueryInterfaceByCallsign()** exposed for each Plugin - (Refer https://github.com/rdkcentral/entservices-infra/blob/7988b8a719e594782f041309ce2d079cf6f52863/Telemetry/TelemetryImplementation.cpp#L160 )

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 17, 2026 03:08
Copy link
Copy Markdown
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 124 out of 527 changed files in this pull request and generated 2 comments.

Comment on lines 580 to 582
- name: Run unit tests with valgrind
if: ${{ !env.ACT }}
# if: ${{ !env.ACT }}
run: >
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Commenting out the if: key changes the step semantics (it will always run), which can unexpectedly run valgrind in environments where it was previously gated (e.g., local ACT runs). Restore a real if: condition (or remove the gating entirely, but as an intentional YAML key) rather than commenting it out.

Copilot uses AI. Check for mistakes.
Comment on lines 624 to 626
- name: Upload artifacts
if: ${{ !env.ACT }}
# if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

Same issue as above: commenting out if: makes artifact upload unconditional, which can produce noisy artifacts and slow down local/ACT runs. Reintroduce the if: condition as a YAML key (or explicitly decide to run always and remove the commented line).

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 17, 2026 05:53
Copy link
Copy Markdown
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 127 out of 528 changed files in this pull request and generated 5 comments.

Comment thread CMakeLists.txt

if(PLUGIN_FBSETTINGS)
add_subdirectory(FbSettings)
add_subdirectory(plugin)
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The hardcoded subdirectory name 'plugin' is unclear and doesn't follow the pattern of other plugin references. Consider using a more descriptive name like 'UserSettings' or define it as a variable (e.g., PLUGIN_USERSETTINGS_DIR) to maintain consistency with the conditional plugin pattern used elsewhere in RDK services.

Suggested change
add_subdirectory(plugin)
set(PLUGIN_USERSETTINGS_DIR "plugin")
add_subdirectory(${PLUGIN_USERSETTINGS_DIR})

Copilot uses AI. Check for mistakes.
-DTHUNDER_VERSION=4
-DTHUNDER_VERSION_MAJOR=4
-DTHUNDER_VERSION_MINOR=4
-DL2_TEST_OOP_RPC=ON
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The L2_TEST_OOP_RPC flag is added in the first build step but appears to be missing in the documentation or other build contexts. Consider documenting why this flag is necessary for out-of-process testing or ensure it's consistently applied across all relevant build configurations.

Copilot uses AI. Check for mistakes.

- name: Generate coverage
if: ${{ matrix.coverage == 'with-coverage' && !env.ACT }}
if: ${{ matrix.coverage == 'with-coverage' }}
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The condition removed && !env.ACT which was previously used to skip coverage generation in local ACT testing environments. Removing this condition means coverage will now be generated in ACT environments, which may not be intended and could cause issues in local development workflows.

Suggested change
if: ${{ matrix.coverage == 'with-coverage' }}
if: ${{ matrix.coverage == 'with-coverage' && !env.ACT }}

Copilot uses AI. Check for mistakes.
Comment thread ARCHITECTURE.md
## System Architecture
- **Plugin Structure:**
- The plugin is implemented in C++ and follows the WPEFramework plugin interface conventions.
- The main entry point is the `plugin/` directory, containing all source, header, and configuration files for the usersettings plugin.
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The documentation references plugin/ as the main directory, but this is inconsistent with the typical RDK plugin naming convention (e.g., 'UserSettings'). This should be clarified to explain why the generic 'plugin' name was chosen or updated to match the actual directory structure.

Copilot uses AI. Check for mistakes.
Comment thread .github/CODEOWNERS
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @rdkcentral/rdke_ghec_entinfra_maintainer
* @rdkcentral/entservices-maintainers
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The code owner team reference should be verified to ensure @rdkcentral/entservices-maintainers exists and has the appropriate permissions in the GitHub organization. This change affects who receives review requests for all files in the repository.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 17, 2026 12:16
Copy link
Copy Markdown
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 124 out of 528 changed files in this pull request and generated 2 comments.

ref: develop
repository: rdkcentral/entservices-usersettings
path: entservices-usersettings
ref: RDKEMW-13483-usersettings
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The workflow is checking out from a feature branch (RDKEMW-13483-usersettings) instead of a stable branch like develop or main. This creates a dependency on a temporary branch that may be deleted after the PR is merged. Update the ref to use develop or make it configurable via workflow inputs to avoid CI failures after the feature branch is removed. Refer: https://github.com/rdkcentral/entservices-usersettings/blob/develop/.github/instructions/Plugin.instructions.md#interface-implementation

Copilot uses AI. Check for mistakes.
Comment on lines +127 to 132
- name: Checkout entservices-persistentstore
if: ${{ inputs.caller_source == 'local' }}
uses: actions/checkout@v3
with:
path: entservices-persistentstore

Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

A new checkout step for entservices-persistentstore has been added, but there is no corresponding build or usage of this dependency in the workflow. If PersistentStore is required for testing UserSettings, document this dependency relationship in ARCHITECTURE.md or remove the checkout if it's not actually used. Refer: https://github.com/rdkcentral/entservices-usersettings/blob/develop/.github/instructions/Plugin.instructions.md#interface-implementation

Suggested change
- name: Checkout entservices-persistentstore
if: ${{ inputs.caller_source == 'local' }}
uses: actions/checkout@v3
with:
path: entservices-persistentstore

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 17, 2026 13:19
Copy link
Copy Markdown
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 118 out of 528 changed files in this pull request and generated 1 comment.

ref: develop
repository: rdkcentral/entservices-usersettings
path: entservices-usersettings
ref: RDKEMW-13483-usersettings
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The workflow references a specific branch name 'RDKEMW-13483-usersettings' instead of a standard branch like 'develop' or 'main'. This hardcoded branch reference should be updated to reference the default branch to ensure the workflow continues to work after this PR is merged and the feature branch is deleted.

Suggested change
ref: RDKEMW-13483-usersettings

Copilot uses AI. Check for mistakes.
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.

2 participants