Runner fail when trying to unmarshal artifact file
Summary
Runner crash when trying to unmarshal string when jobs need to use an artifact
Steps to reproduce
Create a job that upload an artifact then use it as a dempendency in the next job
Actual behavior
The runner pick the job then it doesn't show any log on the Gitlab interface but return this warning in the runner logs
WARNING: Checking for jobs... failed runner=a7ccdc1b status=Error decoding json payload json: cannot unmarshal string into Go struct field DependencyArtifactsFile.size of type int64
Expected behavior
The should download the artifact and finish all the job tasks
Relevant logs and/or screenshots
The runner log
WARNING: Checking for jobs... failed runner=a7ccdc1b status=Error decoding json payload json: cannot unmarshal string into Go struct field DependencyArtifactsFile.size of type int64
The job log
Environment description
Gitlab 11.6.1 Omnibus
Used GitLab Runner version
Running with gitlab-runner 11.6.0 (f100a208)
on gitlab-shared-runner-003 a7ccdc1b
This issue is related to this one I already open on the Gitlab repo https://gitlab.com/gitlab-org/gitlab-ce/issues/55874