Repository navigation
Retry connection resets in Build Failure Analysis setup - #56396
Merged
YuliiaKovalova merged 1 commit intoSep 25, 2026
Merged
Conversation
Regenerate both BFA workflows with matching gh-aw v0.87.1 compiler and setup runtime to pick up bounded connection-reset retries for Copilot and AWF downloads. Preserve existing authentication and detection gates, document regeneration, and retain other workflows action pins. Co-authored-by: Copilot <[email protected]>
|
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. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Add the required telemetry session ID to both workflows and correct the setup action provenance comments.
Review effort: Lite
Findings: None
What changed in this PR
Updates Build Failure Analysis workflows to gh-aw v0.87.1 with retry-capable setup runtime behavior.
Changes:
- Regenerates automatic and slash-command workflow locks.
- Updates Copilot/AWF runtime handling and artifact fallback behavior.
- Pins the v0.87.1 setup action and records it in the action lock.
| File | Description |
|---|---|
.github/workflows/shared/build-failure-analysis-shared.md |
Documents compiler and runtime regeneration requirements. |
.github/workflows/build-failure-analysis.lock.yml |
Regenerated automatic analysis workflow. |
.github/workflows/build-failure-analysis-command.lock.yml |
Regenerated slash-command workflow. |
.github/aw/actions-lock.json |
Records the v0.87.1 setup action pin. |
Both workflow entry points still require the workflow-scoped telemetry session ID, and the setup action comments should identify the v0.87.1 tag.
Evangelink
approved these changes
Sep 25, 2026
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #56224.
Adopt the released gh-aw v0.87.1 compiler and matching setup runtime for both Build Failure Analysis entry points. This brings in the existing upstream installer repairs from github/gh-aw#53112 and github/gh-aw#53154 rather than copying or patching an installer in SDK.
--retry-all-errors.--retry-all-errors. Downloads still go to files and are SHA256-verified before installation.Failure addressed
In SDK run 34404402939, the main agent completed successfully. The detection job failed installing Copilot because the compatibility request and then
v1.0.79/SHA256SUMS.txtfailed withcurl: (35) Recv failure: Connection reset by peer. Ordinary--retrydid not retry that error class. The subsequent missing executable / missing detection result errors were consequences, not authentication failures.The full diagnosis is recorded in #56224 (comment).
Why compiler and runtime move together
A runtime-only pin update is not sufficient: the newer setup bundle no longer includes
install_ripgrep.sh, which the v0.86.2-generated workflows still invoke. Using the matching compiler removes those obsolete calls and emits the runtime's expected setup.The generated update therefore includes framework changes beyond the curl flags: the Copilot fallback version moves from 1.0.79 to 1.0.80, AWF from v0.27.44 to v0.28.1, and framework safe-output/artifact preparation and error reporting are updated. The BFA prompt body, binlog MCP image/mount, PAT selection/bindings, and inference/write permission boundaries are unchanged.
The v0.87.1 setup action is pinned to
423b3dc04bbf1b1797194a4a75aa5cf5d0d4f5b3. The existing v0.88.7 cache entry used elsewhere in the repository is retained.Validation and limits
github.aw.import-inputs.random_seedexpression diagnostics, also reproduced against unchanged upstreammain. The compiler's Docker-based actionlint could not run because Docker Desktop's Linux daemon was unavailable; the equivalent checksum-verified native release was used, without shellcheck/pyflakes.dotnet/sdk. The failure-injection results establish the retry behavior, not production inference/report delivery. Permanent download outages still fail explicitly.