Skip to content

Enable AI Agentic Workflow for Buildkite build failure analysis#19196

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/enable-ai-agentic-workflow
Open

Enable AI Agentic Workflow for Buildkite build failure analysis#19196
Copilot wants to merge 2 commits into
mainfrom
copilot/enable-ai-agentic-workflow

Conversation

Copilot AI commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Enable automatic AI-powered analysis of Buildkite build failures on pull requests by implementing the same workflow infrastructure available in elastic-agent.

Changes

Workflow Configuration: Added .github/workflows/trigger-pr-buildkite-detective.yml that:

  • Triggers on Buildkite status failures
  • Delegates analysis to Elastic AI GitHub Actions infrastructure (gh-aw-estc-pr-buildkite-detective.lock.yml@v0)
  • Includes instructions to cross-reference known flaky test issues
  • Requires COPILOT_GITHUB_TOKEN and BUILDKITE_LOGS_API_TOKEN repository secrets
name: PR Buildkite Detective
on:
  status:

permissions:
  actions: read
  contents: read
  issues: write
  pull-requests: write

jobs:
  run:
    if: >-
      github.event.state == 'failure' &&
      contains(github.event.context, 'buildkite')
    uses: elastic/ai-github-actions/.github/workflows/gh-aw-estc-pr-buildkite-detective.lock.yml@v0
    secrets:
      COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
      BUILDKITE_API_TOKEN: ${{ secrets.BUILDKITE_LOGS_API_TOKEN }}

Copilot AI assigned Copilot and v1v Jun 5, 2026
Copilot AI linked an issue Jun 5, 2026 that may be closed by this pull request
@mergify

mergify Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label. Could you fix it @Copilot? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

Copilot AI changed the title [WIP] Add GitHub workflow for BK build failure analysis Enable AI Agentic Workflow for Buildkite build failure analysis Jun 5, 2026
Copilot finished work on behalf of v1v June 5, 2026 15:13
Copilot AI requested a review from v1v June 5, 2026 15:14
@v1v v1v marked this pull request as ready for review June 8, 2026 12:30
@v1v v1v requested a review from a team as a code owner June 8, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable AI Agentic Workflow for BK build failure analysis

2 participants