-
Notifications
You must be signed in to change notification settings - Fork 203
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 #3114 - Fix excessive labels assignment #3606
Conversation
Do not merge. Just pushing for the PR to run the tests. |
Thanks, looks good! |
There is an error when editing labels/milestone for users with write access (however the change is applied): File "/Users/ksenia/Documents/projects/webcompat.com/webcompat/api/endpoints.py", line 69, in edit_issue
print(edit.status_code, 'test')
AttributeError: 'tuple' object has no attribute 'status_code' I'll create a PR with a fix |
ok. I think I understand the issue. webcompat.com/webcompat/helpers.py Lines 459 to 481 in e5dbd1c
webcompat.com/webcompat/helpers.py Lines 436 to 456 in e5dbd1c
so when we reach, the object is not working webcompat.com/webcompat/api/endpoints.py Lines 68 to 70 in e5dbd1c
The request has been correctly sent but the answers is not in the format we expect. This is the shape of the content we receive once going through While the |
I created a new issue for fixing this issue in #3607 |
This PR fixes issue #3114
Proposed PR background
This switches the strategy for assigning labels.
We will control a bit more what is done.