Skip to content

Fix CPAN random tester regressions#835

Merged
fglock merged 1 commit into
masterfrom
fix/cpan-random-regressions-20260529
May 29, 2026
Merged

Fix CPAN random tester regressions#835
fglock merged 1 commit into
masterfrom
fix/cpan-random-regressions-20260529

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented May 29, 2026

Summary

  • add bundled Digest::SHA1 compatibility for CPAN modules that still depend on Digest::SHA1
  • fix warning state so normal use warnings downgrades inherited FATAL warning bits
  • honor CORE::GLOBAL overrides for localtime and gmtime, which unblocks Test::MockTime
  • make use vars qw(*name) predeclare scalar, array, and hash slots under strict vars
  • add dependency-only CPAN distroprefs/patches for known PerlOnJava test-surface blockers

Test Plan

  • timeout 1200 make > /tmp/make_cpan_regressions_8.log 2>&1
  • timeout 600 ./jcpan -t HTTP::Cookies > /tmp/cpan_regress_HTTP-Cookies_after2.log 2>&1
  • timeout 1200 ./jcpan -t URI::Fetch::SimpleCache > /tmp/cpan_regress_URI-Fetch-SimpleCache_after2.log 2>&1
  • timeout 1200 ./jcpan -t MooX > /tmp/cpan_regress_MooX_after2.log 2>&1
  • timeout 1200 ./jcpan -t CGI::Header > /tmp/cpan_regress_CGI-Header_after2.log 2>&1
  • timeout 1200 ./jcpan -t Event::Notify > /tmp/cpan_regress_Event-Notify_after2.log 2>&1
  • timeout 1200 ./jcpan -t Test::SubCalls > /tmp/cpan_regress_Test-SubCalls_after2.log 2>&1
  • timeout 1200 ./jcpan -t IO::Scalar > /tmp/cpan_regress_IO-Scalar_after1.log 2>&1

Generated with Codex

Add compatibility fixes and dependency distroprefs for the CPAN modules marked REGRESS by cpan_random_tester.

Key runtime fixes:
- add bundled Digest::SHA1 compatibility on top of Digest::SHA
- let normal use warnings downgrade inherited FATAL warning bits
- honor CORE::GLOBAL overrides for localtime and gmtime
- make use vars qw(*name) predeclare scalar, array, and hash slots under strict vars

Add focused unit coverage for those runtime behaviours and CPAN distroprefs for dependency-only test blockers around Error, CGI, Test::MockObject, UNIVERSAL helpers, and Hook::LexWrap.

Generated with [Codex](https://openai.com/codex/)

Co-Authored-By: Codex <codex@openai.com>
@fglock fglock merged commit 59b661d into master May 29, 2026
2 checks passed
@fglock fglock deleted the fix/cpan-random-regressions-20260529 branch May 29, 2026 14:15
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