New Depot CI metrics command and JSON output for status
Two additions for inspecting Depot CI runs programmatically.
depot ci metrics is a new command that fetches CPU and memory metrics for a CI job. Pass an attempt ID to summarize a single attempt, or use --job or --run to inspect every attempt of a job or every job in a run. Add --output json to a single-attempt request for full per-sample time-series data; --job and --run return per-attempt summary stats.
# Summarize an attempt
depot ci metrics <attempt-id>
# Every attempt of a job
depot ci metrics --job <job-id>
# Every job in a run
depot ci metrics --run <run-id>
# Full per-sample data as JSON
depot ci metrics <attempt-id> --output jsondepot ci status now supports --output json, returning the run, workflow, job, and attempt hierarchy as JSON. Each attempt includes a ready-to-run depot ci logs command and a dashboard URL, plus depot ci ssh and log download commands when applicable, so it's easy to script follow-up actions against an in-flight run.
depot ci status <run-id> --output jsonFor details, see the Depot CI CLI reference.