Skip to content

Update - #104

Open
hgfell683 wants to merge 86 commits into
feature/RDKEMW-7784from
develop
Open

Update#104
hgfell683 wants to merge 86 commits into
feature/RDKEMW-7784from
develop

Conversation

@hgfell683

Copy link
Copy Markdown
Contributor

No description provided.

rdkcmf-jenkins and others added 5 commits June 24, 2025 14:04
* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 - COMRPC for FrontPanel

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC

* RDKEMW-1013 FrontPanel COMRPC
1.0.12 release 1.0.12
@hgfell683
hgfell683 requested a review from a team as a code owner September 18, 2025 15:00
@CLAassistant

CLAassistant commented Sep 18, 2025

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 4 committers have signed the CLA.

✅ arun-madhavan-013
✅ hgfell683
✅ Alan-Ryan
❌ actions-user
You have signed the CLA already but the status is still pending? Let us recheck it.

arun-madhavan-013 and others added 23 commits September 24, 2025 08:47
…interface header changes (#93)

* RDKEMW-3789: align to ILEDControl changes

* RDKEMW-3789: LEDControl resolve the build errors

* RDKEMW-3789: fix the build error

* RDKEMW-3789: optimize the code and update proper return values

* RDKEMW-3789: change error to proper value

* RDKEMW-3789: add debug logs to clarify mismatching state

* RDKEMW-3789: clean-up test logic and make the plugin singleton and inhibit copying or multiple instantiations

* RDKEMW-3789: enhance LEDControl implementation with cache for supported state

* RDKEMW-3789: LEDControl return unsupported if HAL init fails

* RDKEMW-3789: add backward compatibility for GetLEDState

* RDKEMW-3789: LEDControl align the ERROR response to previous behavior

* RDKEMW-3789: LEDControl add logging to confirm method triggered

* RDKEMW-3789: fix the build issues

* RDKEMW-3789: fix the L2 compile error

* RDKEMW-3789: unwanted remove editor configs

* RDKEMW-3789: update LEDControl L2 COMRPC states to matching states

* RDKEMW-3789: point testframework to fetch the updated code

* RDKEMW-3789: Turn OFF LEDControl L2 for unblocking others

* RDKEMW-3789: turn OFF L2 of LEDControl until testframework adopts the change

* RDKEMW-3789: LEDControl implement L2 changes

* RDKEMW-3789: use testframework SHA for workflow verification

* RDKEMW-3789: LEDControl add the missing conversions

* RDKEMW-3789: LEDControl L2 revert to old logic

* RDKEMW-3789: LEDControl L2 fix the logical issues

* RDKEMW-3789: LEDcontrol L2 correct the enum used

* RDKEMW-3789: LEDControl L2 fix the error

* RDKEMW-3789: LEDControl L2 enhancements

* RDKEMW-3789: LEDControl fix the duplicate TC definition and warning

* RDKEMW-3789: LEDControl L2 fix warnings and correct init param

* RDKEMW-3789: LEDControl L2 fix the error code mismatches

* RDKEMW-3789: use updated testframework

* RDKEMW-3789: Update L1-tests to use default develop head

* RDKEMW-3789: Update L2-tests to use default develop head
1.0.13 release 1.0.13
1.0.14 release 1.0.14
Deploy fossid_integration_stateless_diffscan_target_repo action
1.0.15 release 1.0.15
* RDKEMW-7784 - Frontpanel GTest

---------

Co-authored-by: apatel859 <48992974+apatel859@users.noreply.github.com>
1.0.16 release 1.0.16
* RDKEMW-7617 - Range in 'getFrontPanelLights' api

* RDKEMW-7617 - Range in 'getFrontPanelLights' api
1.0.17 release 1.0.17

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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

srikanth-vv and others added 4 commits February 27, 2026 14:17
Reason for change: README update
Test Procedure: None
Risks: Low
Priority: P1
version: patch
1.5.1 release 1.5.1
Copilot AI review requested due to automatic review settings February 27, 2026 19:17

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.

Copilot was unable to review this pull request because the user who requested the review is ineligible. To be eligible to request a review, you need a paid Copilot license, or your organization must enable Copilot code review.

msmith113 and others added 4 commits March 3, 2026 10:29
…cecontrol to MW builds (#134)

* Removing voice and remote control plugins.

* Adding temp dummy target when there are no cmake install targets

* Updates
RDKEMW-12197: Remove entservices-remotecontrol and entservices-voicecontrol
Copilot AI review requested due to automatic review settings March 4, 2026 13:07

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

Comments suppressed due to low confidence (4)

helpers/frontpanel.cpp:1

  • CFrontPanel::deinitialize() dereferences s_instance unconditionally (s_instance->stop()), which will crash if deinitialize() is called before instance() initializes the singleton (or after it has already been deleted). Guard s_instance before calling stop() (and ideally make deinitialize() idempotent so repeated calls are safe).
    helpers/frontpanel.h:1
  • CFrontPanel::loadPreferences() remains part of the public helper API, but its implementation was removed in helpers/frontpanel.cpp in this PR. If any remaining code links against this helper and calls loadPreferences(), it will fail at link time with an undefined reference. Either restore the implementation, or remove/replace this API (and any callers) as part of the same change.
    helpers/PluginInterfaceBuilder.h:1
  • The move constructor transfers _service from other, but it only nulls other._interface and leaves other._service intact. If the moved-from object later tries to use/release _service (e.g., in a destructor or another method), this can lead to double-release or unexpected behavior. Consider setting other._service = nullptr (and ensure move assignment, destructor, and ownership semantics are consistent).
    README.md:1
  • The Markdown table uses double leading pipes (||), which renders as an extra empty column in many Markdown parsers. Use single leading pipes (|) per row for a standard 2-column table.

andrejz2 and others added 4 commits March 11, 2026 21:34
* Add FindTelemetry.cmake to locate Telemetry library

* Integrate Telemetry package in CMakeLists.txt

Added Telemetry package support to MotionDetection plugin.

* Add telemetry bus message sender include
Signed-off-by: svemur170 <srikanth_vemuri@comcast.com>
Copilot AI review requested due to automatic review settings March 12, 2026 01: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 67 out of 67 changed files in this pull request and generated 5 comments.

Comment thread helpers/frontpanel.cpp
Comment on lines +212 to +216
void CFrontPanel::deinitialize()
{

s_instance->stop();

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

CFrontPanel::deinitialize() dereferences s_instance unconditionally (s_instance->stop()), which will crash if deinitialize is called before instance() initializes s_instance (or after it was already deleted). Add a null check (and ideally an initDone guard) before calling methods on s_instance, and consider making the function idempotent so repeated calls are safe.

Copilot uses AI. Check for mistakes.
Comment thread helpers/frontpanel.h
Comment on lines 113 to 117
void setPowerStatus(bool powerStatus);
JsonObject getPreferences();
void setPreferences(const JsonObject& preferences);
bool setLED(const JsonObject& blinkInfo);
void setBlink(const JsonObject& blinkInfo);
void loadPreferences();
void stopBlinkTimer();

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

CFrontPanel still declares loadPreferences() as a public method, but there is no corresponding definition in the repo (searching for CFrontPanel::loadPreferences returns nothing). This will lead to link errors for any target that links helpers/frontpanel.cpp and calls this API; either restore the implementation or remove the declaration if it’s intentionally no longer supported.

Copilot uses AI. Check for mistakes.
Comment on lines 61 to 67
// use move
PluginInterfaceRef(PluginInterfaceRef&& other)
: _interface(other._interface)
, _service(other._service)
{
other._interface = nullptr;
}

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

PluginInterfaceRef now stores _service and moves it in the move-constructor, but the move-constructor only nulls other._interface (not other._service). More importantly, move-assignment/other operations should be updated to treat _service consistently (move it and clear the moved-from state) to avoid stale pointers and confusing object state.

Copilot uses AI. Check for mistakes.
Comment on lines 25 to +29
#include <syscall.h>
#include "UtilsJsonRpc.h"

#include <telemetry_busmessage_sender.h>

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

Telemetry is included and used unconditionally (#include <telemetry_busmessage_sender.h>), but the CMake changes make Telemetry optional (find_package(Telemetry) + link only when found). If Telemetry isn't installed, this will fail to compile even though TELEMETRY_FOUND is false. Please guard the include/usage behind a compile definition (e.g., ENABLE_TELEMETRY_LOGGING) or make Telemetry a required dependency for MotionDetection.

Copilot uses AI. Check for mistakes.
Comment on lines 23 to 26
find_package(${NAMESPACE}Plugins REQUIRED)
find_package(Telemetry)

add_library(${MODULE_NAME} SHARED

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

find_package(Telemetry) is optional here, but MotionDetection.cpp includes and calls telemetry APIs unconditionally. Either make Telemetry REQUIRED in CMake, or add a compile definition when TELEMETRY_FOUND is true and conditionally compile telemetry-related code so builds without Telemetry still succeed.

Copilot uses AI. Check for mistakes.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

* RDKEMW-18857 : Remove RDKCM_RDKE from all workflows

Reason for change: RDKCM_RDKE secret is introduced to access
entservices-testframework when its private. Now repo has been
made as public. So, removing the RDKCM_RDKE secrets from all workflows.
Test Procedure: refer ticket.
Risks: Medium
Priority: P2
version: Patch

Signed-off-by: balaji velmurugan <balaji_velmurugan@comcast.com>

* Update component-release.yml

* Update build_dependencies.sh

* Update component-release.yml

* Updated component-release-main.yml

---------

Signed-off-by: balaji velmurugan <balaji_velmurugan@comcast.com>
Co-authored-by: balaji velmurugan <balaji_velmurugan@comcast.com>
Co-authored-by: rajaLucy <rajakiranyadavalli@gmail.com>
Copilot AI review requested due to automatic review settings July 9, 2026 16:13

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

Comment on lines 27 to +29

#include <telemetry_busmessage_sender.h>

Comment on lines +43 to +46
if(TELEMETRY_FOUND)
target_link_libraries(${MODULE_NAME} PRIVATE ${TELEMETRY_LIBRARIES})
target_include_directories(${MODULE_NAME} PRIVATE ${TELEMETRY_INCLUDE_DIRS})
endif()
Comment thread cmake/FindTelemetry.cmake
Comment on lines +24 to +35
find_package(PkgConfig)

find_library(TELEMETRY_LIBRARIES NAMES telemetry_msgsender)
find_path(TELEMETRY_INCLUDE_DIRS NAMES telemetry_busmessage_sender.h)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TELEMETRY DEFAULT_MSG TELEMETRY_INCLUDE_DIRS TELEMETRY_LIBRARIES)

mark_as_advanced(
TELEMETRY_FOUND
TELEMETRY_INCLUDE_DIRS
TELEMETRY_LIBRARIES)
Comment thread helpers/frontpanel.cpp
Comment on lines +212 to +225
void CFrontPanel::deinitialize()
{

s_instance->stop();

if (_powerManagerPlugin) {
_powerManagerPlugin.Reset();
}
if (s_instance) {
delete s_instance;
s_instance = nullptr;
}
initDone = 0;
}
Comment on lines +461 to +462
t2_event_d("SYST_INFO_NotifyMotion", 1);

Co-authored-by: smohap466_comcast <srinibas_mohapatra@comcast.com>
Copilot AI review requested due to automatic review settings August 5, 2026 12: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 70 out of 70 changed files in this pull request and generated no new comments.

Suppressed comments (4)

MotionDetection/MotionDetection.cpp:463

  • This telemetry event is emitted unconditionally. If telemetry logging is disabled (ENABLE_TELEMETRY_LOGGING not defined) or the telemetry library is not linked, this will cause compile/link failures or unintentionally emit telemetry in builds where it’s meant to be off.
    MotionDetection/CMakeLists.txt:27
  • Telemetry is discovered and linked opportunistically, but MotionDetection.cpp currently uses telemetry APIs unconditionally. This combination can break builds when telemetry isn’t present. Consider tying Telemetry discovery/linking to BUILD_ENABLE_TELEMETRY_LOGGING and making it REQUIRED when enabled.
    helpers/frontpanel.cpp:216
  • CFrontPanel::deinitialize() dereferences s_instance unconditionally (s_instance->stop()), which will crash if deinitialize() is called before instance() creates the singleton (or after it has already been deleted).
    MotionDetection/MotionDetection.cpp:29
  • Telemetry is included unconditionally, but the project only enables telemetry via the ENABLE_TELEMETRY_LOGGING define (see helpers/UtilsTelemetry.h). As written, builds without telemetry headers available (or when telemetry is intentionally disabled) can fail at compile/link time.

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.