Skip to content

[WIP] Debug Copilot Agent prompt clustering analysis workflow failure#13855

Closed
Copilot wants to merge 4 commits intomainfrom
copilot/debug-agentic-workflow-failure-yet-again
Closed

[WIP] Debug Copilot Agent prompt clustering analysis workflow failure#13855
Copilot wants to merge 4 commits intomainfrom
copilot/debug-agentic-workflow-failure-yet-again

Conversation

Copy link
Contributor

Copilot AI commented Feb 5, 2026

Fix prompt-clustering-analysis workflow failure

Problem: Multiple workflows fail when trying to execute ./gh-aw logs or ./gh-aw compile because the binary is not built or available.

Root cause: Workflows directly call ./gh-aw commands in steps without building the binary first.

Solution implemented:

  • Created new shared file shared/gh-aw-cli.md with safe-input tools for gh-aw CLI commands
  • Added gh-aw-logs safe-input tool that builds the binary and executes gh-aw logs
  • Added gh-aw-audit safe-input tool for future use
  • Added gh-aw-compile safe-input tool that builds the binary and executes gh-aw compile
  • Fixed prompt-clustering-analysis.md workflow
  • Fixed daily-copilot-token-report.md workflow
  • Fixed safe-output-health.md workflow
  • Fixed daily-safe-output-optimizer.md workflow
  • Fixed static-analysis-report.md workflow
  • Recompiled all affected workflows to generate updated lock files
  • All workflows now use safe-input tools instead of direct CLI calls
  • Verified no other workflows have the same issue
  • Test the changes by triggering one of the workflows

Summary: All workflows that were using ./gh-aw commands directly now use safe-input tools that automatically build the binary before execution. This ensures the workflows will not fail with "command not found" errors.

Original prompt

This section details on the original issue you should resolve

<issue_title>[agentics] Copilot Agent Prompt Clustering Analysis failed</issue_title>
<issue_description>### Workflow Failure

Workflow: Copilot Agent Prompt Clustering Analysis
Branch: main
Run URL: https://github.com/github/gh-aw/actions/runs/21698993257

Action Required

Debug this workflow failure using the agentic-workflows agent:

/agent agentic-workflows

When prompted, instruct the agent to debug this workflow failure.

Generated from Copilot Agent Prompt Clustering Analysis

  • expires on Feb 12, 2026, 4:52 AM UTC

Comments on the Issue (you are @copilot in this section)

@pelikhan Copilot review the import safe input. You probably need to insert steps to pre-build the binary and mount it in safe inputs.

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits February 5, 2026 05:51
…kflow

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan closed this Feb 5, 2026
Copilot AI requested a review from pelikhan February 5, 2026 06:00
Copilot stopped work on behalf of pelikhan due to an error February 5, 2026 06:00
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.

[agentics] Copilot Agent Prompt Clustering Analysis failed

2 participants