Skip to content

Release 1.10.1 - #418

Merged
shibu-kv merged 3 commits into
mainfrom
release/1.10.1
Aug 20, 2026
Merged

shibu-kv merged 3 commits into
mainfrom
release/1.10.1

Conversation

@shibu-kv

Copy link
Copy Markdown
Contributor

No description provided.

shibu-kv and others added 3 commits August 13, 2026 15:02
)

* RDKB-65621: Propagate seek-map clearing across log-upload profiles

Reason for Change: Fix a race where concurrent profile timeout threads consumed a shared
retain-seek flag, causing only one profile to clear its grep seek map
after log upload. Store and propagate the clear-seek decision per
profile, and update related tests.
This ensures all profiles clear their grep seek maps after a log upload,
preventing stale seek positions from causing log markers such as
Total_5G_clients_split to be missed after log files are truncated or
rotated.
Test Procedure: Refer the ticket descriptions
Risks: Medium
Priority: P0
Signed-off-by: Thamim Razith Abbas Ali <tabbas651@comcast.com>

* Update scheduler mocks and unit tests for the new per-profile

---------

Signed-off-by: Thamim Razith Abbas Ali <tabbas651@comcast.com>
Copilot AI lite review requested due to automatic review settings August 20, 2026 13:57
@shibu-kv
shibu-kv requested a review from a team as a code owner August 20, 2026 13:57

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

Release 1.10.1 updates the scheduler/log-upload interrupt path so a single “clear seek-map” decision is captured once per LOG_UPLOAD event and propagated consistently to all interrupted profiles, avoiding inter-profile timing races.

Changes:

  • Extended SendInterruptToTimeoutThread to accept an isClearSeekMap flag and plumbed it through scheduler, bulkdata, and test mocks.
  • Moved seek-map clearing decision to ReportProfiles_Interrupt() (compute once, pass to all profiles) and stored it per scheduler profile for the timeout callback.
  • Updated unit tests/mocks and added a 1.10.1 changelog entry.

Reviewed changes

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

Show a summary per file
File Description
source/test/scheduler/schedulerTest.cpp Updates test calls for new SendInterruptToTimeoutThread(..., bool) signature.
source/test/bulkdata/SchedulerMock.h Updates mock method signature to include isClearSeekMap.
source/test/bulkdata/SchedulerMock.cpp Updates C-wrapper to forward isClearSeekMap into the mock.
source/test/bulkdata/profileTest.cpp Adjusts expectations for updated interrupt call and new retainseekmap interactions.
source/scheduler/scheduler.h Adds SchedulerProfile::isClearSeekMap and updates interrupt API signature.
source/scheduler/scheduler.c Stores/consumes per-profile isClearSeekMap across interrupt → timeout callback.
source/bulkdata/reportprofiles.c Captures retainseekmap once per interrupt and propagates to all interrupted profiles.
source/bulkdata/profile.h Updates sendLogUploadInterruptToScheduler signature to accept isClearSeekMap.
source/bulkdata/profile.c Passes isClearSeekMap through to scheduler interrupts.
CHANGELOG.md Adds 1.10.1 release entry.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

T2ERROR unregisterProfileFromScheduler(const char* profileName);

T2ERROR SendInterruptToTimeoutThread(char* profileName);
T2ERROR SendInterruptToTimeoutThread(char* profileName, bool isClearSeekMap);
Comment thread CHANGELOG.md
Comment on lines +7 to +10
#### [1.10.1](https://github.com/rdkcentral/telemetry/compare/1.10.0...1.10.1)

- RDKB-65621: Propagate seek-map clearing across log-upload profiles [`#414`](https://github.com/rdkcentral/telemetry/pull/414)

@github-actions

Copy link
Copy Markdown

Code Coverage Summary

                                         |Lines       |Functions  |Branches    
Filename                                  |Rate     Num|Rate    Num|Rate     Num
================================================================================
[/mnt/L1_CONTAINER_SHARED_VOLUME/source/]
bulkdata/datamodel.c                      |72.5%    218|88.9%     9|    -      0
bulkdata/profile.c                        |21.5%   1076|71.0%    31|    -      0
bulkdata/profilexconf.c                   |45.5%    501|81.2%    16|    -      0
bulkdata/reportprofiles.c                 |57.6%    585| 100%    27|    -      0
bulkdata/t2eventreceiver.c                |64.8%    298| 100%    10|    -      0
bulkdata/t2markers.c                      |80.5%    169|83.3%    12|    -      0
ccspinterface/busInterface.c              |86.8%     53|85.7%     7|    -      0
ccspinterface/rbusInterface.c             |74.3%    946|97.2%    36|    -      0
commonlib/telemetry_busmessage_sender.c   |40.4%    396|84.2%    19|    -      0
dcautil/dca.c                             |71.7%    674| 100%    20|    -      0
dcautil/dcaproc.c                         |84.3%    230| 100%     7|    -      0
dcautil/dcautil.c                         |78.9%    185| 100%     6|    -      0
dcautil/legacyutils.c                     |79.0%    105| 100%     7|    -      0
privacycontrol/rdkservices_privacyutils.c | 100%     11| 100%     2|    -      0
protocol/http/curlinterface.c             | 100%     24| 100%     3|    -      0
protocol/http/multicurlinterface.c        |59.7%    375|80.0%    10|    -      0
protocol/rbusMethod/rbusmethodinterface.c |60.6%    104|50.0%     6|    -      0
reportgen/reportgen.c                     |55.9%    919| 100%    21|    -      0
scheduler/scheduler.c                     |73.6%    371| 100%    12|    -      0
t2parser/t2parser.c                       |59.4%   1939|88.5%    26|    -      0
t2parser/t2parserxconf.c                  |89.7%    195| 100%     3|    -      0
utils/persistence.c                       |78.7%    253| 100%    10|    -      0
utils/t2MtlsUtils.c                       |82.6%     46|75.0%     4|    -      0
utils/t2collection.c                      |89.6%    201| 100%    18|    -      0
utils/t2common.c                          |58.9%    185|66.7%    15|    -      0
utils/t2log_wrapper.c                     |69.2%     26|50.0%     2|    -      0
utils/vector.c                            |94.9%     79| 100%     8|    -      0
================================================================================
                                   Total:|60.5%  10164|89.9%   347|    -      0

@shibu-kv
shibu-kv merged commit cfaf599 into main Aug 20, 2026
18 of 19 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants