Skip to content

Harden agentic workflow detection runs - #56397

Merged
Evangelink merged 5 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-aw-detection-runs-e23
Oct 6, 2026
Merged

Evangelink merged 5 commits into
dotnet:mainfrom
Evangelink:dev/amauryleve/fix-aw-detection-runs-e23

Conversation

@Evangelink

Copy link
Copy Markdown
Member

Detection runs exposed preventable workflow failures when transient GitHub connectivity problems occurred: Issue Triage deliberately removed every compatible cached Copilot CLI before startup, and the Build Failure Analysis workflows were still generated with an older gh-aw compiler.

This change:

  • allows Issue Triage to reuse a compatible cached Copilot CLI instead of forcing a release download on every run
  • regenerates Issue Triage and both Build Failure Analysis workflows with gh-aw v0.89.15 and Copilot CLI 1.0.83
  • pins the generated gh-aw setup action to a full commit SHA

Validation:

  • strict gh-aw compilation and validation passed for all three workflows
  • generated action references are pinned to 40-character SHAs
  • action-lock JSON and git diff checks passed
  • optional actionlint was not run because Docker was unavailable

Fixes: #56169

Reuse compatible cached Copilot CLI installs and refresh the affected generated workflows with the current gh-aw compiler.

Co-authored-by: Copilot App <[email protected]>
Copilot AI lite review requested due to automatic review settings September 24, 2026 16:17
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Retain the setup action lock mapping and add the required workflow-scoped telemetry session ID.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Updates agentic detection workflows to reuse cached Copilot CLI installations and refresh generated workflows with newer tooling and pinned actions.

Changes:

  • Removes forced Copilot CLI cache deletion.
  • Regenerates workflows with gh-aw v0.89.15 and Copilot CLI 1.0.83.
  • Updates generated action-lock metadata.
File Description
.github/​workflows/​issue-triage.md Removes forced CLI cache cleanup.
.github/​workflows/​issue-triage.lock.yml Regenerated Issue Triage workflow.
.github/​workflows/​build-failure-analysis.lock.yml Regenerated Build Failure Analysis workflow.
.github/​aw/​actions-lock.json Updates action-lock entries.

Evangelink and others added 3 commits September 24, 2026 18:31
Set the required workflow-scoped telemetry session ID in both Build Failure Analysis entry points and regenerate their locks.

Co-authored-by: Copilot App <[email protected]>
Cache the v0.89.15 setup action mapping so normal workflow compilation preserves the immutable action SHA and version annotation.

Co-authored-by: Copilot App <[email protected]>
Resolve generated workflow conflicts while preserving connection retry hardening and the updated gh-aw compiler output.

Co-authored-by: Copilot App <[email protected]>
@Evangelink
Evangelink enabled auto-merge (squash) September 25, 2026 10:51
Resolve agentic workflow lock conflicts with the repository's upgraded compiler while preserving cache reuse and telemetry correlation.

Co-authored-by: Copilot App <[email protected]>
@Evangelink
Evangelink merged commit d4c8c95 into dotnet:main Oct 6, 2026
14 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 7, 2026
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.

[aw] Detection Runs

3 participants