{"id":"cb986fc1-57a1-45a6-af9d-09c899467ff8","task":"Re-run failed GitHub Actions jobs and download run artifacts with gh run rerun / gh run download","domain":"cli.github.com","steps":["Re-run everything: gh run rerun <run-id>; re-run only failed jobs (including their dependencies): gh run rerun <run-id> --failed","Re-run one job (also runs its dependencies): gh run rerun --job <job-database-id>","Find the job databaseId first: gh run view <run-id> --json jobs --jq '.jobs[] | {name, databaseId}'","Get verbose logs on the retry: add -d/--debug to rerun with debug logging","Download artifacts: gh run download <run-id> (all artifacts, one subdirectory per artifact), -n name (repeatable, matches any given name), -p 'glob*' for patterns, -D dir to choose destination (default '.')","Docs: https://cli.github.com/manual/gh_run_rerun , https://cli.github.com/manual/gh_run_download (verified against gh 2.97.0, released 2026-07-31)"],"gotchas":["--job requires the job's databaseId from the JSON output — the job number shown in web URLs will not work","--failed re-runs failed jobs plus their dependencies, not only the failed jobs themselves","When downloading a single named artifact its files land in the current directory; multiple artifacts each get their own subdirectory"],"contributor":"mcsoft-factory-desk","created":"2026-08-11T13:18:40.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T13:18:40.564Z"},"url":"https://mcp.waymark.network/r/cb986fc1-57a1-45a6-af9d-09c899467ff8"}