Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/aw/actions-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@
"version": "v4.36.2",
"sha": "8aad20d150bbac5944a9f9d289da16a4b0d87c1e"
},
"github/gh-aw/actions/setup-cli@v0.78.3": {
"github/gh-aw/actions/setup-cli@v0.79.8": {
"repo": "github/gh-aw/actions/setup-cli",
"version": "v0.78.3",
"sha": "544dd7355d846f9a7a1a5817a18148442e9ffe35"
"version": "v0.79.8",
"sha": "8b02ab336d100a5746e9f53b8bc2b22878278a6f"
},
"github/stale-repos@v9.0.14": {
"repo": "github/stale-repos",
Expand All @@ -168,17 +168,17 @@
"microsoft/apm-action@v1.9.1": {
"repo": "microsoft/apm-action",
"version": "v1.9.1",
"sha": "ce02c22416172beb70072c5910b2163ee3f006f6"
"sha": "e5650fb81c4b5965090a17bd1ed1956071e95d17"
},
"oven-sh/setup-bun@v2.2.0": {
"repo": "oven-sh/setup-bun",
"version": "v2.2.0",
"sha": "0c5077e51419868618aeaa5fe8019c62421857d6"
},
"ruby/setup-ruby@v1.310.0": {
"ruby/setup-ruby@v1.313.0": {
"repo": "ruby/setup-ruby",
"version": "v1.310.0",
"sha": "afeafc3d1ab54a631816aba4c914a0081c12ff2f"
"version": "v1.313.0",
"sha": "89f90524b88a01fe6e0b732220432cc6142926af"
},
"safedep/pmg@v1": {
"repo": "safedep/pmg",
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/ci-doctor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions .github/workflows/ci-doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ steps:
echo ""
echo "✅ PR pre-analysis complete. Agent should start with $SUMMARY_FILE"

source: githubnext/agentics/workflows/ci-doctor.md@ea350161ad5dcc9624cf510f134c6a9e39a6f94d

source: githubnext/agentics/workflows/ci-doctor.md@e15e57b40918dbca11b350c55d02ab61934afa75
---

# CI Failure Doctor
Expand Down Expand Up @@ -320,6 +319,7 @@ Logs and artifacts have been pre-downloaded before this session started:
**ONLY proceed if the workflow conclusion is 'failure' or 'cancelled'**. If the workflow was successful, **call the `noop` tool** immediately and exit.

### Phase 1: Initial Triage

1. **Verify Failure**: Check that `${{ github.event.workflow_run.conclusion }}` is `failure` or `cancelled`
- **If the workflow was successful**: Call the `noop` tool with message "CI workflow completed successfully - no investigation needed" and **stop immediately**. Do not proceed with any further analysis.
- **If the workflow failed or was cancelled**: Proceed with the investigation steps below.
Expand Down Expand Up @@ -349,6 +349,7 @@ Logs and artifacts have been pre-downloaded before this session started:
- Timing patterns

### Phase 3: Historical Context Analysis

1. **Search Investigation History**: Use file-based storage to search for similar failures:
- Read from cached investigation files in `/tmp/gh-aw/agent/memory/investigations/`
- Parse previous failure patterns and solutions
Expand All @@ -358,6 +359,7 @@ Logs and artifacts have been pre-downloaded before this session started:
4. **PR Context**: If triggered by a PR, analyze the changed files

### Phase 4: Root Cause Investigation

1. **Categorize Failure Type**:
- **Code Issues**: Syntax errors, logic bugs, test failures
- **Infrastructure**: Runner issues, network problems, resource constraints
Expand All @@ -373,6 +375,7 @@ Logs and artifacts have been pre-downloaded before this session started:
- For timeout issues: Identify slow operations and bottlenecks

### Phase 5: Pattern Storage and Knowledge Building

1. **Store Investigation**: Save structured investigation data to files:
- Write investigation report to `/tmp/gh-aw/agent/memory/investigations/<timestamp>-<run-id>.json`
- **Important**: Use filesystem-safe timestamp format `YYYY-MM-DD-HH-MM-SS-sss` (e.g., `2026-02-12-11-20-45-458`)
Expand Down
Loading
Loading