Skip to content

Add AI Agentic Workflow for Buildkite build failure analysis#3641

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

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

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 5, 2026

Enables automated analysis of Buildkite build failures on pull requests using the Elastic AI GitHub Actions framework. This mirrors the setup in elastic-agent and allows the agentic workflow to investigate test failures and cross-reference known flaky test issues.

Changes

  • New Workflow: .github/workflows/trigger-pr-buildkite-detective.yml
    • Triggers on GitHub status events when Buildkite checks fail
    • Delegates failure analysis to elastic/ai-github-actions reusable workflow
    • Configured with appropriate permissions (read actions/contents, write issues/PRs)
    • Includes instructions to check for and reference issues labeled flaky-test

The workflow requires two secrets to be configured in repository settings:

  • COPILOT_GITHUB_TOKEN: GitHub token for the Copilot agent
  • BUILDKITE_LOGS_API_TOKEN: Buildkite API token for log access

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
Copilot AI changed the title [WIP] Add AI agentic workflow for BK build failure analysis Add AI Agentic Workflow for Buildkite build failure analysis Jun 5, 2026
Copilot finished work on behalf of v1v June 5, 2026 15:08
Copilot AI requested a review from v1v June 5, 2026 15:08
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