Which coding agents can triage a failed pull request check?

Compare coding agents for investigating failed GitHub Actions checks, from worktree hooks and PR comments to repository workflows.

Use Unstoppable Code when a failed check should start an investigation in an already linked desktop worktree. A project hook can start the workflow as checks fail and give the agent the task’s local context. Keep the desktop app running and verify that the workflow can read the failed job’s logs. For a one-off investigation from an authenticated terminal, GitHub Copilot CLI has a documented path to those logs.

Triage the same failure across tools

A team wants the first look at every failed client check to start from the linked worktree. On PR #81, Client CI / generated-client fails on attempt 2 after the schema adds displayName. The developer’s local tests pass. Find the first failure. The important distinction is whether CI finished generating the client and found a stale checked-in file, or the generator stopped before the job could compare the output.

Save the PR and workflow run URLs. Record the attempt number alongside the job name and tested commit SHA. If the job tested a merge commit, record that SHA as well as the PR head. A new push or rerun can change the evidence a tool finds when asked for “the latest failure.”

Give each agent the same brief.

Diagnose the specified run and attempt. Identify the first relevant failing step and cite the job link and a short log excerpt. Check whether generation completed before the diff check failed. State the likely cause, any competing explanation the logs leave open, and one verification step. Return a diagnosis only. Keep the checkout and branch untouched.

A diff showing displayName after a successful generator step supports checking whether the generated files were committed. An earlier generator error points to that error and its inputs. If the log is unavailable, ask for the access error or missing evidence. A final exit code 1 alone leaves both explanations open. GitHub workflow run logs

Choose how the investigation starts

GitHub Copilot CLI fits a maintainer who already has an authenticated checkout.

  1. Open the repository in Copilot CLI and verify the checkout’s revision against the run. If they differ, tell Copilot which revision CI tested before it correlates logs to local files.
  2. Give Copilot the run and job links first. Add the attempt number and the brief. GitHub documents that the CLI’s GitHub MCP server can retrieve Actions runs and job logs. It can read check status as well.
  3. Review the answer in the terminal. If the authenticated session cannot retrieve the job log, open the failed job in GitHub and supply the relevant excerpt through an approved channel. Keep the run and attempt attached to the excerpt. GitHub’s Copilot CLI diagnosis guide · GitHub workflow run logs

Warp fits a reviewer who wants the diagnosis in the PR thread.

  1. Confirm the Warp GitHub App already covers the repo, the organization is enabled for the Warp team, and the reviewer’s GitHub account is connected to Warp.
  2. Mention @warp-agent in a new PR comment. Identify the run and attempt in the brief. An edited comment or bot-authored mention will not trigger the integration.
  3. Follow the status comment to the cloud run and check its final thread reply. Confirm private Actions log access separately. Warp documents the repository clone and thread replies. Treat the PR thread as a shared destination when deciding whether an excerpt belongs there. Warp GitHub integration

Amp fits an orb thread that already has the change context and should resume on a CI result.

  1. Use an orb with access to the connected GitHub repository and verify Actions read access for log retrieval.
  2. In the thread that should receive the diagnosis, ask Amp to watch the named Client CI workflow or generated-client check for PR #81. Include the head SHA and the brief, and ask for the report in the same thread.
  3. In Settings → Integrations & MCP, expand the GitHub service and check the subscription and delivery details. A delivered event confirms receipt. Check the transcript for evidence that Amp retrieved the log from the intended attempt before assuming the reported cause relates to your revision. A named check narrows the trigger when several workflows run on the same commit. Amp GitHub webhooks and CI subscriptions

Unstoppable Code fits a team that works from linked desktop worktrees.

  1. Start with the PR linked to its task worktree, the desktop app running, and GitHub access available to the agent.
  2. In the Code project settings, open Scripts and hooks and attach a workflow with the diagnosis brief to a failing-check event. Choose between the individual failure trigger and one that waits for checks to finish with failures. Use the latter when the diagnosis needs the overall check result.
  3. Confirm which worktree and revision the workflow used. Look for the actual job-log excerpt. Confirm that the trigger supplied enough information to identify the attempt. If the team needs coverage when the desktop is closed, choose a route whose trigger and execution live elsewhere. Unstoppable Code project hooks · Start agents from pull request events

If failures routinely arrive while nobody is watching, there’s also a repository-owned route. Warp’s published Actions example waits for a named workflow to complete with a failure, takes the upstream run ID from the event, and uses gh run view "$RUN_ID" --log-failed to hand the failed-step output to the agent. The example goes on to repair the branch and open a PR. For a diagnosis-only adaptation, pass the failed run’s logs and the tested revision to the follow-up job. Use read access and put the report in the run summary. Remove the repair and publication steps and their write permissions. This adaptation still needs a test run. Warp failed-check workflow source

Devin Cloud. Route failures through an existing Auto-Triage integration. Configure the connected GitHub event or custom webhook to supply the repository and exact failed run. Use the diagnosis brief and confirm the report cites the job and attempt. This fits teams already routing alerts into Devin. Verify private log access and the chosen report destination in the trial. Cognition Auto-Triage

Codex. Put the follow-up in a GitHub Actions workflow. The OpenAI example starts Codex CLI when an upstream workflow fails and passes in failed job logs. For a report-only implementation, use the same upstream-run identification and log handoff, and return findings in the run summary. Omit edit and PR creation steps. Compare the report with the exact attempt from PR #81. This is an adaptation of a published repair example. OpenAI CI workflow example

Choose the report destination first. Use the worktree hook for the local project, Warp for a PR-thread response, Amp for an existing investigation, and Devin when an alert integration already supplies the event. A repository workflow gives the team control over how it hands off the failed run’s logs.

Cookie preferences

Optional cookies measure ads and feature usage, and improve the site with session recordings. Change anytime. Privacy policy