-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Clean up verbose logging for better CLI output (PR-03) #475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #475 +/- ##
=======================================
Coverage 79.97% 79.97%
=======================================
Files 101 101
Lines 11114 11114
=======================================
Hits 8888 8888
Misses 1874 1874
Partials 352 352 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
Implements Phase 1 - Step 3 (Final) of CLI Output Enhancement by moving granular logging to debug level, allowing progress bars to provide visual feedback instead. Modified files: - graph/callgraph/builder/builder.go: Move 5 function-level Progress() calls to Debug() - Extracting return types from modules - Extracting variable assignments - Extracting class attributes - Resolving call sites - Generating taint summaries - cmd/scan.go: Update --verbose and --debug flag descriptions - cmd/ci.go: Update --verbose and --debug flag descriptions Flag description changes: - --verbose: "Show progress and statistics" → "Show statistics and timing information" - --debug: "Show debug diagnostics with timestamps" → "Show detailed debug diagnostics with file-level progress and timestamps" Rationale: - With progress bars from PR-02, function-level logging is too granular for verbose mode - Progress bars now show visual feedback: "Building callgraph", "Executing rules" - Debug mode still shows all detailed function-by-function progress - Users get cleaner output in default and verbose modes - Debug mode provides comprehensive troubleshooting information This completes the 3-phase CLI Output Enhancement: - PR-01: Banner system and TTY detection - PR-02: Progress bars for major operations - PR-03: Logging level cleanup (this PR) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
9f28f72 to
950b150
Compare

Summary
Reorganizes logging levels to reduce noise and improve signal-to-noise ratio. Moves function-level progress messages to debug level and clarifies flag descriptions.
Why this change?
Changes
Behavior Changes
Before:
After:
Testing
Stack
🤖 Generated with Claude Code