Skip to content

memoryscraper cleanup#1773

Open
Akshay2191 wants to merge 1 commit into
v3-refactoringfrom
memoryscraper-cleanup
Open

memoryscraper cleanup#1773
Akshay2191 wants to merge 1 commit into
v3-refactoringfrom
memoryscraper-cleanup

Conversation

@Akshay2191

Copy link
Copy Markdown
Collaborator

No description provided.

@Akshay2191 Akshay2191 requested a review from a team as a code owner June 30, 2026 18:10
@github-actions github-actions Bot added chore Pull requests for routine tasks dependencies labels Jun 30, 2026
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.89%. Comparing base (fc7dd7f) to head (c1ea8e5).

Additional details and impacted files
@@                Coverage Diff                 @@
##           v3-refactoring    #1773      +/-   ##
==================================================
+ Coverage           84.78%   84.89%   +0.11%     
==================================================
  Files                 105      105              
  Lines               13656    13660       +4     
==================================================
+ Hits                11578    11597      +19     
+ Misses               1557     1540      -17     
- Partials              521      523       +2     
Files with missing lines Coverage Δ
...al/scraper/memoryscraper/internal/cgroup/memory.go 79.12% <100.00%> (+0.95%) ⬆️

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc7dd7f...c1ea8e5. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Akshay2191 Akshay2191 force-pushed the memoryscraper-cleanup branch from b5d8cb0 to c1ea8e5 Compare July 1, 2026 12:15
cgroupStat.Shared = memoryStat.shared
cgroupStat.UsedPercent = usedMemoryPercent
cgroupStat.Free = memoryLimitInBytes - usedMemory
cgroupStat.Free = saturatingSub(memoryLimitInBytes, usedMemory)

@karensantana karensantana Jul 2, 2026

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.

comment(non-blocking): I know this was not introduced in this PR, however it is interesting that Free and Available are holding the same value (and the metrics tests are passing). According to AI these values are not the same. 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants