-
Notifications
You must be signed in to change notification settings - Fork 23
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 issue with updating PR when the stack is reordered (#395) #436
base: master
Are you sure you want to change the base?
fix issue with updating PR when the stack is reordered (#395) #436
Conversation
Current Aviator status
This pull request is currently open (not queued). How to mergeTo merge this PR, comment
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
FlexReview Team StatusCode Review HealthTo get a faster review, consider keeping the PR under
Pending Team Reviews
|
It seems there is a bug.
With this change, the last |
Thank you for checking @draftcode , i'll try to reproduce the issue on my end and fix it |
Hi @draftcode, i tried to reproduce the issue on my end, and here's what I've got: my understanding of the issue #395 is, we have this error
but from the example above, seems you're expecting the error to appear and stop the process. So what is the condition that is required to differentiate between this case and the case from #395? because both have the same |
#436 (comment) truely do not have any new commit between the parent and its child, so it should be errored out. #395 is that depending on the order of the operations, it appears as there's no new commit between the parent and its child, but it's just a transient case. Locally, it should be able to tell if there is no new commit or not. Traversing or doing something like #395 (comment). |
This PR addresses issue #395
Fixing Steps
reRunPRUpdate
inGitHubPushModel
as true and continue to the next iteration.runGitPush()
, checkreRunPRUpdate
value. If true, then re-runupdatePRs
again to fix the PR base branchBefore
Previously, when the branches were reordered and we ran
av stack sync
it would returnThere are no new commits between base branch 'base' and head branch 'head'
, and the process is stoppedAfter
The previous issue did not happen and the PR order is now in sync with the local machine's re-ordered stack.