Skip to content

Add support for COMRPC changes in L2Tests plugin in Testframework repo - #129

Open
smanes0213 wants to merge 14 commits into
developfrom
L2TestPlugin_COMRPC
Open

Add support for COMRPC changes in L2Tests plugin in Testframework repo#129
smanes0213 wants to merge 14 commits into
developfrom
L2TestPlugin_COMRPC

Conversation

@smanes0213

Copy link
Copy Markdown
Contributor

No description provided.

@smanes0213
smanes0213 requested a review from a team as a code owner January 5, 2026 11:23
@smanes0213 smanes0213 changed the title Update L2-tests.yml Add support for COMRPC changes in L2Tests plugin in Testframework repo Jan 7, 2026

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 pull request updates the L2Tests plugin in the TestFramework repository to align with COM-RPC (Component Object Model - Remote Procedure Call) best practices. The changes remove an unnecessary manual reference count increment and update workflow configurations to use feature branches for testing the COMRPC changes.

Changes:

  • Removed manual AddRef() call on interface obtained via QueryInterface() in LedControl_L2Test
  • Updated workflow references from develop to L2TestPlugin_COMRPC branch for coordinated testing
  • Fixed CMake build configuration parameter name from BUILD_TYPE to CMAKE_BUILD_TYPE
  • Updated entservices-apis reference to Test branch for all workflows

Reviewed changes

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

File Description
Tests/L2Tests/tests/LedControl_L2Test.cpp Removed unnecessary manual AddRef() call after QueryInterface(), properly aligning with Thunder COM-RPC semantics
.github/workflows/L2-tests.yml Updated branch references to coordinate testing and fixed CMake parameter name
.github/workflows/L1-tests.yml Updated branch references to coordinate testing across test workflows
Comments suppressed due to low confidence (1)

Tests/L2Tests/tests/LedControl_L2Test.cpp:138

  • The QueryInterface() method in Thunder's COM-RPC framework automatically increments the reference count when returning an interface pointer. The removal of the manual AddRef() call is correct and aligns with Thunder COM-RPC best practices. However, ensure that the interface is still properly released in the destructor (which is confirmed at lines 103-105). This change correctly addresses reference counting semantics.
            m_LEDplugin = m_controller_LED->QueryInterface<Exchange::ILEDControl>();

repository: rdkcentral/entservices-peripherals
path: entservices-peripherals
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches like develop. While this is appropriate for testing coordinated changes across repositories, ensure these feature branches are merged back to stable branches before this workflow change is merged to the main branch. Feature branch references in CI workflows can break when those branches are deleted after merge.

Copilot uses AI. Check for mistakes.
repository: rdkcentral/entservices-testframework
path: entservices-testframework
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches like develop. While this is appropriate for testing coordinated changes across repositories, ensure these feature branches are merged back to stable branches before this workflow change is merged to the main branch. Feature branch references in CI workflows can break when those branches are deleted after merge.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/L2-tests.yml Outdated
repository: rdkcentral/entservices-apis
path: entservices-apis
ref: ${{env.INTERFACES_REF}}
ref: Test

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches like develop. While this is appropriate for testing coordinated changes across repositories, ensure these feature branches are merged back to stable branches before this workflow change is merged to the main branch. Feature branch references in CI workflows can break when those branches are deleted after merge.

Suggested change
ref: Test
ref: develop

Copilot uses AI. Check for mistakes.
repository: rdkcentral/entservices-testframework
path: entservices-testframework
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches. This is a concern for the same reason as in L2-tests.yml - ensure these feature branches exist and are coordinated, or use stable branch references after the dependent changes are merged. Feature branch references can cause CI failures when branches are deleted.

Copilot uses AI. Check for mistakes.
repository: rdkcentral/entservices-peripherals
path: entservices-peripherals
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches. This is a concern for the same reason as in L2-tests.yml - ensure these feature branches exist and are coordinated, or use stable branch references after the dependent changes are merged. Feature branch references can cause CI failures when branches are deleted.

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/L1-tests.yml Outdated
repository: rdkcentral/entservices-apis
path: entservices-apis
ref: ${{env.INTERFACES_REF}}
ref: Test

Copilot AI Jan 15, 2026

Copy link

Choose a reason for hiding this comment

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

Workflow is using feature branch references (L2TestPlugin_COMRPC and Test) instead of stable branches. This is a concern for the same reason as in L2-tests.yml - ensure these feature branches exist and are coordinated, or use stable branch references after the dependent changes are merged. Feature branch references can cause CI failures when branches are deleted.

Suggested change
ref: Test

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings January 30, 2026 06:59

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

repository: rdkcentral/entservices-testframework
path: entservices-testframework
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 30, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow now references the branch 'L2TestPlugin_COMRPC' instead of 'develop'. This appears to be a temporary branch for testing COMRPC changes. Before merging, ensure that:

  1. This branch exists and contains the necessary COMRPC changes
  2. There is a plan to either merge this branch back to develop or update this reference to 'develop' once the COMRPC changes are integrated
  3. The same branch reference update is coordinated across both entservices-peripherals and entservices-testframework repositories

Copilot uses AI. Check for mistakes.
repository: rdkcentral/entservices-peripherals
path: entservices-peripherals
ref: develop
ref: L2TestPlugin_COMRPC

Copilot AI Jan 30, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow now references the branch 'L2TestPlugin_COMRPC' instead of 'develop'. This appears to be a temporary branch for testing COMRPC changes. Before merging, ensure that:

  1. This branch exists and contains the necessary COMRPC changes
  2. There is a plan to either merge this branch back to develop or update this reference to 'develop' once the COMRPC changes are integrated
  3. The same branch reference update is coordinated across both entservices-peripherals and entservices-testframework repositories

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.

3 participants