compare-url
compare-url copied to clipboard
New branch never finds ancestor commit
Orb version
1.2.0
What happened
After creating a new branch in our monorepo, compare-url Reconstruct step never finds an ancestor commit. It will loop all the way to CircleCI job 1. The full logs from the are pasted here: https://gist.githubusercontent.com/kennyjwilli/2474bcc03bff5039e465bd3d036de8b8/raw/c101f1825f5aec1d5b0a17058519c9e7141f8b31/log.txt.
Expected behavior
It should have found an ancestor commit.
This Orb was working perfectly for many weeks and has stopped working all of a sudden. All of our builds are now failing because it cannot find the ancestor commit. Any idea why that would start happening?
I have the same problem with version 1.0.0 of the orb. The only workaround to this is doing an empty commit or a dummy commit.
I've fixed this issue and another issue so maybe you guys can use my fork for temporary.
oshimayoan/[email protected]
https://github.com/oshimayoan/compare-url
I'm having the same issue (stuck in a loop), tried out @oshimayoan's fork but same results.
@johnallen3d Could you share a snippet of your reconstruct
result?
hmm thanks for the prompt @oshimayoan! I looked more closely at the output and noticed an error sh: missing ]]
.
job -25068 was part of the current workflow, part of a rerun workflow, a retry of a previous job, or from a different branch
----------------------------------------------------------------------------------------------------
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 15166 100 15166 0 0 462k 0 --:--:-- --:--:-- --:--:-- 462k
sh: missing ]]
Looking around here I see that this is a known issue when using an Alpine based container. #18
"fixed" the sh: missing ]]
error with apk add --no-cache bash
.
No probs! Does the orb work after you fixed the sh: missing ]]
problem?
Works like a charm, thanks again!