Skip to content

problem_report: add CompressedFile.write()#610

Open
bdrung wants to merge 2 commits into
canonical:mainfrom
bdrung:write-method
Open

problem_report: add CompressedFile.write()#610
bdrung wants to merge 2 commits into
canonical:mainfrom
bdrung:write-method

Conversation

@bdrung

@bdrung bdrung commented Apr 28, 2026

Copy link
Copy Markdown
Member

Add a CompressedFile.write() method to support this problem report value type in Report.add_kernel_crash_info().

@codecov

codecov Bot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.54839% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.38%. Comparing base (07b90b3) to head (9061e03).

Files with missing lines Patch % Lines
problem_report.py 90.47% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #610   +/-   ##
=======================================
  Coverage   84.37%   84.38%           
=======================================
  Files         106      106           
  Lines       21035    21047   +12     
  Branches     3220     3222    +2     
=======================================
+ Hits        17749    17761   +12     
  Misses       2803     2803           
  Partials      483      483           

☔ View full report in Codecov by Harness.
📢 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.

bdrung added 2 commits June 19, 2026 14:41
The method `decode_compressed_stream` is used outside of
`CompressedValue`. Move this method to a stand-alone function to ease
reusing it.
Add a `CompressedFile.write()` method to support this problem report
value type in `Report.add_kernel_crash_info()`. This change is part of
the wider approach to add type hints to `ProblemReport`.
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