8000 Hardcode parallel mode in `UploadFinisher` by Swatinem · Pull Request #825 · codecov/worker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Hardcode parallel mode in UploadFinisher #825

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

Swatinem
Copy link
Contributor
@Swatinem Swatinem commented Oct 28, 2024

This removes all the non-parallel code from UploadFinisher, and consolidates some other code as well which now became obsolete.

In particular, this removes the parallel feature flag, and the parallel verification task.

@Swatinem Swatinem requested a review from a team October 28, 2024 10:06
@Swatinem Swatinem self-assigned this Oct 28, 2024
Copy link
codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.02%. Comparing base (e50ec4b) to head (2d25a26).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/upload_finisher.py 95.83% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #825      +/-   ##
==========================================
+ Coverage   97.84%   98.02%   +0.17%     
==========================================
  Files         444      442       -2     
  Lines       36345    36163     -182     
==========================================
- Hits        35561    35448     -113     
+ Misses        784      715      -69     
Flag Coverage Δ
integration 98.02% <97.72%> (+0.17%) ⬆️
unit 98.02% <97.72%> (+0.17%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <97.05%> (+0.41%) ⬆️
OutsideTasks 98.00% <100.00%> (+0.01%) ⬆️
Files with missing lines Coverage Δ
helpers/metrics.py 100.00% <100.00%> (ø)
rollouts/__init__.py 100.00% <ø> (ø)
services/processing/metrics.py 100.00% <100.00%> (ø)
services/report/__init__.py 97.05% <100.00%> (+0.37%) ⬆️
tasks/tests/integration/test_upload_e2e.py 100.00% <ø> (ø)
tasks/tests/unit/test_upload_finisher_task.py 100.00% <100.00%> (ø)
tasks/upload_finisher.py 96.68% <95.83%> (+3.85%) ⬆️

@codecov-staging
Copy link
codecov-staging bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/upload_finisher.py 95.83% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #825      +/-   ##
==========================================
+ Coverage   97.84%   98.02%   +0.17%     
==========================================
  Files         444      442       -2     
  Lines       36345    36163     -182     
==========================================
- Hits        35561    35448     -113     
+ Misses        784      715      -69     
Flag Coverage Δ
integration 98.02% <97.72%> (+0.17%) ⬆️
unit 98.02% <97.72%> (+0.17%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <97.05%> (+0.41%) ⬆️
OutsideTasks 98.00% <100.00%> (+0.01%) ⬆️
Files with missing lines Coverage Δ
helpers/metrics.py 100.00% <100.00%> (ø)
rollouts/__init__.py 100.00% <ø> (ø)
services/processing/metrics.py 100.00% <100.00%> (ø)
services/report/__init__.py 97.05% <100.00%> (+0.37%) ⬆️
tasks/tests/integration/test_upload_e2e.py 100.00% <ø> (ø)
tasks/tests/unit/test_upload_finisher_task.py 100.00% <100.00%> (ø)
tasks/upload_finisher.py 96.68% <95.83%> (+3.85%) ⬆️

@codecov-qa
Copy link
codecov-qa bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.02%. Comparing base (e50ec4b) to head (2d25a26).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
tasks/upload_finisher.py 95.83% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #825      +/-   ##
==========================================
+ Coverage   97.84%   98.02%   +0.17%     
==========================================
  Files         444      442       -2     
  Lines       36345    36163     -182     
==========================================
- Hits        35561    35448     -113     
+ Misses        784      715      -69     
Flag Coverage Δ
integration 98.02% <97.72%> (+0.17%) ⬆️
unit 98.02% <97.72%> (+0.17%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <97.05%> (+0.41%) ⬆️
OutsideTasks 98.00% <100.00%> (+0.01%) ⬆️
Files with missing lines Coverage Δ
helpers/metrics.py 100.00% <100.00%> (ø)
rollouts/__init__.py 100.00% <ø> (ø)
services/processing/metrics.py 100.00% <100.00%> (ø)
services/report/__init__.py 97.05% <100.00%> (+0.37%) ⬆️
tasks/tests/integration/test_upload_e2e.py 100.00% <ø> (ø)
tasks/tests/unit/test_upload_finisher_task.py 100.00% <100.00%> (ø)
tasks/upload_finisher.py 96.68% <95.83%> (+3.85%) ⬆️

Copy link
codecov-public-qa bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 97.72727% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.02%. Comparing base (e50ec4b) to head (2d25a26).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #825      +/-   ##
==========================================
+ Coverage   97.84%   98.02%   +0.17%     
==========================================
  Files         444      442       -2     
  Lines       36345    36163     -182     
==========================================
- Hits        35561    35448     -113     
+ Misses        784      715      -69     
Flag Coverage Δ
integration 98.02% <97.72%> (+0.17%) ⬆️
unit 98.02% <97.72%> (+0.17%) ⬆️

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

Components Coverage Δ
NonTestCode 95.90% <97.05%> (+0.41%) ⬆️
OutsideTasks 98.00% <100.00%> (+0.01%) ⬆️
Files Coverage Δ
helpers/metrics.py 100.00% <100.00%> (ø)
rollouts/__init__.py 100.00% <ø> (ø)
services/processing/metrics.py 100.00% <100.00%> (ø)
services/report/__init__.py 97.05% <100.00%> (+0.37%) ⬆️
tasks/tests/integration/test_upload_e2e.py 100.00% <ø> (ø)
tasks/tests/unit/test_upload_finisher_task.py 100.00% <100.00%> (ø)
tasks/upload_finisher.py 96.68% <95.83%> (+3.85%) ⬆️

@Swatinem Swatinem force-pushed the swatinem/only-parallel-processor branch 2 times, most recently from dbe478c to 27a7afe Compare October 28, 2024 10:51
Base automatically changed from swatinem/only-parallel-processor to main October 28, 2024 11:19
@Swatinem Swatinem force-pushed the swatinem/only-parallel-finisher branch from af7cceb to f521af3 Compare October 28, 2024 11:51
@Swatinem Swatinem marked this pull request as ready for review October 28, 2024 11:51
This removes all the non-parallel code from `UploadFinisher`, and consolidates some other code as well which now became obsolete.

In particular, this removes the parallel feature flag, and the parallel verification task.
@Swatinem Swatinem force-pushed the swatinem/only-parallel-finisher branch from f521af3 to 2d25a26 Compare October 28, 2024 11:53
@Swatinem Swatinem added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit 79f57df Oct 28, 2024
24 of 27 checks passed
@Swatinem Swatinem deleted the swatinem/only-parallel-finisher branch October 28, 2024 13:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0