Skip to content

fix node25#297

Merged
jhheider merged 1 commit intomainfrom
fix-node25
Mar 2, 2026
Merged

fix node25#297
jhheider merged 1 commit intomainfrom
fix-node25

Conversation

@jhheider
Copy link
Contributor

@jhheider jhheider commented Mar 2, 2026

node25 requires libatomic1.

Copilot AI review requested due to automatic review settings March 2, 2026 21:53
Copy link

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

Updates the GitHub Actions workflow to keep CI passing now that Node.js 25+ requires libatomic1 on older Linux distributions (notably Debian Buster).

Changes:

  • Adds an apt-get install libatomic1 step gated to the debian:buster-slim container matrix entry.
  • Fixes YAML indentation for the matrix.include entries (no functional change intended).
  • Adjusts quoting for the ! pkgx --version command to avoid YAML parsing pitfalls.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +53 to +55
# Debian buster is EOL, so we need to change mirrors
sed -i 's/deb\.debian/archive\.debian/g' /etc/apt/sources.list
apt-get update -qq
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

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

The mirror rewrite for Debian buster is likely incomplete: the default buster-slim /etc/apt/sources.list typically includes security.debian.org entries and may also require disabling APT “Valid-Until” checks after EOL. With only deb.debian.* rewritten, apt-get update can still fail, breaking this job. Consider also rewriting/removing the security/updates entries and/or passing -o Acquire::Check-Valid-Until=false, or switch the container to a supported Debian release instead of buster.

Suggested change
# Debian buster is EOL, so we need to change mirrors
sed -i 's/deb\.debian/archive\.debian/g' /etc/apt/sources.list
apt-get update -qq
# Debian buster is EOL, so we need to change mirrors and relax APT checks
# Rewrite deb.debian.org and security.debian.org to archive.debian.org
sed -i -E 's/deb\.debian\.org/archive.debian.org/g; s/security\.debian\.org/archive.debian.org/g' /etc/apt/sources.list
# Disable Valid-Until checks so apt-get update works with archived metadata
apt-get -o Acquire::Check-Valid-Until=false update -qq

Copilot uses AI. Check for mistakes.
# Debian buster is EOL, so we need to change mirrors
sed -i 's/deb\.debian/archive\.debian/g' /etc/apt/sources.list
apt-get update -qq
apt-get install -y libatomic1
Copy link

Copilot AI Mar 2, 2026

Choose a reason for hiding this comment

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

To keep CI containers smaller and reduce potential side effects, consider installing with --no-install-recommends and cleaning up /var/lib/apt/lists after installing libatomic1 (especially since this runs inside a slim base image).

Suggested change
apt-get install -y libatomic1
apt-get install -y --no-install-recommends libatomic1
apt-get clean
rm -rf /var/lib/apt/lists/*

Copilot uses AI. Check for mistakes.
@jhheider jhheider merged commit d4b78fa into main Mar 2, 2026
48 of 51 checks passed
@jhheider jhheider deleted the fix-node25 branch March 2, 2026 22:07
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