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

fix: empty reports not being saved in readable format #561

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

giovanni-guidini
Copy link
Contributor

Apparently I forgot a little detail in the previous "fix"
(that the ProcessingResult is broken apart if it fails)

This time I tested locally 😅

@codecov-staging
Copy link

codecov-staging bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         423      423           
  Lines       35417    35419    +2     
=======================================
+ Hits        34537    34539    +2     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <100.00%> (+<0.01%) ⬆️
unit 97.51% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.58% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.75% <ø> (ø)
Files Coverage Δ
services/report/__init__.py 92.22% <ø> (ø)
tasks/tests/unit/test_upload_processing_task.py 100.00% <ø> (ø)
tasks/upload_processor.py 92.53% <100.00%> (+0.07%) ⬆️

@codecov-qa
Copy link

codecov-qa bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (e78491c) to head (47a7bf5).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         423      423           
  Lines       35417    35419    +2     
=======================================
+ Hits        34537    34539    +2     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <100.00%> (+<0.01%) ⬆️
unit 97.51% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.58% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.75% <ø> (ø)
Files Coverage Δ
services/report/__init__.py 92.22% <ø> (ø)
tasks/tests/unit/test_upload_processing_task.py 100.00% <ø> (ø)
tasks/upload_processor.py 92.53% <100.00%> (+0.07%) ⬆️

Copy link

codecov-public-qa bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.51%. Comparing base (e78491c) to head (47a7bf5).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         423      423           
  Lines       35417    35419    +2     
=======================================
+ Hits        34537    34539    +2     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <100.00%> (+<0.01%) ⬆️
unit 97.51% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.58% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.75% <ø> (ø)
Files Coverage Δ
services/report/__init__.py 92.22% <ø> (ø)
tasks/tests/unit/test_upload_processing_task.py 100.00% <ø> (ø)
tasks/upload_processor.py 92.53% <100.00%> (+0.07%) ⬆️

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.55%. Comparing base (e78491c) to head (47a7bf5).

Changes have been made to critical files, which contain lines commonly executed in production. Learn more

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #561   +/-   ##
=======================================
  Coverage   97.54%   97.55%           
=======================================
  Files         456      456           
  Lines       36489    36491    +2     
=======================================
+ Hits        35595    35597    +2     
  Misses        894      894           
Flag Coverage Δ
integration 97.51% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <100.00%> (+<0.01%) ⬆️
unit 97.51% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 94.68% <100.00%> (+<0.01%) ⬆️
OutsideTasks 97.75% <ø> (ø)
Files Coverage Δ
services/report/__init__.py Critical 92.23% <ø> (ø)
tasks/tests/unit/test_upload_processing_task.py 100.00% <ø> (ø)
tasks/upload_processor.py 93.06% <100.00%> (+0.06%) ⬆️

This change has been scanned for critical changes. Learn more

Apparently I forgot a little detail in the previous "fix"
(that the ProcessingResult is broken apart if it fails)

This time I tested locally 😅
@giovanni-guidini giovanni-guidini added this pull request to the merge queue Jul 19, 2024
Merged via the queue into main with commit 555a769 Jul 19, 2024
29 of 30 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/rewrite-empty-reports branch July 19, 2024 04:39
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.

2 participants