Dist::Zilla::Plugin::TrialVersionComment fails and times out
まだ誰も着手していません。
評価
調査の方向性
The issue is in Dist::Zilla::Plugin::TrialVersionComment's integration with PPI under PerlOnJava. Start by examining the plugin's source, particularly the transformation of version assignments. Reproduce the failure using the CPAN test run details. Focus on object lifecycle and refcount issues noted in the repository's PPI support documentation. Create a minimal test case that isolates the problem without modifying upstream tests.
索引モデルが issue の本文から書いたものです。
説明
Summary
Dist::Zilla::Plugin::TrialVersionComment-0.007 fails under PerlOnJava in
the CPAN compatibility run.
Evidence
-
CPAN run:
20260924-085657-82687 -
Failing test:
t/01-basic.t -
System Perl oracle: all 15 test files passed, 30 tests total.
-
PerlOnJava: the test command exceeded the 300-second runtime limit.
-
Before the timeout, the plugin produced:
our $VERSION = '; # TRIALThe expected output preserves the version literal:
our $VERSION = '0.001'; # TRIAL
The minimal standalone PPI parse/mutate/serialize operation reproduces the
expected output under PerlOnJava, so this appears to require the
Dist::Zilla/PPI integration path rather than being a generic PPI round-trip
failure.
Investigation notes
The repository's PPI support notes already identify unresolved PerlOnJava
object-lifecycle/refcount/DESTROY problems that may explain both the
corrupted transformed content and the long-running test process. This issue
should be reduced to a project-owned minimal reproducer before implementing a
fix; do not change the upstream test.
Acceptance criteria
- Identify the root cause in the Dist::Zilla/PPI integration or PerlOnJava
runtime. - Add a permanent focused regression test that passes under system Perl and
both PerlOnJava backends where applicable. - Make the plugin's version assignment transformation preserve the original
version literal and complete within normal test time. - Re-run the full
Dist::Zilla::Plugin::TrialVersionCommenttest suite.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 6
- 平均マージ
- 5時間 38分
- マージ済み PR(30日)
- 170
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
area:cpan-port area:unicode bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
fglock/PerlOnJava#1341 ·
-
area:backend area:runtime bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fglock/PerlOnJava#1511 ·
-
area:cpan-port area:platform enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
fglock/PerlOnJava#1507 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fglock/PerlOnJava#1506 ·
-
bug enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fglock/PerlOnJava#1502 ·
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
documentation Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trizen/youtube-viewer#456 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
connectivity オープン
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
Common US ingredient names are not recognized, so about 12.4k US products miss an allergen warning オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openfoodfacts/openfoodfacts-server#14657 · コメント 4 件 ·