HTTPStatusError: Client error '429 Unknown Error' for url 'https://phabricator.services.mozilla.com/api/differential.creatediff'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start with app/action_handlers/phabricator_handler.py at apply and _conduit_request, then follow phabricator_client/client.py through conduit_request and conduit_call. Reproduce or trace the differential.creatediff request and determine the expected handling for the HTTP 429 response; the issue is complete when diff submission no longer fails unexpectedly and the relevant behavior is verified.
Written by the indexing model from the issue text.
Description
Sentry Issue: HACKBOT-API-S
HTTPStatusError: Client error '429 Unknown Error' for url 'https://phabricator.services.mozilla.com/api/differential.creatediff'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
File "app/action_handlers/phabricator_handler.py", line 246, in apply
diff_result = await _conduit_request(
File "app/action_handlers/phabricator_handler.py", line 43, in _conduit_request
return await _client().conduit_request(method, **payload)
File "phabricator_client/client.py", line 115, in conduit_request
data = await self.conduit_call(method, payload)
File "phabricator_client/client.py", line 110, in conduit_call
response.raise_for_status()
File "httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
Failed to submit Phabricator diff for bug 2071583
- Dominant language
- Python
- Stars
- 570
- Forks
- 351
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 61
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/bugbug
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
hackbot
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·