LandoAPIError: Lando returned HTTP 500 (Internal Server Error) for https://lando.moz.tools/api/try/patches
Open
Nobody has claimed this yet.
hackbot
- Dominant language
- Python
- Stars
- 570
- Forks
- 351
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 65
Description
Sentry Issue: HACKBOT-API-E
LandoAPIError: Lando returned HTTP 500 (Internal Server Error) for https://lando.moz.tools/api/try/patches
File "hackbot_runtime/actions/handlers/try_server_handler.py", line 191, in apply
job_id = await client.submit_try_patches(
File "lando_client/client.py", line 90, in submit_try_patches
raise LandoAPIError(_error_detail(response))
Failed to push run d64d2b7a-72cb-475f-89c4-01c29b8e32cd to try
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.
Research direction
Start with hackbot_runtime/actions/handlers/try_server_handler.py at apply and follow the call to lando_client/client.py:90, submit_try_patches, including _error_detail(response). Inspect the request and response handling for the reported Lando endpoint and the Sentry issue for context. Done means the HTTP 500 failure has an identified cause and the try submission path handles or prevents this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100