Skip to content

Add retries to snap build#314273

Merged
dmitrivMS merged 2 commits intorelease/1.119from
dev/dmitriv/fix-snap-build
May 5, 2026
Merged

Add retries to snap build#314273
dmitrivMS merged 2 commits intorelease/1.119from
dev/dmitriv/fix-snap-build

Conversation

@dmitrivMS
Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings May 4, 2026 23:10
@dmitrivMS dmitrivMS enabled auto-merge (squash) May 4, 2026 23:10
@dmitrivMS dmitrivMS self-assigned this May 4, 2026
@dmitrivMS dmitrivMS disabled auto-merge May 4, 2026 23:11
@vs-code-engineering
Copy link
Copy Markdown
Contributor

vs-code-engineering Bot commented May 4, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • build/azure-pipelines/linux/apt-retry.sh
  • build/azure-pipelines/linux/build-snap.sh

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to reduce transient build failures in the Linux snap pipeline by adding retry behavior to APT operations, including those performed indirectly by snapcraft when resolving stage-packages.

Changes:

  • Adds an Acquire::Retries APT configuration file in the snap build script to enable retries for snapcraft’s internal package fetches.
  • Extends apt-retry.sh to retry on additional APT download error strings.
Show a summary per file
File Description
build/azure-pipelines/linux/build-snap.sh Writes an APT retry configuration to improve resilience during snapcraft packaging.
build/azure-pipelines/linux/apt-retry.sh Expands retry conditions to include additional package download failure messages.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

Comment thread build/azure-pipelines/linux/build-snap.sh Outdated
Comment thread build/azure-pipelines/linux/apt-retry.sh
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

blocks-ci screenshots changed

Replace the contents of test/componentFixtures/blocks-ci-screenshots.md with:

Updated blocks-ci-screenshots.md
<!-- auto-generated by CI — do not edit manually -->

#### editor/codeEditor/CodeEditor/Dark
![screenshot](https://hediet-screenshots.azurewebsites.net/images/cb32a3e854b5734fe5aaca2318f2e0a42ee821b05ea97883ea42c5ba95edb3c3)

#### editor/codeEditor/CodeEditor/Light
![screenshot](https://hediet-screenshots.azurewebsites.net/images/42624fbba5e0db7f32c224b5eb9c5dd3b08245697ae2e7d2a88be0d7c287129b)

#### editor/inlineChatZoneWidget/InlineChatZoneWidget/Dark
![screenshot](https://hediet-screenshots.azurewebsites.net/images/710d77ca0f3926ff2c6c53560aa81942893ffb5a50fae3f3897b6b01ecac9a45)

#### editor/inlineChatZoneWidget/InlineChatZoneWidget/Light
![screenshot](https://hediet-screenshots.azurewebsites.net/images/179accfb89a5aeac32979be1da02a9d2269cfe8b8679404c4f6015b1f5998d60)

#### editor/inlineChatZoneWidget/InlineChatZoneWidgetTerminated/Dark
![screenshot](https://hediet-screenshots.azurewebsites.net/images/2fbc12507b59ff950d9612d2df92e6b39d8bf0bf500478e42eca2ead4d1ae206)

#### editor/inlineChatZoneWidget/InlineChatZoneWidgetTerminated/Light
![screenshot](https://hediet-screenshots.azurewebsites.net/images/4632ab04d1fdd7db9ab0e00cce10aefb7a6344eb8869dfce740309a8801cab73)

rzhao271
rzhao271 previously approved these changes May 4, 2026
Co-authored-by: Copilot <copilot@github.com>
@dmitrivMS dmitrivMS merged commit 7e9f546 into release/1.119 May 5, 2026
41 of 42 checks passed
@dmitrivMS dmitrivMS deleted the dev/dmitriv/fix-snap-build branch May 5, 2026 01:12
@vs-code-engineering vs-code-engineering Bot added this to the 1.119.0 milestone May 5, 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.

3 participants