Skip to content

Drop the Microsoft apt repository in CI - #8

Merged
jdatcmd merged 1 commit into
masterfrom
fix/ci-drop-msft-apt-repo
Aug 26, 2026
Merged

Drop the Microsoft apt repository in CI#8
jdatcmd merged 1 commit into
masterfrom
fix/ci-drop-msft-apt-repo

Conversation

@jdatcmd

@jdatcmd jdatcmd commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Problem

CI intermittently fails a single PostgreSQL matrix job during environment
setup, with nothing wrong in the change under test:

E: Failed to fetch https://packages.microsoft.com/.../InRelease
   Clearsigned file isn't valid, got 'NOSPLIT' ...
##[error]Process completed with exit code 100

Seen on PR #6 (PG 17 job) and PR #7 (PG 12 job), both docs-only changes with
empty regression.diffs and every other job green.

Cause

The ubuntu-24.04 runner image ships a packages.microsoft.com entry in
/etc/apt/sources.list.d. The first sudo apt-get update in the workflow
fetches it, and a bad mirror response aborts the whole update. plruby installs
nothing from that repository.

Fix

Remove any sources.list.d file naming that host before the first apt call, so
setup only talks to the Ubuntu archive and PGDG.

The step is a no-op if the image stops shipping the repository, and stays exit-0
with or without pipefail.

🤖 Generated with Claude Code

The hosted runner image ships a packages.microsoft.com source that this
build needs nothing from. Its InRelease fetch fails intermittently with

  E: Failed to fetch https://packages.microsoft.com/.../InRelease
     Clearsigned file isn't valid, got 'NOSPLIT'

which aborts apt-get update and fails a single matrix job while every
other PostgreSQL version passes. Remove any sources.list.d file naming
that host before the first apt call, so setup only talks to the Ubuntu
archive and PGDG.

The step is a no-op if the image stops shipping the repository, and it
stays exit-0 with or without pipefail.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jdatcmd
jdatcmd merged commit 9e4616e into master Aug 26, 2026
9 checks passed
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.

1 participant