From 251e6da803e1642b42857ccbf84bb2227debb7d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 23:49:14 +0000 Subject: [PATCH] docs(integrations): Move Codecov under integrations/code-coverage Reorganize Codecov from a top-level product section into a new Code Coverage integrations category, since the docs cover the stack-trace coverage integration. Remove other Codecov references that positioned it as a separate product or CI/CD tool. - Move docs/product/codecov/ to docs/integrations/code-coverage/codecov/ - Add Code Coverage section landing page and integrations index entry - Redirect /product/codecov/* to the new path - Drop the Code Coverage pillar from the product overview - Drop the trailing Codecov CI/CD mention from configure-scms - Remove the about.codecov.io link from the More sidebar Co-Authored-By: Claude --- .../code-coverage}/codecov/how-it-works.mdx | 0 .../codecov/img/codecov-read-timeout.png | Bin .../codecov/img/codecov-setup-in-new-ui.png | Bin .../codecov/img/codecov-setup-in-ui.png | Bin .../code-coverage}/codecov/index.mdx | 1 - .../code-coverage}/codecov/set-up.mdx | 0 .../code-coverage}/codecov/troubleshooting.mdx | 0 docs/integrations/code-coverage/index.mdx | 9 +++++++++ docs/integrations/index.mdx | 6 ++++++ docs/product/index.mdx | 4 ---- .../integrate-frontend/configure-scms.mdx | 2 -- redirects.js | 8 ++++++++ src/components/sidebar/SidebarMoreLinks.tsx | 1 - 13 files changed, 23 insertions(+), 8 deletions(-) rename docs/{product => integrations/code-coverage}/codecov/how-it-works.mdx (100%) rename docs/{product => integrations/code-coverage}/codecov/img/codecov-read-timeout.png (100%) rename docs/{product => integrations/code-coverage}/codecov/img/codecov-setup-in-new-ui.png (100%) rename docs/{product => integrations/code-coverage}/codecov/img/codecov-setup-in-ui.png (100%) rename docs/{product => integrations/code-coverage}/codecov/index.mdx (96%) rename docs/{product => integrations/code-coverage}/codecov/set-up.mdx (100%) rename docs/{product => integrations/code-coverage}/codecov/troubleshooting.mdx (100%) create mode 100644 docs/integrations/code-coverage/index.mdx diff --git a/docs/product/codecov/how-it-works.mdx b/docs/integrations/code-coverage/codecov/how-it-works.mdx similarity index 100% rename from docs/product/codecov/how-it-works.mdx rename to docs/integrations/code-coverage/codecov/how-it-works.mdx diff --git a/docs/product/codecov/img/codecov-read-timeout.png b/docs/integrations/code-coverage/codecov/img/codecov-read-timeout.png similarity index 100% rename from docs/product/codecov/img/codecov-read-timeout.png rename to docs/integrations/code-coverage/codecov/img/codecov-read-timeout.png diff --git a/docs/product/codecov/img/codecov-setup-in-new-ui.png b/docs/integrations/code-coverage/codecov/img/codecov-setup-in-new-ui.png similarity index 100% rename from docs/product/codecov/img/codecov-setup-in-new-ui.png rename to docs/integrations/code-coverage/codecov/img/codecov-setup-in-new-ui.png diff --git a/docs/product/codecov/img/codecov-setup-in-ui.png b/docs/integrations/code-coverage/codecov/img/codecov-setup-in-ui.png similarity index 100% rename from docs/product/codecov/img/codecov-setup-in-ui.png rename to docs/integrations/code-coverage/codecov/img/codecov-setup-in-ui.png diff --git a/docs/product/codecov/index.mdx b/docs/integrations/code-coverage/codecov/index.mdx similarity index 96% rename from docs/product/codecov/index.mdx rename to docs/integrations/code-coverage/codecov/index.mdx index b06d3c4b8e1ca..3edb8c01ea5f8 100644 --- a/docs/product/codecov/index.mdx +++ b/docs/integrations/code-coverage/codecov/index.mdx @@ -1,6 +1,5 @@ --- title: Codecov -sidebar_order: 140 description: Learn about Sentry's integration with Codecov. --- diff --git a/docs/product/codecov/set-up.mdx b/docs/integrations/code-coverage/codecov/set-up.mdx similarity index 100% rename from docs/product/codecov/set-up.mdx rename to docs/integrations/code-coverage/codecov/set-up.mdx diff --git a/docs/product/codecov/troubleshooting.mdx b/docs/integrations/code-coverage/codecov/troubleshooting.mdx similarity index 100% rename from docs/product/codecov/troubleshooting.mdx rename to docs/integrations/code-coverage/codecov/troubleshooting.mdx diff --git a/docs/integrations/code-coverage/index.mdx b/docs/integrations/code-coverage/index.mdx new file mode 100644 index 0000000000000..90443b6c25fbf --- /dev/null +++ b/docs/integrations/code-coverage/index.mdx @@ -0,0 +1,9 @@ +--- +title: Code Coverage +sidebar_order: 75 +description: Learn about Sentry's code coverage integrations, which surface test coverage data directly in your stack traces. +--- + +Code coverage integrations connect your coverage provider to Sentry so you can see which lines of code in a stack trace are covered by tests. This helps you spot untested code paths that are causing errors. + + diff --git a/docs/integrations/index.mdx b/docs/integrations/index.mdx index facff52317723..906a12c45707a 100644 --- a/docs/integrations/index.mdx +++ b/docs/integrations/index.mdx @@ -109,6 +109,12 @@ For more details, see the [full Integration Platform documentation](/integration | [Jam](/integrations/session-replay/jam/) | X | | [OpenReplay](/integrations/session-replay/openreplay/) | X | +## Code Coverage + +| Integration | Stack Trace Coverage | +| -------------------------------------------------------- | -------------------- | +| [Codecov](/integrations/code-coverage/codecov/) | X | + ## Coding Agents | Integration | Seer Integration | diff --git a/docs/product/index.mdx b/docs/product/index.mdx index 64fedfa900348..31b8c796aea04 100644 --- a/docs/product/index.mdx +++ b/docs/product/index.mdx @@ -64,10 +64,6 @@ Sentry's [**Uptime Monitoring**](/product/monitors-and-alerts/monitors/uptime-mo [**Discover**](/product/explore/discover-queries/) provides visibility into your data across environments by building upon and enriching your error data. You can [**query**](/product/explore/discover-queries/query-builder/) and unlock insights into the health of your entire system and get answers to critical business questions — all in one place. You can also build your own [**dashboards**](/product/dashboards/) to help you monitor what's most important for your app. -### Code Coverage - -[Codecov](/product/codecov/) provides **test code coverage** for developers. It helps improve testing, coverage, and code reliability, allowing you to get test coverage insights directly in Sentry while monitoring your errors. - ### Seamless Developer Workflow Sentry provides many [**integrations**](/integrations/) to support a seamless developer workflow, including: diff --git a/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx b/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx index 994bff6ed778c..9b0425a5885ca 100644 --- a/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx +++ b/docs/product/sentry-basics/integrate-frontend/configure-scms.mdx @@ -184,5 +184,3 @@ On top of error monitoring, Sentry offers other features to help you detect and - [Session Replay](/product/explore/session-replay/) to view a a video-like reproduction of your user sessions when errors occur. - [pre-built Sentry Dashboards](/product/dashboards/sentry-dashboards/) to track application performance and errors across services. - [Profiling](/product/explore/profiling/) to get deeper level of visibility on top of traditional tracing. - -As well as [Codecov](https://docs.codecov.com/docs) to give you automated code coverage reports as part of your CI/CD. diff --git a/redirects.js b/redirects.js index bec1eea6cb582..9b87a830ff9bf 100644 --- a/redirects.js +++ b/redirects.js @@ -591,6 +591,14 @@ const userDocsRedirects = [ source: '/api/guides/oauth/', destination: '/api/auth/', }, + { + source: '/product/codecov/:path*', + destination: '/integrations/code-coverage/codecov/:path*', + }, + { + source: '/product/codecov/', + destination: '/integrations/code-coverage/codecov/', + }, { source: '/integrations/incidentio/', destination: '/integrations/issue-tracking/incidentio/', diff --git a/src/components/sidebar/SidebarMoreLinks.tsx b/src/components/sidebar/SidebarMoreLinks.tsx index fe6ef01025cc7..c2f65de63f019 100644 --- a/src/components/sidebar/SidebarMoreLinks.tsx +++ b/src/components/sidebar/SidebarMoreLinks.tsx @@ -42,7 +42,6 @@ export function SidebarMoreLinks() { {isExpanded && ( -