Skip to content

ERROR: json: cannot unmarshal string into Go struct field Statistics.statistics.commit_count of type int64

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: glab version 1.24.1 (2022-12-07)
  • Operating System and version: MacOS Catalina 10.15.7

Summary

I cannot seem to get any relevant data back from glab. In particular, when executing glab mr list -A, I get an error.

Steps to reproduce

  1. setup glab to use our internal gitlab host glab auth login --hostname <our company hostname here>
  2. change directories to repository managed by our internal gitlab server
  3. issue the command glab mr list -A

What is the current bug behavior?

The output from step 3 above is

1 error occurred:
	* esd/esd-acceptance-tests: json: cannot unmarshal string into Go struct field Statistics.statistics.commit_count of type int64

What is the expected correct behavior?

I should see a list of all the MRs

Relevant logs and/or screenshots

Possible fixes

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information