Dist::Zilla release archive disappears before release plugins consume it
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 58/100
Direção de pesquisa
Start by running prove -v t/plugins/testrelease.t t/plugins/uploadtocpan.t t/tester.t under PerlOnJava and compare the archive lifecycle with standard Perl. Trace the release entry point and the consumers named in those tests, especially the tester's source archive path. Done means the archive remains available through TestRelease and UploadToCPAN, and all three focused tests pass.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
PerlOnJava loses a Dist::Zilla release archive before release plugins can consume it. The same missing archive causes three otherwise independent upstream tests to fail:
t/plugins/testrelease.tcannot extractDZT-Sample-0.001.tar.gzduringTestRelease.t/plugins/uploadtocpan.tnever reportsUploading ... DZT-Sample, because its fake uploader sees that the archive path is not a file.t/tester.tdies before producing a TAP plan whenArchive::Tar->newis given the absent archive.
The error from TestRelease is Could not open ... DZT-Sample-0.001.tar.gz for reading: No such file or directory.
Oracle and impact
CPAN random run 20260924-115230-59978 tested Dist::Zilla 6.039. The unmodified upstream suite passes under isolated standard Perl 5.42.2: 57 files and 504 tests, Result: PASS.
Under the PerlOnJava JVM backend, the acceptance run fails 38 of 531 subtests across 5 files. This archive-lifecycle cluster accounts for the failures in the three files above. Dist::Zilla is pure Perl, so native/XS support is not involved.
Focused reproducer
With Dist::Zilla's normal test prerequisites installed, run the upstream focused tests without modification:
prove -v t/plugins/testrelease.t t/plugins/uploadtocpan.t t/tester.t
Standard Perl passes all three. PerlOnJava fails them after release because the archive expected at the tester's source path is gone.
The essence of the upstream t/tester.t reproducer is:
use Test::DZil;
use Archive::Tar;
my $tzil = Builder->from_config(
{ dist_root => 'corpus/dist/DZT' },
{ add_files => {
'source/zero' => '',
'source/dist.ini' => simple_ini({ name => 'DZT' }, 'GatherDir', 'MakeMaker', 'FakeRelease'),
} },
);
$tzil->release;
my $archive = $tzil->built_in->parent->child('source')->child($tzil->archive_filename);
die "archive missing: $archive\n" unless -f $archive;
Archive::Tar->new("$archive");
Expected behavior
The archive produced by release must remain present until the TestRelease and UploadToCPAN consumers have processed it, matching standard Perl and Dist::Zilla's upstream lifecycle.
Duplicate search
No existing issue matched Dist::Zilla archive handling, DZT-Sample, TestRelease, or UploadToCPAN at filing time. Issue #1508 concerns the already-fixed TrialVersionComment plugin and is unrelated.
- Linguagem predominante
- Perl
- Estrelas
- 64
- Forks
- 6
- Merge médio
- 5h
- PRs com merge (30d)
- 161
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
area:cpan-port area:unicode bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
fglock/PerlOnJava#1341 ·
Mantenedores costumam responder em até 2 dias
-
area:backend area:cpan-port bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
fglock/PerlOnJava#1548 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
fglock/PerlOnJava#1541 ·
Mantenedores costumam responder em até 2 dias
-
area:backend area:cpan-port area:parser area:runtime bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 78/100
fglock/PerlOnJava#1528 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 74/100
fglock/PerlOnJava#1524 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
openfoodfacts/openfoodfacts-server#14749 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 90/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
rubocop/ruby-style-guide#982 ·
-
bug question
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
RotherOSS/otobo#6172 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100