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

chore: rename comparison base commit fields to project/patch base #213

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

matt-codecov
Copy link
Contributor

closes #203

no logical changes, pure rename

hoping tests exercised every usage of these variables. i grepped for some usage patterns but my brain would melt if i tried to go through every occurrence of the word "base" to make sure none refer to this

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@codecov-qa
Copy link

codecov-qa bot commented Dec 12, 2023

Codecov Report

Merging #213 (da73ff4) into main (e82b640) will not change coverage.
The diff coverage is 98.24%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #213   +/-   ##
=======================================
  Coverage   98.33%   98.33%           
=======================================
  Files         358      358           
  Lines       28869    28869           
=======================================
  Hits        28389    28389           
  Misses        480      480           
Flag Coverage Δ
integration 98.33% <98.24%> (ø)
latest-uploader-overall 98.33% <98.24%> (ø)
unit 98.33% <98.24%> (ø)

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

Components Coverage Δ
NonTestCode 96.71% <96.15%> (ø)
OutsideTasks 98.09% <100.00%> (ø)
Files Coverage Δ
services/comparison/__init__.py 96.59% <100.00%> (ø)
services/comparison/conftest.py 100.00% <ø> (ø)
services/comparison/overlays/critical_path.py 100.00% <ø> (ø)
...omparison/tests/unit/overlay/test_critical_path.py 100.00% <ø> (ø)
services/comparison/tests/unit/test_behind_by.py 100.00% <100.00%> (ø)
...ces/comparison/tests/unit/test_comparison_proxy.py 100.00% <100.00%> (ø)
services/comparison/types.py 100.00% <100.00%> (ø)
services/notification/__init__.py 97.39% <100.00%> (ø)
...rvices/notification/notifiers/codecov_slack_app.py 100.00% <100.00%> (ø)
services/notification/notifiers/generics.py 99.17% <100.00%> (ø)
... and 19 more

Copy link

codecov-public-qa bot commented Dec 12, 2023

Codecov Report

Merging #213 (da73ff4) into main (e82b640) will not change coverage.
The diff coverage is 98.24%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #213   +/-   ##
=======================================
  Coverage   98.33%   98.33%           
=======================================
  Files         358      358           
  Lines       28869    28869           
=======================================
  Hits        28389    28389           
  Misses        480      480           
Flag Coverage Δ
integration 98.33% <98.24%> (ø)
latest-uploader-overall 98.33% <98.24%> (ø)
unit 98.33% <98.24%> (ø)

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

Components Coverage Δ
NonTestCode 96.71% <96.15%> (ø)
OutsideTasks 98.09% <100.00%> (ø)
Files Coverage Δ
services/comparison/__init__.py 96.59% <100.00%> (ø)
services/comparison/conftest.py 100.00% <ø> (ø)
services/comparison/overlays/critical_path.py 100.00% <ø> (ø)
...omparison/tests/unit/overlay/test_critical_path.py 100.00% <ø> (ø)
services/comparison/tests/unit/test_behind_by.py 100.00% <100.00%> (ø)
...ces/comparison/tests/unit/test_comparison_proxy.py 100.00% <100.00%> (ø)
services/comparison/types.py 100.00% <100.00%> (ø)
services/notification/__init__.py 97.39% <100.00%> (ø)
...rvices/notification/notifiers/codecov_slack_app.py 100.00% <100.00%> (ø)
services/notification/notifiers/generics.py 99.17% <100.00%> (ø)
... and 19 more

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #213 (da73ff4) into main (e82b640) will not change coverage.
The diff coverage is 98.24%.

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     #213   +/-   ##
=======================================
  Coverage   98.30%   98.30%           
=======================================
  Files         389      389           
  Lines       29565    29565           
=======================================
  Hits        29064    29064           
  Misses        501      501           
Flag Coverage Δ
integration 98.33% <98.24%> (ø)
latest-uploader-overall 98.33% <98.24%> (ø)
unit 98.33% <98.24%> (ø)

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

Components Coverage Δ
NonTestCode 96.60% <96.15%> (ø)
OutsideTasks 98.09% <100.00%> (ø)
Files Coverage Δ
services/comparison/__init__.py Critical 96.61% <100.00%> (ø)
services/comparison/conftest.py 100.00% <ø> (ø)
services/comparison/overlays/critical_path.py 100.00% <ø> (ø)
...omparison/tests/unit/overlay/test_critical_path.py 100.00% <ø> (ø)
services/comparison/tests/unit/test_behind_by.py 100.00% <100.00%> (ø)
...ces/comparison/tests/unit/test_comparison_proxy.py 100.00% <100.00%> (ø)
services/comparison/types.py 100.00% <100.00%> (ø)
services/notification/__init__.py Critical 97.41% <100.00%> (ø)
...rvices/notification/notifiers/codecov_slack_app.py 100.00% <100.00%> (ø)
services/notification/notifiers/generics.py 99.18% <100.00%> (ø)
... and 19 more
Related Entrypoints
run/app.tasks.compute_comparison.ComputeComparison
run/app.tasks.notify.Notify

@matt-codecov matt-codecov merged commit c7bb826 into main Dec 13, 2023
22 of 26 checks passed
@matt-codecov matt-codecov deleted the matt/rename-comparison-bases branch December 13, 2023 18:55
Copy link

sentry-io bot commented Dec 15, 2023

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ AttributeError: 'NoneType' object has no attribute 'repoid' app.tasks.notify.Notify View Issue

Did you find this useful? React with a 👍 or 👎

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.

ComparisonProxy: rename base and original_base_commitid to project_commit_base and patch_commit_base
2 participants