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

Cy/non pat appless 2 #3684

Merged
merged 15 commits into from
Jan 28, 2025
Merged

Cy/non pat appless 2 #3684

merged 15 commits into from
Jan 28, 2025

Conversation

calvin-codecov
Copy link
Contributor

@calvin-codecov calvin-codecov commented Jan 27, 2025

Description

Second attempt at rollout for the appless experience as the original (#3667) was reverted. Also closes https://github.com/codecov/internal-issues/issues/1162. The new changes are after the 7th commit, starting with b61b646.

This PR fixes problem # 2 of the ticket as well as adds more amplitude events. The plan is to monitor DB events coming through checking on users that are created (GH login) vs terms agreed (onboarded).

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 Jan 27, 2025

Bundle Report

Changes will increase total bundle size by 65.78kB (0.53%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system 6.22MB 33.0kB (0.53%) ⬆️
gazebo-staging-esm 6.27MB 32.78kB (0.53%) ⬆️

@codecov-staging
Copy link

codecov-staging bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 97.24771% with 3 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/pages/OwnerPage/OnboardingOrg/OnboardingOrg.tsx 81.81% 2 Missing ⚠️
src/pages/TermsOfService/TermsOfService.tsx 95.23% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3684      +/-   ##
==========================================
- Coverage   98.82%   98.79%   -0.04%     
==========================================
  Files         825      824       -1     
  Lines       14889    14809      -80     
  Branches     4229     4198      -31     
==========================================
- Hits        14714    14630      -84     
- Misses        166      170       +4     
  Partials        9        9              
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <100.00%> (ø)
src/layouts/BaseLayout/hooks/useUserAccessGate.js 100.00% <100.00%> (ø)
...ts/Header/components/UserDropdown/UserDropdown.tsx 100.00% <100.00%> (ø)
src/pages/LoginPage/LoginButton.jsx 100.00% <100.00%> (ø)
...rBanners/GithubConfigBanner/GithubConfigBanner.jsx 100.00% <ø> (ø)
...rc/pages/OwnerPage/HeaderBanners/HeaderBanners.jsx 100.00% <100.00%> (ø)
...s/OwnerPage/OnboardingContainerContext/context.tsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OnboardingOrg/constants.ts 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/SyncProviderPage/SyncButton.tsx 100.00% <100.00%> (ø)
... and 13 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <100.00%> (-0.02%) ⬇️
Pages 98.41% <95.83%> (-0.05%) ⬇️
Services 99.27% <ø> (-0.04%) ⬇️
Shared 99.36% <100.00%> (-0.01%) ⬇️
UI 99.07% <100.00%> (+<0.01%) ⬆️

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 692ea04...35dc7f8. Read the comment docs.

@codecov-qa
Copy link

codecov-qa bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 97.24771% with 3 lines in your changes missing coverage. Please review.

Project coverage is 98.79%. Comparing base (692ea04) to head (35dc7f8).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/pages/OwnerPage/OnboardingOrg/OnboardingOrg.tsx 81.81% 2 Missing ⚠️
src/pages/TermsOfService/TermsOfService.tsx 95.23% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3684      +/-   ##
==========================================
- Coverage   98.82%   98.79%   -0.04%     
==========================================
  Files         825      824       -1     
  Lines       14889    14809      -80     
  Branches     4237     4206      -31     
==========================================
- Hits        14714    14630      -84     
- Misses        166      170       +4     
  Partials        9        9              
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <100.00%> (ø)
src/layouts/BaseLayout/hooks/useUserAccessGate.js 100.00% <100.00%> (ø)
...ts/Header/components/UserDropdown/UserDropdown.tsx 100.00% <100.00%> (ø)
src/pages/LoginPage/LoginButton.jsx 100.00% <100.00%> (ø)
...rBanners/GithubConfigBanner/GithubConfigBanner.jsx 100.00% <ø> (ø)
...rc/pages/OwnerPage/HeaderBanners/HeaderBanners.jsx 100.00% <100.00%> (ø)
...s/OwnerPage/OnboardingContainerContext/context.tsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OnboardingOrg/constants.ts 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/SyncProviderPage/SyncButton.tsx 100.00% <100.00%> (ø)
... and 13 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <100.00%> (-0.02%) ⬇️
Pages 98.41% <95.83%> (-0.05%) ⬇️
Services 99.27% <ø> (-0.04%) ⬇️
Shared 99.36% <100.00%> (-0.01%) ⬇️
UI 99.07% <100.00%> (+<0.01%) ⬆️

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 692ea04...35dc7f8. Read the comment docs.

Copy link

codecov-public-qa bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 97.24771% with 3 lines in your changes missing coverage. Please review.

Project coverage is 98.79%. Comparing base (692ea04) to head (35dc7f8).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/pages/OwnerPage/OnboardingOrg/OnboardingOrg.tsx 81.81% 2 Missing ⚠️
src/pages/TermsOfService/TermsOfService.tsx 95.23% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main    #3684      +/-   ##
==========================================
- Coverage   98.82%   98.79%   -0.04%     
==========================================
  Files         825      824       -1     
  Lines       14889    14809      -80     
  Branches     4229     4206      -23     
==========================================
- Hits        14714    14630      -84     
- Misses        166      170       +4     
  Partials        9        9              
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <100.00%> (ø)
src/layouts/BaseLayout/hooks/useUserAccessGate.js 100.00% <100.00%> (ø)
...ts/Header/components/UserDropdown/UserDropdown.tsx 100.00% <100.00%> (ø)
src/pages/LoginPage/LoginButton.jsx 100.00% <100.00%> (ø)
...rBanners/GithubConfigBanner/GithubConfigBanner.jsx 100.00% <ø> (ø)
...rc/pages/OwnerPage/HeaderBanners/HeaderBanners.jsx 100.00% <100.00%> (ø)
...s/OwnerPage/OnboardingContainerContext/context.tsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OnboardingOrg/constants.ts 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/SyncProviderPage/SyncButton.tsx 100.00% <100.00%> (ø)
... and 13 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.69% <100.00%> (-0.02%) ⬇️
Pages 98.41% <95.83%> (-0.05%) ⬇️
Services 99.27% <ø> (-0.04%) ⬇️
Shared 99.36% <100.00%> (-0.01%) ⬇️
UI 99.07% <100.00%> (+<0.01%) ⬆️

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 692ea04...35dc7f8. Read the comment docs.

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Jan 27, 2025

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
fbca66a Mon, 27 Jan 2025 21:43:58 GMT Expired Expired
5a43915 Tue, 28 Jan 2025 03:57:16 GMT Expired Expired
b61b646 Tue, 28 Jan 2025 08:46:25 GMT Expired Expired
62cf1f0 Tue, 28 Jan 2025 18:56:36 GMT Expired Expired
62cf1f0 Tue, 28 Jan 2025 18:57:31 GMT Expired Expired
48d8ced Tue, 28 Jan 2025 19:25:36 GMT Expired Expired
086ff66 Tue, 28 Jan 2025 20:06:52 GMT Expired Expired
35dc7f8 Tue, 28 Jan 2025 20:28:19 GMT Expired Expired
35dc7f8 Tue, 28 Jan 2025 20:31:57 GMT Cloud Enterprise

@@ -52,7 +52,7 @@ export const PlanDataSchema = z
.object({
owner: z
.object({
hasPrivateRepos: z.boolean(),
hasPrivateRepos: z.boolean().nullish(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this field is hasPrivateRepos: Boolean on the Owner graphql type and was causing unrelated zod errors

@calvin-codecov calvin-codecov added this pull request to the merge queue Jan 28, 2025
Merged via the queue into main with commit 50da594 Jan 28, 2025
45 of 54 checks passed
@calvin-codecov calvin-codecov deleted the cy/non_pat_appless_2 branch January 28, 2025 21:16
Copy link

sentry-io bot commented Jan 28, 2025

Suspect Issues

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

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.

3 participants