From 8f6636c4d6ec47631ea7716dd714b8e0c5662c36 Mon Sep 17 00:00:00 2001 From: rdkcmf Date: Tue, 24 Jun 2025 15:08:04 +0100 Subject: [PATCH 1/4] Deploy cla action --- .github/workflows/cla.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..05504793 --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,13 @@ +name: "CLA" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened,closed,synchronize] + +jobs: + CLA-Lite: + name: "Signature" + uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@main + secrets: + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} \ No newline at end of file From df7cccce6ad86b90f3080720585822af016ce2c1 Mon Sep 17 00:00:00 2001 From: rdkcmf Date: Thu, 25 Sep 2025 17:37:43 +0100 Subject: [PATCH 2/4] Deploy cla action --- .github/workflows/cla.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 05504793..c58b1b0b 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,13 +1,20 @@ name: "CLA" + +permissions: + contents: read + pull-requests: write + actions: write + statuses: write + on: issue_comment: types: [created] pull_request_target: - types: [opened,closed,synchronize] + types: [opened, closed, synchronize] jobs: CLA-Lite: name: "Signature" - uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@main + uses: rdkcentral/cmf-actions/.github/workflows/cla.yml@v1 secrets: - PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} \ No newline at end of file + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT }} From 5acee638b1737c8604847c02e910135aaa086cfb Mon Sep 17 00:00:00 2001 From: shivabhaskar <31137603+shivabhaskar@users.noreply.github.com> Date: Fri, 26 Sep 2025 20:11:41 +0530 Subject: [PATCH 3/4] ISSUE-76: Ensure Signal Handler in not preempted (#181) Reason for Change: Prevent signal handlers from being preempted; serialize handling for signals 10 and 12 to avoid concurrent execution. Test Procedure: Aggressively simulate report uploads and verify that no crashes occur. Risks: Medium Priority: P1 --- source/bulkdata/profilexconf.c | 2 +- source/telemetry2_0.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/bulkdata/profilexconf.c b/source/bulkdata/profilexconf.c index d0c0a52f..c204bd85 100644 --- a/source/bulkdata/profilexconf.c +++ b/source/bulkdata/profilexconf.c @@ -498,7 +498,7 @@ reportXconfThreadEnd : reportThreadExits = false; pthread_mutex_unlock(&plMutex); pthread_cond_destroy(&reuseThread); - T2Debug("%s --out exiting the CollectAndReportXconf thread \n", __FUNCTION__); + T2Info("%s --out exiting the CollectAndReportXconf thread \n", __FUNCTION__); return NULL; } diff --git a/source/telemetry2_0.c b/source/telemetry2_0.c index fafef5f8..c9dce45b 100644 --- a/source/telemetry2_0.c +++ b/source/telemetry2_0.c @@ -267,6 +267,8 @@ static void t2DaemonMainModeInit( ) sigaddset(&blocking_signal, LOG_UPLOAD_ONDEMAND); sigaddset(&blocking_signal, SIGIO); + act.sa_mask = blocking_signal; // block these signals while inside handler + DAEMONPID = getpid(); // save the pid of the deamon T2Debug("Telemetry 2.0 Process PID %d\n", (int)DAEMONPID); //Debug line From 1a0c0ead1a0d50ca65cc220b688e986166e8ed51 Mon Sep 17 00:00:00 2001 From: rdkcmf Date: Mon, 29 Sep 2025 14:10:22 +0100 Subject: [PATCH 4/4] Deploy fossid_integration_stateless_diffscan_target_repo action --- ...integration_stateless_diffscan_target_repo.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml b/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml index 5038b432..7b8c1cba 100644 --- a/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml +++ b/.github/workflows/fossid_integration_stateless_diffscan_target_repo.yml @@ -1,13 +1,18 @@ name: Fossid Stateless Diff Scan -on: +on: pull_request: - branches: - - develop + types: [opened, synchronize, reopened] + +permissions: + contents: read + pull-requests: read + jobs: call-fossid-workflow: - uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@develop - secrets: + if: ${{ ! github.event.pull_request.head.repo.fork }} + uses: rdkcentral/build_tools_workflows/.github/workflows/fossid_integration_stateless_diffscan.yml@1.0.0 + secrets: FOSSID_CONTAINER_USERNAME: ${{ secrets.FOSSID_CONTAINER_USERNAME }} FOSSID_CONTAINER_PASSWORD: ${{ secrets.FOSSID_CONTAINER_PASSWORD }} FOSSID_HOST_USERNAME: ${{ secrets.FOSSID_HOST_USERNAME }}