Skip to content

Try APT fallback mirrors sooner during Wine setup - #799

Draft
zaniebot wants to merge 1 commit into
mainfrom
zb/bound-wine-apt-downloads
Draft

zaniebot wants to merge 1 commit into
mainfrom
zb/bound-wine-apt-downloads

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

The Wine integration can exhaust its job timeout while downloading libwine from a stalled Ubuntu mirror. Apply the same zero-retry policy and ten-second HTTP timeouts used by the other Ubuntu setup jobs so APT can try its configured fallback mirrors sooner. Preserve the mirror order, package selection, and job timeout.

Fixes #737.

@astral-automations-bot astral-automations-bot Bot added the internal:ci-flake Related to internal CI flakes label Aug 28, 2026
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:1 Small: one localized behavior with straightforward tests or documentation checks. risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. labels Sep 9, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/bound-wine-apt-downloads branch from 34f8b4b to 2405cda Compare October 23, 2026 22:07
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/bound-wine-apt-downloads branch from 2405cda to 7edd4af Compare October 23, 2026 22:12
'Acquire::Retries "0";' \
'Acquire::http::Timeout "10";' \
'Acquire::https::Timeout "10";' \
| sudo tee /etc/apt/apt.conf.d/80-retries > /dev/null

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[P2] Load the Wine APT settings after the runner defaults

The runner's /etc/apt/apt.conf.d/zz-retries loads after 80-retries and sets retries to 1 and both timeouts to 15 seconds, overriding all three new values. Consequently, this change does not apply the intended fallback policy. The ARMv7 workflow already fixed this exact precedence issue in commit 8f217ede9; use zz-uv-retries here as well so the Wine settings take effect.

This branch has not been deployed

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

Labels

internal:ci-flake Related to internal CI flakes priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:2 Low, contained risk of minor incorrect behavior with straightforward recovery. size:1 Small: one localized behavior with straightforward tests or documentation checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wine integration setup times out downloading libwine from Ubuntu mirror

2 participants