gitlabhq/gitlabhq · error · Gitlab::Graphql::Errors::ArgumentError
Max blobs size limit exceeded (%{total} / 20 MB).
Error message
Max blobs size limit exceeded (%{total} / 20 MB). What it means
Error "Max blobs size limit exceeded (%{total} / 20 MB)." thrown in gitlabhq/gitlabhq.
Source
Thrown at app/graphql/resolvers/blobs_resolver.rb:82
qualified_ref = ExtractsRef::RefExtractor.qualify_ref(ref, ref_type)
paths.map { |path| [qualified_ref, path] }
end
def validate_blob_data_size?(paths)
paths.size > 1 && data_fields_requested?
end
def data_fields_requested?
DATA_FIELDS.intersect?(selected_fields)
end
def validate_blob_data_size_within_limit!(ref_path_pairs)
total_blob_data_size = repository.blobs_at(ref_path_pairs, blob_size_limit: 0).sum(&:size)
return if total_blob_data_size <= TOTAL_BLOB_DATA_SIZE_LIMIT
total = number_to_human_size(total_blob_data_size)
raise Gitlab::Graphql::Errors::ArgumentError, format(SIZE_LIMIT_EXCEEDED_ERROR, total: total)
end
def selected_fields
return [] unless lookahead.present?
nodes_field_selections | edges_node_field_selections
end
strong_memoize_attr :selected_fields
def nodes_field_selections
selections_for(:nodes)
end
def edges_node_field_selections
selections_for(:edges, :node)
end
def selections_for(*fields)View on GitHub (pinned to 55ee20384a)
When it happens
Trigger: Thrown at app/graphql/resolvers/blobs_resolver.rb:82 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of gitlabhq/gitlabhq@55ee20384a (2026-08-21).
Data as JSON: /api/errors/0f630c774c79d5bc.
Report an issue: GitHub.