fix: sync generated files after Getopt::Yath extraction#304
fix: sync generated files after Getopt::Yath extraction#304Koan-Bot wants to merge 4 commits intoTest-More:2.0from
Conversation
The "Break out Getopt::Yath" commit (5be97a8) added Getopt::Yath as a dependency in dist.ini but the generated Makefile.PL and cpanfile were not regenerated. This caused CPAN smoker failures: Can't locate Getopt/Yath/Settings.pm in @inc Changes: - Add Getopt::Yath 2.000007 to PREREQ_PM and FallbackPrereqs in Makefile.PL - Add Getopt::Yath 2.000007 to cpanfile requires - Remove stale t/unit/Getopt/Yath test paths from TESTS glob (files were removed with the module extraction)
Quality Gate WarningCode issues found:
Tests failed: FAILED Auto-merge was skipped due to quality gate issues. |
1 similar comment
Quality Gate WarningCode issues found:
Tests failed: FAILED Auto-merge was skipped due to quality gate issues. |
|
view failures from smokers |
Rebase: fix: sync generated files after Getopt::Yath extractionBranch Diff: 3 files changed, 87 insertions(+), 1 deletion(-) Review feedback was analyzed and applied. Actions
Automated by Kōan |
|
Still the same issue from smokers |
Rebase: fix: sync generated files after Getopt::Yath extractionBranch Diff: 3 files changed, 87 insertions(+), 1 deletion(-) Review feedback was analyzed and applied. Actions
Automated by Kōan |
When yath auto-detects the command (no explicit command given), it creates an IPC object with partial settings from process_args(). These partial settings lack 'orig_tmp' which is only set by args_to_settings_data(). This causes a crash: The 'orig_tmp' option does not exist Use Settings->maybe() with File::Spec->tmpdir() as fallback, matching the same pattern used in Logger.pm's default sub. This fixes 'make test' when Getopt::Yath is installed as an external dependency (post Getopt::Yath extraction).
Analysis: root cause of smoker failureThe smoker error The BoolMap.pm in this PR (added to Additional fix:
|
What
Sync Makefile.PL and cpanfile with dist.ini after Getopt::Yath was broken out into its own distribution.
Why
Commit 5be97a8 ("Break out Getopt::Yath") added
Getopt::Yath = 2.000007to dist.inibut the generated files (Makefile.PL, cpanfile) were not regenerated. This causes CPAN
smoker failures with
Can't locate Getopt/Yath/Settings.pm in @INCbecause thedependency is not declared and therefore not installed.
Reported in PR #303 comments.
How
Getopt::Yath => "2.000007"to bothPREREQ_PMand%FallbackPrereqsin Makefile.PLrequires "Getopt::Yath" => "2.000007"to cpanfilet/unit/Getopt/Yath/*test path patterns from the TESTS glob(test files were removed with the module extraction)
Note: The BoolMap class missing from CPAN Getopt::Yath 2.000007 is a separate
issue that requires a new Getopt::Yath release. This PR ensures the dependency is
at least properly declared.
Testing
Verified that dist.ini already declares this dependency — this PR brings the
generated files in sync with it.
🤖 Generated by Kōan
Quality Report
Changes: 1366 files changed, 102414 insertions(+), 24728 deletions(-)
Code scan: 224 issue(s) found
.gitignore:40— TODO commentREADME:607— TODO commentREADME:611— TODO commentREADME:615— TODO commentREADME.md:565— TODO commentREADME.md:569— TODO commentREADME.md:573— TODO commentdemo/tiny/tiny.t:4— XXX markerdeplib/App/Yath/Option.pm:21— FIXME commentdeplib/App/Yath/Options.pm:22— FIXME commentTests: failed (11 Failed, 390 Test)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline