Only fetch alerts belong to the target repo and branch#3766
Only fetch alerts belong to the target repo and branch#3766huydhn merged 2 commits intopytorch:mainfrom
Conversation
|
@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel. A member of the Team first needs to authorize it. |
|
The fix itself is ready. But I want to add one more test to cover the logic. |
Not super important, but one way to make a logic change + formatting easier to review is to split them into two separate commits as GH allows to review commits one by one. |
izaitsevfb
left a comment
There was a problem hiding this comment.
Looks good. Thanks for the quick fix, Huy!
Noted. I guess I will need to keep it ufmt for this PR mainly because this has mixed in together with the fix. Undo ufmt and re-apply the fix is a pain, so I'll remember to split them next time. The most important part of the fix is in |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This fixes a bug where the alert script will fetch and close all active alerts belonging to all repos and branches. It should only need alerts from the selected repo and branch, i.e.
pytorch/pytorchandmasterAlso
ufmt formatthe script to beautify it.Testing