Repository navigation
ci(triage): time out hung Oz triage runs instead of waiting 6h - #13249
Conversation
Triage runs occasionally wedge inside the `Triage with Oz agent` step before the agent's first turn. The job then sits until GitHub's 6h ceiling cancels it, so the issue is never labelled and never gets a comment explaining why. Eight runs have hit this. Successful triage runs complete in ~3 min (13 min worst case observed), so a 20 min step timeout leaves ample headroom while turning a silent 6h stall into a red run you can see and re-run. Co-Authored-By: Oz <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe triage workflow adds a 30-minute timeout to the job and a 20-minute timeout to the Oz agent step. ChangesTriage workflow controls
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
Confidence Score: 5/5The PR appears safe to merge. The timeout settings are valid at their respective workflow levels, leave a ten-minute job-level backstop after the Oz step deadline, and introduce no concrete regression in the changed workflow. Reviews (1): Last reviewed commit: "remove timeout comment block 2" | Re-trigger Greptile |
|
Congrats on merging your first pull request! 🎉🎉🎉 |
What
Adds a 20 minute
timeout-minutesto theTriage with Oz agentstep, plus a 30 minute job-level backstop.Why
Eight triage runs have hung at the Oz step until GitHub's 6 hour job ceiling cancelled them:
runs 105, 114, 115, 116, 118, 131, 133, 139.
Each one hangs before the agent takes its first turn, so nothing is written to the issue. In run 131 the last output is the run ID at
16:42:49Z, then six hours of silence, then cleanup reaping an orphanedozprocess. These issues did not get astate:label as a result: #13067, #13095, #13104, #13106, #13179, #13201, #13228, #13236.Successful triage runs finish in a median of ~3 minutes, with 13 minutes the slowest observed, so a 20 minute step timeout has enough headroom.
I'll see if we can investigate on Warp's end. One interesting note: these hangs occurred Blacksmith runner
blacksmith-4vcpu-ubuntu-2404, not on GitHub runners usingubuntu-latest. It's a small sample though; 8/39 hangs on Blacksmith and 0/15 on GHA.Test plan
Config-only change to an
issues: openedtriggered workflow, so it cannot be exercised from a PR. Verified the YAML parses and that bothtimeout-minuteskeys sit at valid positions (job level underjobs.triage, step level under theTriage with Oz agentstep).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit