Loading...
Loading...
Query Firefox Treeherder for CI job results using treeherder-cli (primary) and lumberjackth (secondary). Use after commits land to check test/build results. Triggers on "treeherder", "job results", "check tests", "ci status".
npx skill4agent add jwmossmoz/agent-skills treeherder| Tool | Role | Install | Strengths |
|---|---|---|---|
| treeherder-cli | Primary | | Failure analysis, revision comparison, test history, log fetching, artifact downloads |
| lumberjackth | Secondary | | Push listing, failures-by-bug, error suggestions, perf alerts, result/tier/state filtering |
# Get failed jobs for a revision
treeherder-cli a13b9fc22101 --json
# Filter by job name or platform
treeherder-cli a13b9fc22101 --filter "mochitest" --json
treeherder-cli a13b9fc22101 --platform "linux.*64" --json
# Group failures by test (cross-platform view)
treeherder-cli a13b9fc22101 --group-by test --json
# Compare revisions to find regressions
treeherder-cli a13b9fc22101 --compare b2c3d4e5f678 --json
# Check test history for intermittent detection
treeherder-cli --history "test_audio_playback" --history-count 10 --repo try --json
# Show similar job history for a failed job ID
treeherder-cli --similar-history 543981186 --similar-count 100 --repo try --json
# Fetch logs with pattern matching
treeherder-cli a13b9fc22101 --fetch-logs --pattern "ASSERTION|CRASH" --json
# Download artifacts
treeherder-cli a13b9fc22101 --download-artifacts --artifact-pattern "screenshot|errorsummary"
# Watch mode with notification
treeherder-cli a13b9fc22101 --watch --notify
# Switch repository (default: autoland)
treeherder-cli a13b9fc22101 --repo try --json# List recent pushes
uvx --from lumberjackth lj pushes autoland -n 10
# Get jobs for a push with result/tier filtering
uvx --from lumberjackth lj jobs autoland --push-id 12345 --result testfailed --tier 1
# Watch jobs with auto-refresh
uvx --from lumberjackth lj jobs try -r abc123 -w -i 60
# Query failures by bug ID
uvx --from lumberjackth lj failures 2012615 -t autoland -p "windows.*24h2"
# Show errors and bug suggestions
uvx --from lumberjackth lj errors autoland 545896732
# Performance alerts
uvx --from lumberjackth lj perf-alerts -r autoland -n 10
# JSON output
uvx --from lumberjackth lj --json jobs autoland --push-id 12345| Task | Tool | Example |
|---|---|---|
| Analyze failures for a revision | treeherder-cli | |
| Compare two revisions | treeherder-cli | |
| Check test history | treeherder-cli | |
| Compare a failed job to similar jobs | treeherder-cli | |
| Fetch/search logs | treeherder-cli | |
| Download artifacts | treeherder-cli | |
| Watch a revision | treeherder-cli | |
| Performance/resource data | treeherder-cli | |
| List recent pushes | lumberjackth | |
| Filter by result/state/tier | lumberjackth | |
| Get single job details | lumberjackth | |
| Failures by bug ID | lumberjackth | |
| Error lines + bug suggestions | lumberjackth | |
| Performance alerts | lumberjackth | |
| List repositories | lumberjackth | |
cargo install --git https://github.com/padenot/treeherder-cliuvxreferences/cli-reference.mdreferences/sheriff-workflows.mdreferences/api-reference.mdreferences/similar-jobs-comparison.mdsimilar_jobs