Skip to content

Conversation

@lightninglu10
Copy link
Contributor

Summary

Follow-up to #41 - removes additional verbose logging that was still cluttering build output.

Additional Logs Removed

Build-time logs:

  • [CodePress] Found aliases: ... - verbose alias list
  • [CodePress DEBUG] Collected recharts export: ... - debug logs
  • [CodePress] Found N npm packages with tracked exports
  • [CodePress] package: N exports tracked - per-package spam
  • [CodePress] Looking for main bundle among N JS assets
  • [CodePress] JS assets: ... - full asset list
  • [CodePress] Found main bundle: ...
  • [CodePress] Found alternative main bundle: ...
  • [CodePress] Successfully injected module map into ...

Browser console:

  • [CodePress] Loaded module map with N entries

What's Kept

  • All console.warn for actual error cases
  • Debug tracing via CODEPRESS_DEBUG_EXPORTS=1 env var (opt-in)

Test plan

  • pnpm run build passes
  • pnpm test passes (104 tests)

🤖 Generated with Claude Code

Additional logs removed:
- [CodePress] Found aliases: ... (verbose alias list)
- [CodePress DEBUG] Collected recharts export: ... (debug)
- [CodePress] Found N npm packages with tracked exports
- [CodePress]   package: N exports tracked (per-package spam)
- [CodePress] Looking for main bundle among N JS assets
- [CodePress] JS assets: ... (asset list)
- [CodePress] Found main bundle: ...
- [CodePress] Found alternative main bundle: ...
- [CodePress] Successfully injected module map into ...
- Browser console: [CodePress] Loaded module map with N entries

Kept only essential warnings for error cases.
Debug tracing still available via CODEPRESS_DEBUG_EXPORTS=1.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@lightninglu10 lightninglu10 self-assigned this Dec 1, 2025
@lightninglu10 lightninglu10 merged commit 3c11913 into main Dec 1, 2025
8 checks passed
@lightninglu10 lightninglu10 deleted the fix/remove-debug-logging branch December 1, 2025 01:55
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❇️ CodePress Review Summary

👋 Hey team,

Overall the changes look great! No specific issues found.

Here's the quick rundown:

✅ Decision: APPROVE
The changes are log removals and a benign loop refactor with no clear functional regression. Observability is reduced but not a blocker; no correctness, security, or performance risks identified.

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.

2 participants