← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

lando

使用Mozilla的Lando API检查Lando登陆任务的状态。在使用mach try提交尝试推送后,使用此命令来验证您的提交是否已成功登陆。触发关键词包括:“lando状态”,“登陆任务”,“检查登陆”,“提交已登陆”。

person作者: jakexiaohubgithub

Lando

Poll the public landing-job endpoint after you submit a try push or commit through Lando.

Prerequisites

The read-only API does not need authentication. Use curl and jq.

Usage

curl -fsS "https://lando.moz.tools/landing_jobs/<JOB_ID>/" \
  | jq '{status, commit_id, error, updated_at}'

Poll at a moderate interval until status is LANDED, FAILED, or CANCELLED. Report commit_id for a landed job and error for a failed job.

Gotchas

  • Status values are uppercase.
  • The landed commit field is commit_id, not landed_commit_id.
  • A job can end as CANCELLED as well as FAILED or LANDED.
  • Use lando.moz.tools (instance lando-prod-2025, the landoInstance in the Treeherder URL that mach try prints). The old api.lando.services.mozilla.com host is a different instance whose job IDs overlap, so it returns unrelated jobs instead of an error.
  • Keep the trailing slash. Without it the endpoint returns a 301 redirect.

References