Skip to content

CI Root-cause analysis bot action#7056

Draft
carmo-daniel wants to merge 3 commits into
mainfrom
danielcarmo/ci-root-cause-analysis
Draft

CI Root-cause analysis bot action#7056
carmo-daniel wants to merge 3 commits into
mainfrom
danielcarmo/ci-root-cause-analysis

Conversation

@carmo-daniel

Copy link
Copy Markdown
Contributor

Motivation

Introducing AI automated root-cause analysis for CI failures in system-tests.

Changes

Created a yaml file to add a manual job option to system-tests CI, to invoke a bot for insights when needed.

Reviewer checklist

  • Anything but tests/ or manifests/ is modified ? I have the approval from R&P team
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added, removed or renamed?

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

.github/workflows/analyze-ci-failure.yml                                @DataDog/system-tests-core

Manually-dispatched GitHub Actions workflow that POSTs to the Datadog
Workflow Automation API to launch a root-cause-analysis bot for a given
CI run/job URL. Includes a temporary push trigger for branch testing
(to be removed before merge).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Jun 2, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 3 Pipeline jobs failed

Testing the test | System Tests (php, prod) / End-to-end #1 / apache-mod-7.4-zts 1   View in Datadog   GitHub Actions

🔄 Retry job. This looks flaky and may succeed on retry. Failed to connect to the Docker registry after multiple attempts: request canceled while waiting for connection.

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

🔄 Retry job. This looks flaky and may succeed on retry. Check run failed: Trigger Datadog workflow and System Tests (php, prod) for apache-mod-7.4-zts.

Analyze CI failure with Datadog Workflow | Trigger Datadog workflow   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Authentication failed with HTTP status 401 while attempting to fetch credentials for Datadog Workflow.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6168b00 | Docs | Datadog PR Page | Give us feedback!

The repo has no DD_API_KEY/DD_APPLICATION_KEY secrets, so mint short-lived
api_key/app_key at runtime via DataDog/dd-sts-action (same pattern as
push_to_test_optim) and pass them as DD-API-KEY/DD-APPLICATION-KEY headers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant