Actions and Hosted Troubleshooting: Diagnose the First Failure
Follow the execution boundary
A missing workflow run differs from a queued job, a failed checkout, a failing test or a denied deployment. Record event, workflow, candidate revision, job, step and conclusion. Check filters and required checks before altering policy. Avoid copying secret-bearing logs; use minimal redacted evidence.
Classify evidence, not guesses
The following fictional response records describe a failed test for revision B and a successful check for an older revision A. The old success does not validate B. Inspect the first failed step and reproduce the exact trusted test in an isolated environment. A queued job may need matching runner labels, availability or policy investigation.
{ "candidate": "B", "checks": [ { "revision": "A", "conclusion": "success" }, { "revision": "B", "conclusion": "failure", "step": "test" } ]}Handle API limits and permissions
A 401 suggests checking credential validity; a 403 may be permissions or a rate limit, and 404 can conceal private resources. Inspect status, redacted headers and documented error details. For rate limiting honor Retry-After and relevant reset timing, stop or retry within a bounded policy. Do not expand token scopes blindly or disable required checks. A timed-out write has unknown outcome until reconciled.
Practice a handoff
Use the mock cases in the lab to choose the next diagnostic: event filter, runner, first failed step, stale check, access review, rate wait or reconciliation. Record verified evidence, hypothesis, action owner, preservation steps and remaining uncertainty. Hosted service status and actual permissions require live authorized evidence; the lab does not contact GitHub.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Actions and Hosted Troubleshooting: Diagnose the First Failure — knowledge check
Choose evidence-based troubleshooting and data-preserving recovery.
A workflow has no run. What inspect first?
A success check belongs to older commit A. Does it verify B?
A job is queued without execution. What check?
403 includes evidence of rate limiting. What action?
A release write timed out. What next?