You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't rely on subject name when determinig PR for the series
The fix in series to git branch mapping 88cb274 made _guess_pr() to
work incorrectly due to a wrong assumption there. _guess_pr() looks
up a known open PR *by subject name*, which may not necessarily be the
right PR for a given series.
Before 88cb274 the branch name was (incorrectly) based on the oldest
series id. However currently open PRs still use the wrong branch
name. _guess_pr() then returns a wrong cached PR/branch. This leads
to an exception in apply_push_comment(), because it tries to verify
that PR was successfully updated, but looks at a wrong PR.
Fix this by not using lookup in local cache by name in guess_pr().
Differential Revision: D79654888
Reviewed-by: Jordan Rome <[email protected]>
Signed-off-by: Ihor Solodrai <[email protected]>
0 commit comments