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

Use long for downloads count in OpenSearch index. #5052

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

simi
Copy link
Member

@simi simi commented Sep 19, 2024

fixes failing indexing of bundler

Searchkick::ImportError: {"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [downloads] of type [integer] in document with id 'xyz'. Preview of field's value: '2300514366'", "caused_by"=>{"type"=>"input_coercion_exception", "reason"=>"Numeric value (2300514366) out of range of int (-2147483648 - 2147483647)\n at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 41]"}} on item with id 'xyz'

Don't merge. Index needs to be migrated and rebuilt first.

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.02%. Comparing base (2ffe934) to head (247f878).
Report is 26 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5052   +/-   ##
=======================================
  Coverage   97.02%   97.02%           
=======================================
  Files         421      421           
  Lines        8754     8754           
=======================================
  Hits         8494     8494           
  Misses        260      260           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@simi simi added the blocked label Sep 19, 2024
@colby-swandale colby-swandale marked this pull request as ready for review September 24, 2024 07:20
@colby-swandale colby-swandale merged commit 2c9a573 into master Sep 24, 2024
18 checks passed
@colby-swandale colby-swandale deleted the downloads-overflow branch September 24, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants