Skip to content

Skip impact map points for metrics without a user - #12019

Merged
iHiD merged 1 commit into
mainfrom
impact-map-userless-metrics
Oct 28, 2026
Merged

iHiD merged 1 commit into
mainfrom
impact-map-userless-metrics

Conversation

@iHiD

@iHiD iHiD commented Oct 28, 2026

Copy link
Copy Markdown
Member

Issue and pull request metrics have no user when the GitHub author has no linked Exercism account, and the impact map crashed when it tried to read the user's handle for them. The map now renders nothing for user-based metrics that arrive without a user. This change also removes two unused refs whose useRef calls ran conditionally, and adds a jest test for an open_issue_metric with no user.

Fixes EXERCISM-JS-4Y.

Closes #8773

🤖 Generated with Claude Code

Issue and pull request metrics have no user when the GitHub author has
no linked Exercism account. The map read the user's handle before
checking for this, so it crashed. Those points now render nothing.

Fixes EXERCISM-JS-4Y

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@iHiD
iHiD requested a review from dem4ron as a code owner October 28, 2026 12:05
@iHiD
iHiD merged commit 94bec56 into main Oct 28, 2026
29 checks passed
@iHiD
iHiD deleted the impact-map-userless-metrics branch October 28, 2026 12:21
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.

TypeError: Cannot read properties of undefined (reading 'handle')

1 participant