big pages deployments cause IntegerEncodingError
Summary
I have pages deployments from big artifacts. Trying to show them results in an
error.
Exception log contains
"severity": "ERROR",
"meta.caller_id": "GraphqlController#execute",
"meta.feature_category": "pages",
"exception.class": "GraphQL::IntegerEncodingError",
"exception.message": "Integer out of bounds: 3283837716 @ project.pagesDeployments.nodes.0.size (PagesDeployment.size). Consider using ID or GraphQL::Types::BigInt instead.",
"exception.backtrace": [
"graphql (2.5.11) lib/graphql/schema.rb:1337:in `type_error'",
"graphql (2.5.11) lib/graphql/types/int.rb:29:in `coerce_result'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:666:in `continue_field'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:481:in `block (2 levels) in evaluate_selection_with_resolved_keyword_args'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:936:in `after_lazy'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:474:in `block in evaluate_selection_with_resolved_keyword_args'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:809:in `call_method_on_directives'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:449:in `evaluate_selection_with_resolved_keyword_args'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:359:in `evaluate_selection'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:315:in `block (3 levels) in evaluate_selections'",
"graphql (2.5.11) lib/graphql/dataloader/null_dataloader.rb:22:in `append_job'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:314:in `block (2 levels) in evaluate_selections'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:301:in `each'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:301:in `block in evaluate_selections'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:809:in `call_method_on_directives'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:300:in `evaluate_selections'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:728:in `block (2 levels) in continue_field'",
"graphql (2.5.11) lib/graphql/execution/interpreter/runtime.rb:209:in `each_gathered_selections'",
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 3.2.8 Gem Version: 3.7.1 Bundler Version:2.7.1 Rake Version: 13.0.6 Redis Version: 7.2.11 Sidekiq Version:7.3.9 Go Version: unknown GitLab information Version: 18.6.1 Revision: 7f854654f98 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 16.10 Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 14.45.3 Repository storages: - default: unix:/run/gitlab/gitaly/gitaly.socket GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Gitaly - default Address: unix:/run/gitlab/gitaly/gitaly.socket - default Version: 18.6.1 - default Git Version: 2.50.1
Edited by 🤖 GitLab Bot 🤖
