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: upgrade message in BA commit status #700

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

giovanni-guidini
Copy link
Contributor

We want the bundle analysis - no longer in beta - to be similar to coverage
in terms of seat count.

After some code review I stumbled upon

def get_upgrade_message(self) -> str:

This was not yet ported to bundle analysis. So these changes do just that.

We want the bundle analysis - no longer in beta - to be similar to coverage
in terms of seat count.

After some code review I stumbled upon https://github.com/codecov/worker/blob/ab427f8311ee1d9306f692f531c67e3897786faf/services/notification/notifiers/status/base.py#L47

This was not yet ported to bundle analysis. So these changes do just that.
@giovanni-guidini giovanni-guidini requested a review from a team September 10, 2024 18:11
@codecov-notifications
Copy link

codecov-notifications bot commented Sep 10, 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     #700   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files         434      434           
  Lines       36548    36600   +52     
=======================================
+ Hits        35852    35904   +52     
  Misses        696      696           
Flag Coverage Δ
integration 98.09% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.09% <100.00%> (+<0.01%) ⬆️
unit 98.09% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.01% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.10% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
...ervices/bundle_analysis/notify/contexts/comment.py 98.88% <100.00%> (ø)
...s/bundle_analysis/notify/contexts/commit_status.py 100.00% <100.00%> (ø)
...otify/contexts/tests/test_commit_status_context.py 100.00% <100.00%> (ø)
...s/bundle_analysis/notify/messages/commit_status.py 100.00% <100.00%> (ø)
...alysis/notify/messages/tests/test_commit_status.py 100.00% <100.00%> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.09%. Comparing base (ab427f8) to head (ceaa92b).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #700   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files         434      434           
  Lines       36548    36600   +52     
=======================================
+ Hits        35852    35904   +52     
  Misses        696      696           
Flag Coverage Δ
integration 98.09% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.09% <100.00%> (+<0.01%) ⬆️
unit 98.09% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.01% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.10% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...ervices/bundle_analysis/notify/contexts/comment.py 98.88% <100.00%> (ø)
...s/bundle_analysis/notify/contexts/commit_status.py 100.00% <100.00%> (ø)
...otify/contexts/tests/test_commit_status_context.py 100.00% <100.00%> (ø)
...s/bundle_analysis/notify/messages/commit_status.py 100.00% <100.00%> (ø)
...alysis/notify/messages/tests/test_commit_status.py 100.00% <100.00%> (ø)

Copy link

codecov-public-qa bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.09%. Comparing base (ab427f8) to head (ceaa92b).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #700   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files         434      434           
  Lines       36548    36600   +52     
=======================================
+ Hits        35852    35904   +52     
  Misses        696      696           
Flag Coverage Δ
integration 98.09% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.09% <100.00%> (+<0.01%) ⬆️
unit 98.09% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.01% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.10% <100.00%> (+<0.01%) ⬆️
Files Coverage Δ
...ervices/bundle_analysis/notify/contexts/comment.py 98.88% <100.00%> (ø)
...s/bundle_analysis/notify/contexts/commit_status.py 100.00% <100.00%> (ø)
...otify/contexts/tests/test_commit_status_context.py 100.00% <100.00%> (ø)
...s/bundle_analysis/notify/messages/commit_status.py 100.00% <100.00%> (ø)
...alysis/notify/messages/tests/test_commit_status.py 100.00% <100.00%> (ø)

Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.14%. Comparing base (ab427f8) to head (ceaa92b).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #700   +/-   ##
=======================================
  Coverage   98.13%   98.14%           
=======================================
  Files         475      475           
  Lines       37903    37955   +52     
=======================================
+ Hits        37198    37250   +52     
  Misses        705      705           
Flag Coverage Δ
integration 98.09% <100.00%> (+<0.01%) ⬆️
latest-uploader-overall 98.09% <100.00%> (+<0.01%) ⬆️
unit 98.09% <100.00%> (+<0.01%) ⬆️

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

Components Coverage Δ
NonTestCode 96.11% <100.00%> (+<0.01%) ⬆️
OutsideTasks 98.10% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
...ervices/bundle_analysis/notify/contexts/comment.py 98.88% <100.00%> (ø)
...s/bundle_analysis/notify/contexts/commit_status.py 100.00% <100.00%> (ø)
...otify/contexts/tests/test_commit_status_context.py 100.00% <100.00%> (ø)
...s/bundle_analysis/notify/messages/commit_status.py 100.00% <100.00%> (ø)
...alysis/notify/messages/tests/test_commit_status.py 100.00% <100.00%> (ø)

This change has been scanned for critical changes. Learn more

@giovanni-guidini giovanni-guidini added this pull request to the merge queue Sep 11, 2024
Merged via the queue into main with commit dcea64a Sep 11, 2024
26 of 27 checks passed
@giovanni-guidini giovanni-guidini deleted the gio/ba-status-upgrade-message branch September 11, 2024 12:25
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