-
Notifications
You must be signed in to change notification settings - Fork 144
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
Bit more verbose output from the switchboard task #1677
base: main
Are you sure you want to change the base?
Conversation
c974eed
to
f2d171b
Compare
f2d171b
to
27d1120
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to rebasing the same revision that triggered the pipeline for one
pull request can occur in other pull requests.
I'm not sure I understand how this happens. Would the other pull requests need to have been merged already in order for this to happen?
It's an edge case when the same commit exists in two or more pull requests, for unmerged pull requests this can be when one pull request is based on another pull request. I had this issue in the pipeline triggered on push, probably not as frequent for unmerged pull requests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an edge case when the same commit exists in two or more pull requests, for unmerged pull requests this can be when one pull request is based on another pull request.
Ah, makes sense. LGTM
Hmm, the error from the task-switchboard is:
|
Makes it easier to debug eventual issues and makes it easier to fine tune expressions.
Due to rebasing the same revision that triggered the pipeline for one pull request can occur in other pull requests. With this not only the first result from `gh search prs` is used, changes from all of them are considered. This means that some Tasks that might not need to run are still ran, this should be acceptable given it guarantees that all Tasks that need to run have ran.
27d1120
to
728b6f9
Compare
Makes it easier to debug eventual issues and makes it easier to fine tune expressions.
Also a fix in c974eed to search only merged pull requests. I could have done a separate pull request, but then I'd need to rebase this so this was easier