Track DBIx::Class acceptance for reachability PR #1647
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
调研方向
This is an umbrella tracker, not a single change. Start by reproducing the Storage object-collection failure in t/100extra_source.t from the DBIx::Class test suite, comparing system Perl with PerlOnJava. Trace which runtime-held references keep the blessed Storage object alive (refcount 131). Done means that test's two assertions pass and the fix has its own project regression test. Link the work to #1649.
由索引模型根据 Issue 内容生成。
描述
Purpose
Track DBIx::Class CPAN acceptance for the lifecycle work around PR #1647 and ownership semantics in #1649. Run DBIx::Class unchanged so failures expose PerlOnJava behavior directly.
Relationship to #1649 and PR #1647
The initial failures included premature cleanup of returned DBIx::Class references, which is part of the ownership and lifetime behavior described by #1649. The nested-query bind failure also exposed stale $#array proxies after a packed query passed through returned references. The runtime fix is in PerlOnJava; DBIx::Class does not need a compatibility patch.
PR #1647 remains the current independent reachability/lifecycle PR. Use the DBIx::Class acceptance results to identify remaining lifecycle regressions and link focused core fixes to #1649.
Plan
- Fix PerlOnJava ownership and array-size proxy behavior
- Preserve arrays strongly referenced by a subroutine return until the caller receives that value.
- Keep a fresh
$#arrayaccess valid when the array is reached through a live Perl reference, even if earlier scope cleanup orphaned old size proxies.
- Keep permanent regression coverage
- Validate the core returned-query range behavior with the unit suite and both backends.
- Validate grouped counts and nested
FROMbind values with upstream DBIx::Class, unchanged.
- Fix the remaining object-lifecycle regressions
- Reproduce the Storage object retention from
t/100extra_source.t; system Perl passes while PerlOnJava fails both object-collection assertions. - Trace which PerlOnJava-owned references keep that blessed Storage object reachable and correct their release/weak-reference handling in the runtime.
- Add focused project-owned coverage for the reproduced ownership defect.
- Reproduce the Storage object retention from
- Complete DBIx::Class acceptance
- Re-run the full
nice -n 19 ./jcpan --jobs 5 -t DBIx::Classsuite with a timeout and captured output after the runtime fix. - Triage every remaining failing test program against system Perl; separately diagnose the late SQLite test-lock collision seen in the parallel run.
- Re-run the full
- Update the handoff
- Report DBIx lifecycle acceptance separately from unrelated failures in PR #1647.
- Keep #1649 open until its broader ownership criteria are met.
Current evidence
- The focused grouped-count regression passes all eight assertions on system Perl, JVM, and interpreter with upstream DBIx::Class 0.082844 and no DBIx patch.
- The core returned-query range regression passes on system Perl, JVM, and interpreter.
nice -n 19 makeandmake check-linkspass with the current core changes.- The latest full run completed 325 test files / 43,363 tests: 183 test programs and 362 subtests failed. The earlier run had 184 failing programs / 447 failing subtests. These are PerlOnJava defects to fix, not acceptable compatibility failures.
- In a focused comparison, system Perl passes
t/100extra_source.t(11 assertions); PerlOnJava fails its two DBIx::Class Storage object-collection assertions. The object remains reported at refcount 131. - The parallel full run also ended with a SQLite test-lock collision in
xt/whitespace.t; establish whether that is runner coordination or an interpreter lock bug.
Completion criteria
- The focused regressions pass on system Perl, JVM, and interpreter.
- The Storage ownership defect is fixed in PerlOnJava with permanent regression coverage.
- The full DBIx::Class run completes and every remaining failure is categorized and addressed; lifecycle fixes are linked to #1649.
- PR #1647's DBIx lifecycle acceptance is recorded without treating any PerlOnJava defect as expected.
- 主要语言
- Perl
- 星标
- 64
- 派生
- 7
- 平均合并
- 5 小时 39 分钟
- 30 天内合并 PR
- 213
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fglock/PerlOnJava 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
fglock/PerlOnJava#1579 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
fglock/PerlOnJava#1835 ·
维护者通常 1 天内回复
-
area:cpan-port bug
难度 3/5 1-2 天 新手友好度 68/100
fglock/PerlOnJava#1820 ·
维护者通常 1 天内回复
-
难度 3/5 半天 新手友好度 45/100
fglock/PerlOnJava#1808 ·
维护者通常 1 天内回复
-
area:cpan-port area:runtime bug
难度 4/5 3-5 天 新手友好度 28/100
fglock/PerlOnJava#1802 · 2 条评论 ·
维护者通常 1 天内回复
查看 fglock/PerlOnJava 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 80/100
jimsalterjrs/sanoid#1116 · 1 个 reaction ·
-
Add .gitattributes so share/skel keeps LF on a Windows git checkout可能已有人在做 @sadhana-s-codez 于 2 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
PerlDancer/Dancer2#1854 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
major/MySQLTuner-perl#1007 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 88/100