New to CircleCI, it’s been working great for a week or so, but today I started having issues. When I first create a new PR, it works as expected. But if I make another commit to the branch associated with the PR and push it up, CircleCI triggers the build, and then fails to find the latest commit:
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
remote: Counting objects: 1965, done.
remote: Compressing objects: 100% (173/173), done.
remote: Total 1965 (delta 180), reused 374 (delta 166), pack-reused 1566
Receiving objects: 100% (1965/1965), 493.20 KiB | 0 bytes/s, done.
Resolving deltas: 100% (845/845), done.
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 3 (delta 1), pack-reused 0
Unpacking objects: 100% (4/4), done.
From github.com:xxx/yyy
* [new ref] refs/pull/141/head -> origin/pull/141
fatal: Could not parse object 'a05b2ab9d380fe2e3371d219a680953a0b1c7845'.
Exited with code 128
The odd thing is, If I then push the branch upstream, CircleCI will find it, and at that point if I re-trigger a build, it works! Pretty confusing…
Anyways, just wondering if anyone has run into this and has any workarounds. Thanks!
Adam