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

Merged
merged 2 commits into from
Dec 23, 2024

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-public-qa bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (8844168) to head (557dfb9).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14569    14563       -6     
  Branches     4161     4151      -10     
==========================================
- Hits        14424    14418       -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.10% <ø> (-0.16%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.32% <ø> (-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 8844168...557dfb9. 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

codecov-releaser commented Dec 20, 2024

✅ 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 Expired Expired
557dfb9 Mon, 23 Dec 2024 17:08:33 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 (8844168) to head (557dfb9).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@            Coverage Diff             @@
##             main    #3600      +/-   ##
==========================================
- Coverage   99.00%   99.00%   -0.01%     
==========================================
  Files         810      810              
  Lines       14569    14563       -6     
  Branches     4154     4151       -3     
==========================================
- Hits        14424    14418       -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.10% <ø> (-0.16%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.32% <ø> (-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 8844168...557dfb9. Read the comment docs.

@codecov-notifications
Copy link

codecov-notifications bot commented Dec 20, 2024

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       14569    14563       -6     
  Branches     4154     4151       -3     
==========================================
- Hits        14424    14418       -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.10% <ø> (-0.16%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.32% <ø> (-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 8844168...557dfb9. 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 (8844168) to head (557dfb9).
Report is 1 commits behind head on main.

✅ 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       14569    14563       -6     
  Branches     4154     4151       -3     
==========================================
- Hits        14424    14418       -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.10% <ø> (-0.16%) ⬇️
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <100.00%> (-0.01%) ⬇️
Services 99.36% <ø> (ø)
Shared 99.32% <ø> (-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 8844168...557dfb9. Read the comment docs.

@ajay-sentry ajay-sentry added this pull request to the merge queue Dec 23, 2024
Merged via the queue into main with commit 7200eea Dec 23, 2024
62 checks passed
@ajay-sentry ajay-sentry deleted the Ajay/3002-migrate-isBasicPlan-to-isFreePlan branch December 23, 2024 17:10
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)
3 participants