-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix new branch ancestor handling flow #36
base: master
Are you sure you want to change the base?
Conversation
- the RETURN_CODE was not properly set in cases where the `git merge-base --is-ancestor` call returned successfully after a previous unsuccessful result
Any updates when can this be merged? |
will the job fail if |
there are no error flags currently set in the embedded bash script (e.g. no |
Then I will close my PR #39 , and let's waiting for your PR to be merged. Before that, I'm afraid we have to publish our own orb. |
@xdays have you published your version of the orb ? |
yes, it's https://circleci.com/orbs/registry/orb/xdays/compare-url |
I think we have to handle
|
Anyway, is this repo still maintainable? I wonder why this PR is never get reviewed by the maintainer. |
The RETURN_CODE was not properly set in cases where the
git merge-base --is-ancestor
call returned successfully after a previous unsuccessful result.I tried testing the fix by manually inserting the orb command's content directly in our CircleCI config. It seemed to work for the way I was testing, and the fix intuitively seems like it should resolve the bug. It's admittedly not quite as thoroughly tested as it could be.
Checklist
(Note none of these apply as this is a bug fix)
Motivation, issues
This should fix #25 where a bug in the new branch flow is not properly finding its ancestor.
Description
Fix handling of return code such that the job iteration logic properly identifies the ancestor commit in a new branch flow.