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

Simplify retries of build_report_from_raw_content #618

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

Swatinem
Copy link
Contributor

This removes and inlines the schedule_for_later_try call, and adjusts the tests accordingly

This removes and inlines the `schedule_for_later_try` call, and adjusts the tests accordingly
@Swatinem Swatinem requested a review from a team August 14, 2024 11:10
@Swatinem Swatinem self-assigned this Aug 14, 2024
@codecov-qa
Copy link

codecov-qa bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.66%. Comparing base (1ebcc5a) to head (332393b).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #618      +/-   ##
==========================================
- Coverage   97.66%   97.66%   -0.01%     
==========================================
  Files         433      433              
  Lines       36245    36224      -21     
==========================================
- Hits        35399    35378      -21     
  Misses        846      846              
Flag Coverage Δ
integration 97.66% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.66% <100.00%> (-0.01%) ⬇️
unit 97.66% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.95% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.89% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/__init__.py 93.04% <100.00%> (-0.02%) ⬇️
tasks/tests/unit/test_upload_processing_task.py 100.00% <100.00%> (ø)
tasks/upload_processor.py 93.04% <100.00%> (-0.08%) ⬇️

@codecov-notifications
Copy link

codecov-notifications bot commented Aug 14, 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     #618      +/-   ##
==========================================
- Coverage   97.66%   97.66%   -0.01%     
==========================================
  Files         433      433              
  Lines       36245    36224      -21     
==========================================
- Hits        35399    35378      -21     
  Misses        846      846              
Flag Coverage Δ
integration 97.66% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.66% <100.00%> (-0.01%) ⬇️
unit 97.66% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.95% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.89% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/__init__.py 93.04% <100.00%> (-0.02%) ⬇️
tasks/tests/unit/test_upload_processing_task.py 100.00% <100.00%> (ø)
tasks/upload_processor.py 93.04% <100.00%> (-0.08%) ⬇️

Copy link

codecov-public-qa bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.66%. Comparing base (1ebcc5a) to head (332393b).
Report is 3 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #618      +/-   ##
==========================================
- Coverage   97.66%   97.66%   -0.01%     
==========================================
  Files         433      433              
  Lines       36245    36224      -21     
==========================================
- Hits        35399    35378      -21     
  Misses        846      846              
Flag Coverage Δ
integration 97.66% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.66% <100.00%> (-0.01%) ⬇️
unit 97.66% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 94.95% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.89% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/__init__.py 93.04% <100.00%> (-0.02%) ⬇️
tasks/tests/unit/test_upload_processing_task.py 100.00% <100.00%> (ø)
tasks/upload_processor.py 93.04% <100.00%> (-0.08%) ⬇️

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.70%. Comparing base (1ebcc5a) to head (332393b).
Report is 1 commits behind head on main.

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     #618      +/-   ##
==========================================
- Coverage   97.70%   97.70%   -0.01%     
==========================================
  Files         468      468              
  Lines       37451    37430      -21     
==========================================
- Hits        36591    36570      -21     
  Misses        860      860              
Flag Coverage Δ
integration 97.66% <100.00%> (-0.01%) ⬇️
latest-uploader-overall 97.66% <100.00%> (-0.01%) ⬇️
unit 97.66% <100.00%> (-0.01%) ⬇️

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

Components Coverage Δ
NonTestCode 95.02% <100.00%> (-0.01%) ⬇️
OutsideTasks 97.89% <100.00%> (-0.01%) ⬇️
Files Coverage Δ
services/report/__init__.py Critical 93.05% <100.00%> (-0.02%) ⬇️
tasks/tests/unit/test_upload_processing_task.py 100.00% <100.00%> (ø)
tasks/upload_processor.py 93.61% <100.00%> (-0.07%) ⬇️
Related Entrypoints
run/app.tasks.upload.UploadProcessor

@Swatinem Swatinem added this pull request to the merge queue Aug 14, 2024
Merged via the queue into main with commit c970f9c Aug 14, 2024
25 of 26 checks passed
@Swatinem Swatinem deleted the swatinem/simplify-retry branch August 14, 2024 14:48
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