Back to skills
extension
Category: Development & EngineeringNo API key required

task-discovery

Discover Firefox CI tasks by worker pool. Query the Taskcluster task graph to find tasks assigned to specific worker types. Use when planning worker pool migrations, crafting mach try pushes, or auditing which tasks run on a pool. Triggers on "discover tasks", "find tasks", "worker pool tasks", "task discovery", "which tasks run on".

personAuthor: 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.