Skip to content

fix: resolve CI failures across all Perl versions#403

Draft
Koan-Bot wants to merge 1 commit into
cpan-authors:mainfrom
atoomic:koan.atoomic/fix-ci-combined
Draft

fix: resolve CI failures across all Perl versions#403
Koan-Bot wants to merge 1 commit into
cpan-authors:mainfrom
atoomic:koan.atoomic/fix-ci-combined

Conversation

@Koan-Bot
Copy link
Copy Markdown
Contributor

What

Combined CI fix that makes the test suite pass on all Perl versions (5.16 through latest).

Why

Issue #325: the perldocker/perl-tester Docker images renamed Test2::Harness::Util::IPC to Test2::Harness::IPC::Util, breaking t/import.t, t/plugin.t, and t/trace.t. Separately, cpm requires Perl 5.24+ but the CI matrix tests down to 5.16.

These two issues are complementary — PR #399 alone still fails on 5.16-5.22, and PR #393 alone still fails on modern images. This PR combines both fixes into a single merge target.

How

  1. t/lib/Test/TMF.pm: tries both module names at runtime, skips gracefully via plan(skip_all) when neither is available
  2. Makefile.PL / cpanfile: removes the hard dependency on the deprecated module name
  3. .github/workflows/testsuite.yml: uses cpanm instead of cpm for the Perl version matrix job (older Perls only)

Testing

CI will validate across the full Perl matrix (5.16+). The ubuntu and disttest jobs still use cpm (system Perl is recent enough).

Closes #325. Supersedes #338, #393, #399.

🤖 Generated with Claude Code

Combines two complementary CI fixes:

1. Test2::Harness::Util::IPC was renamed to Test2::Harness::IPC::Util in
   newer perldocker/perl-tester images. t/lib/Test/TMF.pm now tries both
   module names and skips gracefully when neither is available. The hard
   dependency is removed from Makefile.PL and cpanfile.

2. cpm requires Perl 5.24+ but the CI matrix tests 5.16+. The Perl
   version matrix job now uses cpanm instead of cpm.

Closes cpan-authors#325. Supersedes cpan-authors#338, cpan-authors#393, and cpan-authors#399.

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.

Build fail on cpanel-perl

1 participant