Skip to content

fix(ci): replace cpm action with cpanm for quick test - #56

Draft
Koan-Bot wants to merge 3 commits into
atoomic:masterfrom
Koan-Bot:koan.atoomic/fix-ci-cpm-resolver
Draft

fix(ci): replace cpm action with cpanm for quick test#56
Koan-Bot wants to merge 3 commits into
atoomic:masterfrom
Koan-Bot:koan.atoomic/fix-ci-cpm-resolver

Conversation

@Koan-Bot

@Koan-Bot Koan-Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

What

Replace perl-actions/install-with-cpm@v1 with direct cpanm in the quick test job.

Why

Test::MockModule v0.181.0 tarball returns 404 from CPAN. The cpm MetaDB resolver picks this version, causing the quick test to fail. Since the matrix job depends on quick test, all PRs are blocked.

How

Use cpanm --notest --installdeps . which uses the 02packages index (not MetaDB) and is pre-installed on ubuntu-latest. Also eliminates the Node.js 20 deprecation warning from the action.

Testing

Local tests pass (174 tests, only known dev-checkout failures: 00-load, boilerplate).

🤖 Generated with Claude Code

Koan-Bot and others added 2 commits May 2, 2026 06:20
perl-actions/install-with-cpm@v1 uses MetaDB which resolves
Test::MockModule >= 0.175 to v0.181.0, but that tarball returns
404 from CPAN. This blocks ALL PRs since the matrix job depends
on the quick test passing.

Switch to cpanm which uses the 02packages index directly and
is pre-installed on ubuntu-latest. Also eliminates the Node.js 20
deprecation warning from the GitHub Action.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cpanm is not pre-installed on ubuntu-latest runners. Use the
standard cpanmin.us bootstrapper to install it inline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Older perldocker/perl-tester containers (5.8-5.22) no longer ship cpm,
causing "cpm: not found" failures across the matrix. Use cpanm which
is universally available in all perl-tester images.

This extends the quick-test fix (cpanm bootstrap) to the matrix job.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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