Skip to content

[aw] Cyclomatic Complexity Reducer failed #2257

Closed as not planned
Closed as not planned

Description

@github-actions

Workflow Failure

Workflow: Cyclomatic Complexity Reducer
Branch: main
Run: https://github.com/githubnext/ado-aw/actions/runs/36400231577

Warning

Engine Failure: The copilot engine terminated unexpectedly.

Last agent output:

  │ cd /home/runner/work/ado-aw/ado-aw && grep -n "^    async fn execute_impl\|^async fn
  │ check_for_conflict_markers" src/safe_outputs/create_pull_request.rs
  └ 3 lines…
● Read create_pull_request.rs
  │ src/safe_outputs/create_pull_request.rs
  └ L795:812 (18 lines read)
Now I'll insert all the new helper functions/structs and methods right after the `impl Executor for CreatePrResult` block closes (line 802).
● Read create_pull_request.rs
  │ src/safe_outputs/create_pull_request.rs
  └ L598:627 (30 lines read)

Action Required

Assign this issue to an agent to debug and fix the issue.

Debug with any coding agent

Use this prompt with any coding agent (GitHub Copilot, Claude, Gemini, etc.):

Debug the agentic workflow failure using https://raw.githubusercontent.com/github/gh-aw/main/debug.md

The failed workflow run is at https://github.com/githubnext/ado-aw/actions/runs/36400231577
Manually invoke the agent

Debug this workflow failure using your favorite Agent CLI and the agentic-workflows prompt.

Tip

Stop reporting this workflow as a failure

To stop a workflow from creating failure issues, set report-failure-as-issue: false in its frontmatter:

safe-outputs:
  report-failure-as-issue: false

Generated from Cyclomatic Complexity Reducer · 196.7 AIC · ◷

  • expires on Oct 5, 2026, 9:18 AM UTC

Activity

  1. github-actions commented on Sep 29, 2026

    @github-actions
    ContributorAuthor

    Agent job 36545494281 failed.

    Warning

    Engine Failure: The copilot engine terminated unexpectedly.

    Last agent output:

      │ cd /home/runner/work/ado-aw/ado-aw && grep -n "async fn execute_impl"
      │ src/safe_outputs/create_pull_request.rs
      │ awk '/async fn execute_impl.*ExecutionContext.*ExecutionResult/{start=NR} start && /^
      │ }$/{print "length:", NR - start + 1; exit}' src/safe_outputs/create_pull_request.rs
      └ 3 lines...
    140 lines — still slightly over 100 but the function is now much more readable, mostly delegation calls. Let's run clippy's too_many_lines check to confirm progress.
    ● Read create_pull_request.rs
      │ src/safe_outputs/create_pull_request.rs
      └ L988:1127 (140 lines read)
    This is now readable as a clear sequential pipeline. Let's run the full clippy too_many_lines check and tests.
    

    Generated from Cyclomatic Complexity Reducer · 298 AIC · ◷

  2. github-actions commented on Oct 5, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-10-05T09:18:16.111Z.

    Closed by Workflow

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions