Skip to content

Conversation

michellewzhang
Copy link
Member

@michellewzhang michellewzhang commented Sep 15, 2025

closes https://linear.app/getsentry/issue/REPLAY-706/release-newgroups-count-is-sometimes-incorrect
closes https://linear.app/getsentry/issue/REPLAY-151/release-overview-new-issues-counter-doesnt-filter-when-selecting
closes https://linear.app/getsentry/issue/REPLAY-139/new-issues-in-release-showing-up-unexpectedly-in-the-team-plan

i believe all the issues above were relating to an incorrect issue count value in the release row, leading to confusion about the actual count of new issues for that release.

the newGroups value returned by the /releases/ endpoint is correct; however, the frontend on the releases index was mistakenly using the project's newGroups field.  The project's newGroups field is the sum of all the new issues for that project -- hence why they're all the same in the photo below. we should instead be using the count from the release itself.

i also fixed 2 other spots where we were relying on the project newGroups field in insights mobile session health page & on release drawer.

before:
SCR-20250915-nxra

SCR-20250915-oech

after:
SCR-20250915-nxnn

SCR-20250915-ocyn

@michellewzhang michellewzhang requested a review from a team as a code owner September 15, 2025 22:54
Copy link

linear bot commented Sep 15, 2025

@michellewzhang michellewzhang changed the title Mz/fix release issue count ref(releases): fix issue count on release homepage Sep 15, 2025
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Sep 15, 2025
@michellewzhang michellewzhang changed the title ref(releases): fix issue count on release homepage ref(releases): fix issue count on release index Sep 15, 2025
@michellewzhang michellewzhang requested a review from a team as a code owner September 15, 2025 22:59
Copy link

codecov bot commented Sep 15, 2025

✅ All tests passed

@michellewzhang michellewzhang changed the title ref(releases): fix issue count on release index ref(releases): fix issue count on release index & other spots Sep 15, 2025
Copy link

linear bot commented Sep 15, 2025

@michellewzhang michellewzhang merged commit 27d6540 into master Sep 16, 2025
53 checks passed
@michellewzhang michellewzhang deleted the mz/fix-release-issue-count branch September 16, 2025 17:32
liuirene256 pushed a commit that referenced this pull request Sep 16, 2025
closes
https://linear.app/getsentry/issue/REPLAY-706/release-newgroups-count-is-sometimes-incorrect
closes
https://linear.app/getsentry/issue/REPLAY-151/release-overview-new-issues-counter-doesnt-filter-when-selecting
closes
https://linear.app/getsentry/issue/REPLAY-139/new-issues-in-release-showing-up-unexpectedly-in-the-team-plan

i believe all the issues above were relating to an incorrect issue count
value in the release row, leading to confusion about the actual count of
new issues for that release.

the `newGroups` value returned by the `/releases/` endpoint is correct;
however, the frontend on the releases index was mistakenly using the
project's `newGroups` field.  The project's `newGroups` field is the sum
of all the new issues for that project -- hence why they're all the same
in the photo below. we should instead be using the count from the
release itself.

i also fixed 2 other spots where we were relying on the project
`newGroups` field in insights mobile session health page & on release
drawer.

before:
<img width="1084" height="376" alt="SCR-20250915-nxra"
src="https://github.com/user-attachments/assets/2f2044b7-4cb2-49e1-b2fb-437589bf0212"
/>

<img width="1272" height="514" alt="SCR-20250915-oech"
src="https://github.com/user-attachments/assets/d6b7d321-c91b-4221-a673-bdc2656c40a5"
/>


after:
<img width="1080" height="346" alt="SCR-20250915-nxnn"
src="https://github.com/user-attachments/assets/a72f03fd-e478-4e22-a6c8-217958674cfc"
/>

<img width="1267" height="564" alt="SCR-20250915-ocyn"
src="https://github.com/user-attachments/assets/65364c90-f9de-459a-af16-82ab1313fdd8"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants