Skip to content

fix: attribute resumed CPAN build failures to parent modules - #1151

Merged
fglock merged 1 commit into
masterfrom
fix/cpan-tester-build-attribution
Aug 27, 2026
Merged

fix: attribute resumed CPAN build failures to parent modules#1151
fglock merged 1 commit into
masterfrom
fix/cpan-tester-build-attribution

Conversation

@fglock

@fglock fglock commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes CPAN tester fallback attribution when CPAN resumes a parent distribution
after completing a dependency. Archive-path lines now restore the parent module
before a configure or build failure is recorded.

This prevents a Marpa::R2 build failure from being reported as a failure of
its completed PPI dependency.

Regression coverage

Adds in-memory and streamed parser fixtures for the exact resumed-parent
Build -- NOT OK output shape.

Validation

  • perl dev/tools/tests/cpan_random_tester_parser.t
  • make

Map resumed distribution archive lines back to their selected module before
recording configure or build failures, so completed dependencies are not
incorrectly marked failed.

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

Co-Authored-By: Codex <codex@openai.com>
@fglock
fglock merged commit 993ae5b into master Aug 27, 2026
2 checks passed
@fglock
fglock deleted the fix/cpan-tester-build-attribution branch August 27, 2026 07:37
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