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

ref: Convert isBasicPlan to isFreePlan GQL property #3600

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ajay-sentry
Copy link
Contributor

Description

isBasicPlan looked to only be used in two places, both related to trials. After talking with @aj-codecov and @adrian-codecov we thought that shifting to all free plans, as long as they haven't trialed before, made sense to us allowing us to remove some extra overhead with logic and just rely on isFreePlan in a few more places.

Luckily because the schemas all stayed the same this PR remained pretty lightweight.

Closes codecov/engineering-team#3002

Link to Sample Entry

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-staging
Copy link

codecov-staging bot commented Dec 20, 2024

Bundle Report

Changes will decrease total bundle size by 148 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system-esm 6.05MB 81 bytes (-0.0%) ⬇️
gazebo-staging-system 6.0MB 67 bytes (-0.0%) ⬇️

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (50c86d0).

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14557    14551       -6     
  Branches     4139     4136       -3     
==========================================
- Hits        14412    14406       -6     
  Misses        138      138              
  Partials        7        7              
Files with missing lines Coverage Δ
...rc/pages/DefaultOrgSelector/DefaultOrgSelector.jsx 100.00% <100.00%> (ø)
...geOnboarding/ActivationBanner/ActivationBanner.tsx 100.00% <100.00%> (ø)
src/shared/utils/billing.ts 97.26% <ø> (-0.15%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (-0.01%) ⬇️
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...50c86d0. Read the comment docs.

Copy link

codecov bot commented Dec 20, 2024

Bundle Report

Changes will decrease total bundle size by 148 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.0MB 67 bytes (-0.0%) ⬇️
gazebo-production-system-esm 6.05MB 81 bytes (-0.0%) ⬇️

@codecov-releaser
Copy link
Contributor

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
50c86d0 Fri, 20 Dec 2024 00:12:23 GMT Cloud Enterprise

@codecov-qa
Copy link

codecov-qa bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (50c86d0).

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14557    14551       -6     
  Branches     4139     4143       +4     
==========================================
- Hits        14412    14406       -6     
  Misses        138      138              
  Partials        7        7              
Files with missing lines Coverage Δ
...rc/pages/DefaultOrgSelector/DefaultOrgSelector.jsx 100.00% <100.00%> (ø)
...geOnboarding/ActivationBanner/ActivationBanner.tsx 100.00% <100.00%> (ø)
src/shared/utils/billing.ts 97.26% <ø> (-0.15%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (-0.01%) ⬇️
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...50c86d0. Read the comment docs.

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14557    14551       -6     
  Branches     4146     4143       -3     
==========================================
- Hits        14412    14406       -6     
  Misses        138      138              
  Partials        7        7              
Files with missing lines Coverage Δ
...rc/pages/DefaultOrgSelector/DefaultOrgSelector.jsx 100.00% <100.00%> (ø)
...geOnboarding/ActivationBanner/ActivationBanner.tsx 100.00% <100.00%> (ø)
src/shared/utils/billing.ts 97.26% <ø> (-0.15%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (-0.01%) ⬇️
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...50c86d0. Read the comment docs.

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (50c86d0).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14557    14551       -6     
  Branches     4146     4136      -10     
==========================================
- Hits        14412    14406       -6     
  Misses        138      138              
  Partials        7        7              
Files with missing lines Coverage Δ
...rc/pages/DefaultOrgSelector/DefaultOrgSelector.jsx 100.00% <100.00%> (ø)
...geOnboarding/ActivationBanner/ActivationBanner.tsx 100.00% <100.00%> (ø)
src/shared/utils/billing.ts 97.26% <ø> (-0.15%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (-0.01%) ⬇️
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...50c86d0. Read the comment docs.

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.

Migrate isBasicPlan usages to use plan name directly (or use isFreePlan instead)
2 participants