Skip to content

[codex] Harden Linux release apt installs#393

Merged
adamziel merged 1 commit into
trunkfrom
codex/release-linux-apt-retries
May 19, 2026
Merged

[codex] Harden Linux release apt installs#393
adamziel merged 1 commit into
trunkfrom
codex/release-linux-apt-retries

Conversation

@adamziel
Copy link
Copy Markdown
Contributor

What it does

Hardens Linux toolchain installation in Release: verify and Release: publish.

The Linux release jobs now:

  1. Rewrite Ubuntu ports package sources from http://ports.ubuntu.com/ubuntu-ports to https://ports.ubuntu.com/ubuntu-ports when that source exists.
  2. Run apt-get update and apt-get install with retries and explicit HTTP/HTTPS timeouts.

Rationale

v0.1.50 publish failed twice before build on the ubuntu-24.04-arm runner because apt could not fetch packages from http://ports.ubuntu.com:

Cannot initiate the connection to ports.ubuntu.com:80 ... Network is unreachable
E: Unable to fetch some archives

This is release infrastructure flakiness, not a ForkPress build failure, but it blocks the release assembly job.

Implementation

Updates only .github/workflows/release-publish.yml and .github/workflows/release-verify.yml. The release artifacts and build commands are unchanged.

Testing instructions

This is verified by the release workflow itself. After merge, rerun:

gh workflow run "Release: publish" \
  --repo Automattic/forkpress \
  --ref trunk \
  -f release_ref=a367e3d0d4dc517107e1d0aba0b7482dafaae690

@adamziel adamziel merged commit 5db6034 into trunk May 19, 2026
1 check passed
@adamziel adamziel deleted the codex/release-linux-apt-retries branch May 19, 2026 16:23
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.

2 participants