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: note when bundle is cached #687

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

giovanni-guidini
Copy link
Contributor

add mention in the PR comment when bundle is cached

closes codecov/engineering-team#2045

add mention in the PR comment when bundle is cached

closes codecov/engineering-team#2045
@giovanni-guidini giovanni-guidini requested a review from a team September 5, 2024 11:49
@codecov-notifications
Copy link

codecov-notifications bot commented Sep 5, 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     #687   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      432    -2     
  Lines       36721    36725    +4     
=======================================
+ Hits        36015    36021    +6     
+ Misses        706      704    -2     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+0.01%) ⬆️
OutsideTasks 98.07% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
...ervices/bundle_analysis/notify/messages/comment.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.35% <100.00%> (+0.02%) ⬆️

... and 8 files with indirect coverage changes

@codecov-qa
Copy link

codecov-qa bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.08%. Comparing base (9078de2) to head (0a37d11).
Report is 9 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #687   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      432    -2     
  Lines       36721    36725    +4     
=======================================
+ Hits        36015    36021    +6     
+ Misses        706      704    -2     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+0.01%) ⬆️
OutsideTasks 98.07% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...ervices/bundle_analysis/notify/messages/comment.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.35% <100.00%> (+0.02%) ⬆️

... and 8 files with indirect coverage changes

Copy link

codecov-public-qa bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.08%. Comparing base (9078de2) to head (0a37d11).
Report is 8 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #687   +/-   ##
=======================================
  Coverage   98.07%   98.08%           
=======================================
  Files         434      432    -2     
  Lines       36721    36725    +4     
=======================================
+ Hits        36015    36021    +6     
+ Misses        706      704    -2     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 95.97% <100.00%> (+0.01%) ⬆️
OutsideTasks 98.07% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
...ervices/bundle_analysis/notify/messages/comment.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.35% <100.00%> (+0.02%) ⬆️

... and 8 files with indirect coverage changes

Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.13%. Comparing base (9078de2) to head (0a37d11).
Report is 9 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #687      +/-   ##
==========================================
+ Coverage   98.12%   98.13%   +0.01%     
==========================================
  Files         474      474              
  Lines       38047    38158     +111     
==========================================
+ Hits        37333    37446     +113     
+ Misses        714      712       -2     
Flag Coverage Δ
integration 98.08% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.08% <100.00%> (+<0.01%) ⬆️
unit 98.08% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.10% <100.00%> (+0.03%) ⬆️
OutsideTasks 98.07% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...ervices/bundle_analysis/notify/messages/comment.py 100.00% <100.00%> (ø)
...ices/bundle_analysis/tests/test_bundle_analysis.py 98.35% <100.00%> (+0.02%) ⬆️

... and 8 files with indirect coverage changes

This change has been scanned for critical changes. Learn more

{% if bundle_rows %}{% include "bundle_analysis_notify/bundle_table.md" %}{% if has_cached %}
ℹ️ *Bundle size includes cached data from a previous commit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ℹ️ *Bundle size includes cached data from a previous commit
ℹ️ *Bundle size analysis includes cached data from a previous commit

🤔 as this is an implementation detail to the bundle analysis we perform

@giovanni-guidini giovanni-guidini added this pull request to the merge queue Sep 5, 2024
Merged via the queue into main with commit 31d86b6 Sep 5, 2024
26 of 27 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/ba-pr-comment-cached branch September 5, 2024 15:19
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.

[Bundle Caching][Worker] Adjust PR Comment to Reflect Whether Bundles Are Cached or Not
2 participants