Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Dist::Zilla::Plugin::TrialVersionComment fails and times out

オープン
#1,508 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
perl
領域
tooling

調査の方向性

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 の本文から書いたものです。

説明

area:backend area:cpan-port bug

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 = '; # TRIAL
    

    The 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::TrialVersionComment test suite.
主要言語
Perl
スター
64
フォーク
6
平均マージ
5時間 38分
マージ済み PR(30日)
170

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fglock/PerlOnJava のほかの issue

fglock/PerlOnJava の issue をすべて見る

似ている issue

Perl の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。