Skip to content

fix(gh-copilot): throwing on parsing for a 204 response#8825

Merged
klesh merged 2 commits into
apache:mainfrom
ReeceXW:fix/user-metrics-204
Apr 9, 2026
Merged

fix(gh-copilot): throwing on parsing for a 204 response#8825
klesh merged 2 commits into
apache:mainfrom
ReeceXW:fix/user-metrics-204

Conversation

@ReeceXW
Copy link
Copy Markdown
Contributor

@ReeceXW ReeceXW commented Apr 8, 2026

Summary

It's possible the user metrics endpoint can return a 204 No Content, but we are only ignoring a 404. This leads to trying to parse a response that isn't valid and collection stops.

I've added the exclusion and some more logging

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 8, 2026
@dosubot dosubot Bot added component/plugins This issue or PR relates to plugins pr-type/bug-fix This PR fixes a bug labels Apr 8, 2026
Copy link
Copy Markdown
Contributor

@klesh klesh left a comment

Choose a reason for hiding this comment

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

LGTM.
Thanks for your contribution.

@klesh klesh merged commit adaa008 into apache:main Apr 9, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/plugins This issue or PR relates to plugins pr-type/bug-fix This PR fixes a bug size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants