[Bundle Size] Improve logging, remove verbose cli option#57
[Bundle Size] Improve logging, remove verbose cli option#57rameziophobia wants to merge 2 commits into
Conversation
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (7)
💤 Files with no reviewable changes (1)
WalkthroughThe changes remove the verbosity/quiet mode system from the Reporter class and refactor logging throughout the codebase. Reporter now always outputs (subject to colors option) without verbosity-based gating. Reporter integration is added to BaselineStorage with optional configuration, and CLI commands are updated to propagate reporter instances. Additional logging is introduced in BundleSizeChecker for operations like stats file reading and baseline comparisons. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
The tool doesn't do enough operations to justify 3 verbosity levels. All messages now always log so users can understand what's happening. - Remove VerbosityLevel type and verbose() from IReporter interface - Remove verbosity field and quiet-mode guards from Reporter - Remove --verbose/-v and --quiet/-q CLI options - Always log config file path - Change verbose() call for missing files to warning() - Update Reporter tests to remove verbosity-related cases https://claude.ai/code/session_01JvgQDy5Wy2GS253oj8biRs
BaselineStorage previously did all its work silently. Now it logs: - Main branch detection - Git fetch and merge-base results - S3 bucket/prefix being accessed - Number of commits being checked and which ones - Download/upload file counts and destinations - S3 object deletion during upload https://claude.ai/code/session_01JvgQDy5Wy2GS253oj8biRs
3eeb394 to
aab614b
Compare
Summary by CodeRabbit
Bug Fixes
Refactor