chore: Remove Codecov AI code and assets#3969
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3969 +/- ##
==========================================
+ Coverage 98.57% 98.59% +0.02%
==========================================
Files 826 818 -8
Lines 15232 15134 -98
Branches 4466 4442 -24
==========================================
- Hits 15015 14922 -93
+ Misses 210 205 -5
Partials 7 7
Continue to review full report in Codecov by Sentry.
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #3969 +/- ##
==========================================
+ Coverage 98.57% 98.59% +0.02%
==========================================
Files 826 818 -8
Lines 15232 15134 -98
Branches 4466 4434 -32
==========================================
- Hits 15015 14922 -93
+ Misses 210 205 -5
Partials 7 7
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3969 +/- ##
==========================================
+ Coverage 98.57% 98.59% +0.02%
==========================================
Files 826 818 -8
Lines 15232 15134 -98
Branches 4458 4442 -16
==========================================
- Hits 15015 14922 -93
+ Misses 210 205 -5
Partials 7 7
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #3969 +/- ##
==========================================
+ Coverage 96.48% 98.59% +2.11%
==========================================
Files 826 818 -8
Lines 15232 15134 -98
Branches 4458 4434 -24
==========================================
+ Hits 14697 14922 +225
+ Misses 476 205 -271
+ Partials 59 7 -52
... and 42 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
|
Can we split this into 2 PRs: 1 that hides Codecov AI from view, and then 1 that actually cleans up and removes all the code? |
48008ef to
6c584e7
Compare
|
Addressed @thomasrockhu-codecov's feedback - split this into 2 PRs:
Please merge #3970 first, then this PR. |
6c584e7 to
87bf33c
Compare
Remove Codecov AI tab and route from the UI as the first step in deprecating the feature. This hides the feature from users while keeping the underlying code intact for a follow-up cleanup PR. Changes: - Remove CodecovAIPage route from App.tsx - Remove Codecov AI tab from all navigation tabs - Remove codecovAI nav link from useNavLinks.ts - Update tests to remove AI feature flag checks Note: Nav links used by internal page components (codecovAIDocs, codecovAIAppInstallation) are preserved to avoid breaking tests for the still-existing (but inaccessible) CodecovAIPage. Closes CCMRG-2033
Remove Codecov AI tab and route from the UI as the first step in deprecating the feature. This hides the feature from users while keeping the underlying code intact for a follow-up cleanup PR. Changes: - Remove CodecovAIPage route from App.tsx - Remove Codecov AI tab from all navigation tabs - Remove codecovAI nav link and related static nav links - Update tests to remove AI feature flag checks Closes CCMRG-2033
Complete cleanup of Codecov AI feature following the UI hiding in the previous PR. Changes: - Remove CodecovAIPage component and all sub-components - Remove codecovAI GraphQL hooks and services - Remove codecovAI assets (PR review and test gen example images) - Remove GH_APP_AI config This is part 2 of the Codecov AI deprecation. Closes CCMRG-2033
87bf33c to
3b23bed
Compare
Bundle ReportChanges will decrease total bundle size by 726.97kB (-5.79%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-production-esmAssets Changed:
Files in
Files in
Files in
Files in
Files in
view changes for bundle: gazebo-production-systemAssets Changed:
Files in
Files in
Files in
Files in
Files in
|
Summary
Changes
CodecovAIPagecomponent and all sub-componentscodecovAIGraphQL hooks and services (useCodecovAIInstallation,useCodecovAIInstalledRepos)GH_APP_AIconfig fromconfig.jsDependencies
This PR depends on #3970 being merged first (Hide Codecov AI from the UI)
Related to CCMRG-2033
Test plan
Note
Fully removes the deprecated Codecov AI feature from the app.
CodecovAIPageand all subcomponents, GraphQL hooks (useCodecovAIInstallation,useCodecovAIInstalledRepos), tests, and assets/codecovai/:provider/:ownerroute and AI-related tabs/feature-flag usage from Account, Analytics, Members, Owner, and Plan tabscodecovAI,codecovAIAppInstallation,codecovAIDocs) andGH_APP_AIfromconfig.jsWritten by Cursor Bugbot for commit 3b23bed. This will update automatically on new commits. Configure here.