Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Always initialize cachedItemsCount, it is used in observability sender #12169

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

bogdandrutu
Copy link
Member

During #12136 discussion, it was noted that the count may not always be called, but that is not true since we always call it in the observability sender. This PR only simplifies the logic and ensure we always have the right number.

@bogdandrutu bogdandrutu requested review from dmitryax and a team as code owners January 23, 2025 07:10
@bogdandrutu bogdandrutu force-pushed the cachedItemsCount branch 3 times, most recently from f6e5ce8 to 0774e36 Compare January 23, 2025 07:36
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.81%. Comparing base (ad36545) to head (faf7758).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12169      +/-   ##
==========================================
- Coverage   91.82%   91.81%   -0.01%     
==========================================
  Files         463      463              
  Lines       24776    24767       -9     
==========================================
- Hits        22750    22741       -9     
  Misses       1644     1644              
  Partials      382      382              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bogdandrutu bogdandrutu enabled auto-merge January 23, 2025 17:08
@bogdandrutu bogdandrutu added this pull request to the merge queue Jan 23, 2025
Merged via the queue into open-telemetry:main with commit c24f9dc Jan 23, 2025
53 checks passed
@bogdandrutu bogdandrutu deleted the cachedItemsCount branch January 23, 2025 18:07
github-merge-queue bot pushed a commit that referenced this pull request Jan 23, 2025
No need for a changelog since the cache items was added this release.

Depends on
#12169

---------

Signed-off-by: Bogdan Drutu <[email protected]>
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