LandoAPIError: Lando returned HTTP 500 (Internal Server Error) for https://lando.moz.tools/api/try/patches

Open
#6,723 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
api, backend

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.

Description

hackbot

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
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 11h
Merged PRs (30d)
61

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/bugbug

All issues in mozilla/bugbug

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.