Skip to content

Ignore LWP::ConsoleLogger::Everywhere by default - #204

Merged
oalders merged 1 commit into
mainfrom
fix-195
Oct 7, 2026
Merged

oalders merged 1 commit into
mainfrom
fix-195

Conversation

@oalders

@oalders oalders commented Oct 7, 2026

Copy link
Copy Markdown
Member

Closes #195

Changes

  • Add LWP::ConsoleLogger::Everywhere to %default_ignore in lib/App/perlimports/Document.pm. The module is loaded only for its import-time side effect (logging every LWP::UserAgent / HTTP::Tiny request) and exports nothing, so perlimports was removing use LWP::ConsoleLogger::Everywhere (); and silently disabling the logging.
  • Add a Changes entry.

Testing

  • Reproduced with perlimports --no-preserve-unused: on main the use line is stripped; on this branch it is kept.
  • prove -lr -j2 t: all tests pass (98 files, 333 tests).
  • perltidy and perlimports lint pass on the changed file.
  • No dedicated test, by maintainer decision not to add a test for each new default ignore.

🤖 Generated with Claude Code · Opus 5.5

LWP::ConsoleLogger::Everywhere is loaded only for its import-time side
effect of logging every LWP::UserAgent and HTTP::Tiny request. It
exports nothing, so perlimports removed the use statement and silently
disabled the logging. Add it to the default ignore list.

Closes #195

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.71%. Comparing base (db0baf4) to head (19e75b6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #204   +/-   ##
=======================================
  Coverage   88.71%   88.71%           
=======================================
  Files          10       10           
  Lines        1134     1134           
  Branches      271      271           
=======================================
  Hits         1006     1006           
  Misses         73       73           
  Partials       55       55           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oalders
oalders merged commit 16f6ab0 into main Oct 7, 2026
25 checks passed
@oalders
oalders deleted the fix-195 branch October 7, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add LWP::ConsoleLogger::Everywhere to the default ignore list

1 participant