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

refactor: break up bundle analysis services #560

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

giovanni-guidini
Copy link
Contributor

These changes add nothing. It's a simple refactor breaking up
different services related to bundle analysis into different files.

The "bundle_analysis" service is already a grouping of different things
(processing, comparison, notify, etc) and it's getting big as is.

These changes add nothing. It's a simple refactor breaking up
different services related to bundle analysis into different files.

The "bundle_analysis" service is already a grouping of different things
(processing, comparison, notify, etc) and it's getting big as is.
Copy link

codecov bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 95.14563% with 10 lines in your changes missing coverage. Please review.

Project coverage is 97.54%. Comparing base (7a265f3) to head (8a98b7c).

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     #560      +/-   ##
==========================================
+ Coverage   97.53%   97.54%   +0.01%     
==========================================
  Files         451      456       +5     
  Lines       36119    36489     +370     
==========================================
+ Hits        35229    35595     +366     
- Misses        890      894       +4     
Flag Coverage Δ
integration 97.51% <95.14%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <95.14%> (+<0.01%) ⬆️
unit 97.51% <95.14%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.67% <95.02%> (+0.05%) ⬆️
OutsideTasks 97.75% <94.97%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis/exceptions.py 100.00% <100.00%> (ø)
services/bundle_analysis/report.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.98% <100.00%> (ø)
tasks/bundle_analysis_notify.py 92.68% <100.00%> (ø)
tasks/bundle_analysis_processor.py 98.30% <100.00%> (ø)
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
.../tests/unit/test_bundle_analysis_processor_task.py 100.00% <ø> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)
tasks/upload.py Critical 91.59% <100.00%> (ø)
... and 2 more

... and 2 files with indirect coverage changes

Related Entrypoints
run/app.tasks.bundle_analysis.BundleAnalysisNotify

@codecov-notifications
Copy link

codecov-notifications bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 95.14563% with 10 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         420      423    +3     
  Lines       35397    35417   +20     
=======================================
+ Hits        34517    34537   +20     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <95.14%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <95.14%> (+<0.01%) ⬆️
unit 97.51% <95.14%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.58% <95.02%> (+<0.01%) ⬆️
OutsideTasks 97.75% <94.97%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis/exceptions.py 100.00% <100.00%> (ø)
services/bundle_analysis/report.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.98% <100.00%> (ø)
tasks/bundle_analysis_notify.py 92.68% <100.00%> (ø)
tasks/bundle_analysis_processor.py 98.30% <100.00%> (ø)
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
.../tests/unit/test_bundle_analysis_processor_task.py 100.00% <ø> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)
tasks/upload.py 91.54% <100.00%> (ø)
... and 2 more

@codecov-qa
Copy link

codecov-qa bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 95.14563% with 10 lines in your changes missing coverage. Please review.

Project coverage is 97.51%. Comparing base (7a265f3) to head (8a98b7c).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         420      423    +3     
  Lines       35397    35417   +20     
=======================================
+ Hits        34517    34537   +20     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <95.14%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <95.14%> (+<0.01%) ⬆️
unit 97.51% <95.14%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.58% <95.02%> (+<0.01%) ⬆️
OutsideTasks 97.75% <94.97%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis/exceptions.py 100.00% <100.00%> (ø)
services/bundle_analysis/report.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.98% <100.00%> (ø)
tasks/bundle_analysis_notify.py 92.68% <100.00%> (ø)
tasks/bundle_analysis_processor.py 98.30% <100.00%> (ø)
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
.../tests/unit/test_bundle_analysis_processor_task.py 100.00% <ø> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)
tasks/upload.py 91.54% <100.00%> (ø)
... and 2 more

Copy link

codecov-public-qa bot commented Jul 16, 2024

Codecov Report

Attention: Patch coverage is 95.14563% with 10 lines in your changes missing coverage. Please review.

Project coverage is 97.51%. Comparing base (7a265f3) to head (8a98b7c).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #560   +/-   ##
=======================================
  Coverage   97.51%   97.51%           
=======================================
  Files         420      423    +3     
  Lines       35397    35417   +20     
=======================================
+ Hits        34517    34537   +20     
  Misses        880      880           
Flag Coverage Δ
integration 97.51% <95.14%> (+<0.01%) ⬆️
latest-uploader-overall 97.51% <95.14%> (+<0.01%) ⬆️
unit 97.51% <95.14%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 94.58% <95.02%> (+<0.01%) ⬆️
OutsideTasks 97.75% <94.97%> (+<0.01%) ⬆️
Files Coverage Δ
services/bundle_analysis/exceptions.py 100.00% <100.00%> (ø)
services/bundle_analysis/report.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.98% <100.00%> (ø)
tasks/bundle_analysis_notify.py 92.68% <100.00%> (ø)
tasks/bundle_analysis_processor.py 98.30% <100.00%> (ø)
tasks/bundle_analysis_save_measurements.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
.../tests/unit/test_bundle_analysis_processor_task.py 100.00% <ø> (ø)
...nit/test_bundle_analysis_save_measurements_task.py 100.00% <100.00%> (ø)
tasks/upload.py 91.54% <100.00%> (ø)
... and 2 more

@giovanni-guidini giovanni-guidini added this pull request to the merge queue Jul 16, 2024
Merged via the queue into main with commit e78491c Jul 16, 2024
25 of 30 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/refactor-ba-service branch July 16, 2024 23:04
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