Skip to content

[agent-efficiency] Recurring setup-uv failure pattern across last-7-day failed agent workflow runs #1982

Description

@github-actions

Findings

1. Repeated agent job failure before agent execution due to empty UV_PATH symlink target

Evidence:

Affected runs/workflows:

  • Observed repeatedly across Trigger Code Complexity Detector and Trigger Code Duplication Detector failed runs in the lookback window.

Root cause context observed in logs:

  • Failure occurs during the agent job setup sequence around astral-sh/setup-uv, before normal agent task execution.

2. Cascade failures in conclusion phase caused by missing detection artifacts

Evidence:

Affected runs/workflows:

  • Repeats in the conclusion job for failed detector workflows where detection output artifact is expected.

Root cause context observed in logs:

  • Detection stage is marked skipped/failed in snippets (RUN_DETECTION: false, DETECTION_AGENTIC_EXECUTION_OUTCOME: skipped), then conclusion tries to download a non-existent detection artifact.

3. Optional detection tool absent in runtime (warning pattern)

Evidence:

  • /tmp/gh-aw/errors.json contains repeated warning in detection job snippets:
    • ##[warning]threat-detect binary not found on PATH; continuing because GH_AW_DETECTION_CONTINUE_ON_ERROR != false
  • Seen in the same failed detector runs listed above.

Affected runs/workflows:

  • Repeated in detector workflows where detection step executes with continue-on-error behavior.

Root cause context observed in logs:

  • Runtime does not provide threat-detect, and workflow policy explicitly allows continuing.

Per-repository run summary (last 7 days)

Window: 2026-08-25 to 2026-09-01 (UTC)

Repository Scope Total runs Success Failure Other conclusions Failure rate
elastic/ai-github-actions Failed-run metadata provided in /tmp/gh-aw/failed_runs.json 20 0 20 0 100%

Downstream repositories using these workflows were not established in this run context because authenticated bulk gh api repository/run enumeration was unavailable here; therefore only repository-local failed-run metadata from provided artifacts is included.

Generated by Internal: Agent Efficiency · copilot · gpt53codex · 13.7 AIC · ⌖ 5.5 AIC · ⊞ 29.9K ·

  • expires on Sep 8, 2026, 3:57 PM UTC

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions