Skip to content

problem_report: add get_on_disk_size() to CompressedFile#606

Open
bdrung wants to merge 1 commit into
canonical:mainfrom
bdrung:compressed-file-get_reduced_size
Open

problem_report: add get_on_disk_size() to CompressedFile#606
bdrung wants to merge 1 commit into
canonical:mainfrom
bdrung:compressed-file-get_reduced_size

Conversation

@bdrung
Copy link
Copy Markdown
Member

@bdrung bdrung commented Apr 28, 2026

UserInterface.get_complete_size and UserInterface.get_reduced_size need to determine the on-disk size of the problem report values. CompressedFile does not support len().

Add a get_on_disk_size() method to CompressedFile.

`UserInterface.get_complete_size` and `UserInterface.get_reduced_size`
need to determine the on-disk size of the problem report values.
`CompressedFile` does not support `len()`.

Add a `get_on_disk_size()` method to `CompressedFile`.
@bdrung bdrung force-pushed the compressed-file-get_reduced_size branch from 5070a09 to f88764b Compare April 28, 2026 14:18
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.53%. Comparing base (3588162) to head (f88764b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #606   +/-   ##
=======================================
  Coverage   84.52%   84.53%           
=======================================
  Files         104      104           
  Lines       21000    21010   +10     
  Branches     3219     3220    +1     
=======================================
+ Hits        17751    17761   +10     
- Misses       2808     2809    +1     
+ Partials      441      440    -1     

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

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

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.

1 participant