GraphQL::IntegerEncodingError: Integer out of bounds: 2618265408 @ project.repository.blobs.nodes.0.size (RepositoryBlob.size). ...
https://sentry.gitlab.net/gitlab/gitlabcom/issues/4037031/?referrer=gitlab_plugin
GraphQL::IntegerEncodingError: Integer out of bounds: 2618265408 @ project.repository.blobs.nodes.0.size (RepositoryBlob.size). Consider using ID or GraphQL::Types::BigInt instead.
lib/gitlab/graphql/tracers/timer_tracer.rb:20:in `trace'
yield
lib/gitlab/graphql/generic_tracing.rb:48:in `with_labkit_tracing'
return yield unless Labkit::Tracing.enabled?
lib/gitlab/graphql/generic_tracing.rb:38:in `platform_trace'
with_labkit_tracing(tags, &block)
lib/gitlab/graphql/tracers/logger_tracer.rb:14:in `trace'
yield
lib/gitlab/graphql/tracers/metrics_tracer.rb:13:in `trace'
result = yield
...
(245 additional frame(s) were not displayed)
Possible fix
Switch size
and raw_size
to use GraphQL::Types::BigInt
. Add some specs to verify
Edited by Thong Kuah