返回 Skill 列表
extension
分类: 开发与工程无需 API Key

task-discovery

通过工作池发现Firefox CI任务。查询Taskcluster任务图以查找分配给特定工作类型的任务。在计划工作池迁移、制作mach try推送或审核运行在池上的任务时使用。触发词包括“发现任务”、“查找任务”、“工作池任务”、“任务发现”、“哪些任务运行在”。

person作者: jakexiaohubgithub

Task Discovery

Query a decision task graph and group matching labels by worker type or task kind.

Prerequisites

Install uv. Read-only Taskcluster access does not need authentication.

Usage

DISCOVER=~/.claude/skills/task-discovery/scripts/discover.py

# Audit the current autoland task graph.
uv run "$DISCOVER" -w win11-64-24h2 --branch autoland -o summary

# Generate exact task labels for mach try fuzzy.
uv run "$DISCOVER" -w win11-64-24h2 --exact -k test -o query

# List all worker types in the graph.
uv run "$DISCOVER" --list-worker-types --branch autoland

Run uv run "$DISCOVER" --help for regex matching, output formats, and timeouts.

Gotchas

  • The default branch is mozilla-central. Use --branch autoland for current migration planning.
  • Worker matching is a substring search by default. Use --exact when suffix variants such as -gpu, -hw, or -source must not match.
  • Task graphs can exceed 30 MB. Increase --timeout on slow links.

Related Skills

  • Use taskcluster for status, logs, artifacts, actions, and worker state.
  • Use os-integrations to submit alpha-pool validation tasks.