fix: resolve CI failures across all Perl versions#403
Draft
Koan-Bot wants to merge 1 commit into
Draft
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Combined CI fix that makes the test suite pass on all Perl versions (5.16 through latest).
Why
Issue #325: the
perldocker/perl-testerDocker images renamedTest2::Harness::Util::IPCtoTest2::Harness::IPC::Util, breaking t/import.t, t/plugin.t, and t/trace.t. Separately,cpmrequires 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
t/lib/Test/TMF.pm: tries both module names at runtime, skips gracefully viaplan(skip_all)when neither is availableMakefile.PL/cpanfile: removes the hard dependency on the deprecated module name.github/workflows/testsuite.yml: usescpanminstead ofcpmfor the Perl version matrix job (older Perls only)Testing
CI will validate across the full Perl matrix (5.16+). The
ubuntuanddisttestjobs still usecpm(system Perl is recent enough).Closes #325. Supersedes #338, #393, #399.
🤖 Generated with Claude Code