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: expand message for gm marketplace customer when customer has previous plan #324

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

adrian-codecov
Copy link
Contributor

Purpose/Motivation

Closes https://github.com/codecov/internal-issues/issues/150

What does this PR do?

Adds a quick extra params to ghm customers

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.

Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (161c434) 95.64% compared to head (add095b) 95.64%.

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

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #324   +/-   ##
=====================================
  Coverage   95.64   95.64           
=====================================
  Files        730     730           
  Lines      16433   16433           
=====================================
  Hits       15716   15716           
  Misses       717     717           
Flag Coverage Δ
unit ?
unit-latest-uploader ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-staging
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@codecov-qa
Copy link

codecov-qa bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (161c434) 96.01% compared to head (add095b) 96.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #324   +/-   ##
=======================================
  Coverage   96.01%   96.01%           
=======================================
  Files         615      615           
  Lines       15922    15922           
=======================================
  Hits        15288    15288           
  Misses        634      634           
Flag Coverage Δ
unit 96.01% <ø> (ø)
unit-latest-uploader 96.01% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codecov-public-qa bot commented Dec 29, 2023

Codecov Report

Merging #324 (add095b) into main (161c434) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #324   +/-   ##
=======================================
  Coverage   96.01%   96.01%           
=======================================
  Files         615      615           
  Lines       15922    15922           
=======================================
  Hits        15288    15288           
  Misses        634      634           
Flag Coverage Δ
unit 96.01% <ø> (ø)
unit-latest-uploader 96.01% <ø> (ø)

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

Files Coverage Δ
webhook_handlers/views/github.py 98.87% <ø> (ø)

Impacted file tree graph

extra=dict(username=username),
extra=dict(
username=username,
plan_name=subscription.plan.get("name", None),
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we call this old_plan_name to be more explicit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! Will do

@adrian-codecov adrian-codecov merged commit 94bc9b0 into main Jan 2, 2024
21 checks passed
@adrian-codecov adrian-codecov deleted the 150-adjust-ghm-message-when-customer-has-plan branch January 2, 2024 23:29
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