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

feat: Bundle analysis notify task #224

Merged
merged 2 commits into from
Dec 29, 2023
Merged

Conversation

scott-codecov
Copy link
Contributor

@scott-codecov scott-codecov commented Dec 27, 2023

This is a separate task for now and results in a separate PR comment. Ideally this would be part of the existing notify task but there's some significant refactoring work that needs to be done first to support that.

This new task runs at the end of the bundle analysis processor chain and posts a PR comment with information regarding the bundle analysis comparison across base/head commits.

Depends on the migration in codecov/codecov-api#320

Copy link

codecov bot commented Dec 27, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (e8057e7) 98.21% compared to head (95cdbca) 98.19%.

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

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
- Coverage   98.21%   98.19%   -0.02%     
==========================================
  Files         397      400       +3     
  Lines       30176    30506     +330     
==========================================
+ Hits        29637    29956     +319     
- Misses        539      550      +11     
Flag Coverage Δ
integration 98.22% <96.73%> (-0.02%) ⬇️
latest-uploader-overall 98.22% <96.73%> (-0.02%) ⬇️
unit 98.22% <96.73%> (-0.02%) ⬇️

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

Components Coverage Δ
NonTestCode 96.35% <93.98%> (-0.04%) ⬇️
OutsideTasks 97.94% <97.10%> (-0.02%) ⬇️
Files Coverage Δ
database/models/core.py 97.08% <100.00%> (+0.01%) ⬆️
services/lock_manager.py 89.13% <100.00%> (+0.24%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <100.00%> (ø)
tasks/__init__.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
tasks/tests/unit/test_upload_task.py 99.48% <100.00%> (+<0.01%) ⬆️
tasks/upload.py Critical 98.51% <100.00%> (+0.01%) ⬆️
tasks/bundle_analysis_notify.py 92.30% <92.30%> (ø)
services/bundle_analysis.py 96.11% <94.11%> (-3.89%) ⬇️

... and 1 file with indirect coverage changes

This change has been scanned for critical changes. Learn more

@codecov-staging
Copy link

codecov-staging bot commented Dec 27, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
- Coverage   98.24%   98.22%   -0.02%     
==========================================
  Files         366      369       +3     
  Lines       29475    29806     +331     
==========================================
+ Hits        28957    29277     +320     
- Misses        518      529      +11     
Flag Coverage Δ
integration 98.22% <96.73%> (-0.02%) ⬇️
latest-uploader-overall 98.22% <96.73%> (-0.02%) ⬇️
unit 98.22% <96.73%> (-0.02%) ⬇️

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

Components Coverage Δ
NonTestCode 96.44% <93.98%> (-0.05%) ⬇️
OutsideTasks 97.94% <97.10%> (-0.02%) ⬇️
Files Coverage Δ
database/models/core.py 97.08% <100.00%> (+0.01%) ⬆️
services/lock_manager.py 89.13% <100.00%> (+0.24%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <100.00%> (ø)
tasks/__init__.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
tasks/tests/unit/test_upload_task.py 99.47% <100.00%> (+<0.01%) ⬆️
tasks/upload.py 98.50% <100.00%> (+0.01%) ⬆️
tasks/bundle_analysis_notify.py 92.30% <92.30%> (ø)
services/bundle_analysis.py 96.11% <94.11%> (-3.89%) ⬇️

@codecov-qa
Copy link

codecov-qa bot commented Dec 27, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (e8057e7) 98.24% compared to head (95cdbca) 98.22%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
- Coverage   98.24%   98.22%   -0.02%     
==========================================
  Files         366      369       +3     
  Lines       29475    29806     +331     
==========================================
+ Hits        28957    29277     +320     
- Misses        518      529      +11     
Flag Coverage Δ
integration 98.22% <96.73%> (-0.02%) ⬇️
latest-uploader-overall 98.22% <96.73%> (-0.02%) ⬇️
unit 98.22% <96.73%> (-0.02%) ⬇️

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

Components Coverage Δ
NonTestCode 96.44% <93.98%> (-0.05%) ⬇️
OutsideTasks 97.94% <97.10%> (-0.02%) ⬇️
Files Coverage Δ
database/models/core.py 97.08% <100.00%> (+0.01%) ⬆️
services/lock_manager.py 89.13% <100.00%> (+0.24%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <100.00%> (ø)
tasks/__init__.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
tasks/tests/unit/test_upload_task.py 99.47% <100.00%> (+<0.01%) ⬆️
tasks/upload.py 98.50% <100.00%> (+0.01%) ⬆️
tasks/bundle_analysis_notify.py 92.30% <92.30%> (ø)
services/bundle_analysis.py 96.11% <94.11%> (-3.89%) ⬇️

Copy link

codecov-public-qa bot commented Dec 27, 2023

Codecov Report

Merging #224 (95cdbca) into main (e8057e7) will decrease coverage by 0.02%.
The diff coverage is 96.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #224      +/-   ##
==========================================
- Coverage   98.24%   98.22%   -0.02%     
==========================================
  Files         366      369       +3     
  Lines       29475    29806     +331     
==========================================
+ Hits        28957    29277     +320     
- Misses        518      529      +11     
Flag Coverage Δ
integration 98.22% <96.73%> (-0.02%) ⬇️
latest-uploader-overall 98.22% <96.73%> (-0.02%) ⬇️
unit 98.22% <96.73%> (-0.02%) ⬇️

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

Components Coverage Δ
NonTestCode 96.44% <93.98%> (-0.05%) ⬇️
OutsideTasks 97.94% <97.10%> (-0.02%) ⬇️
Files Coverage Δ
database/models/core.py 97.08% <100.00%> (+0.01%) ⬆️
services/lock_manager.py 89.13% <100.00%> (+0.24%) ⬆️
services/tests/test_bundle_analysis.py 100.00% <100.00%> (ø)
tasks/__init__.py 100.00% <100.00%> (ø)
...sks/tests/unit/test_bundle_analysis_notify_task.py 100.00% <100.00%> (ø)
tasks/tests/unit/test_upload_task.py 99.47% <100.00%> (+<0.01%) ⬆️
tasks/upload.py 98.50% <100.00%> (+0.01%) ⬆️
tasks/bundle_analysis_notify.py 92.30% <92.30%> (ø)
services/bundle_analysis.py 96.11% <94.11%> (-3.89%) ⬇️

@scott-codecov scott-codecov force-pushed the scott/bundle-analysis-notify branch 2 times, most recently from db8546a to 0472879 Compare December 28, 2023 15:14
@scott-codecov scott-codecov marked this pull request as ready for review December 28, 2023 15:20
services/bundle_analysis.py Outdated Show resolved Hide resolved
@scott-codecov scott-codecov merged commit 4050bfc into main Dec 29, 2023
13 of 30 checks passed
@scott-codecov scott-codecov deleted the scott/bundle-analysis-notify branch December 29, 2023 14:31
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