Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes PushId datatype to not overflow (fix user activity exception) #2844

Merged
merged 2 commits into from Jan 18, 2024

Conversation

mitchcapper
Copy link
Contributor

@mitchcapper mitchcapper commented Jan 3, 2024

Bug introduced in #2795 Closes #2822

Resolves #2822


Before the change?

  • Exception on any user activity with a recent PR where it exceeded Int32.maxvalue

After the change?

  • does not exception out

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

long is used elsewhere for ids, the PR just used the wrong datatype.

@nickfloyd nickfloyd added the Type: Bug Something isn't working as documented label Jan 4, 2024
Copy link
Contributor

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

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

Hey @mitchcapper thanks for the contributions here! ❤️

@nickfloyd nickfloyd merged commit 9bd519f into octokit:main Jan 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working as documented
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[BUG]: GetAllUserPerformedPublic throws OverflowException
2 participants