chore: remove redundant comments and clean up code comments#68
Draft
NikolayS wants to merge 1 commit into
Draft
Conversation
Comment-only cleanup; no logic or executable code touched. - Removed ~25 decorative banner comments (`# =====`, `// -----`) that added no information beyond what the adjacent `describe(...)` / `class Test...` / function signature already conveyed. - Removed ~6 stale "Issue N" / "TODO" task references in tests and scripts that belong in git history, not source. - Collapsed one verbose H001 banner block in reporter/postgres_reports.py into a focused 3-line note about where recommendations are computed. - Removed a handful of what-comments restating obvious code (e.g., "Skip if queryid is missing" above `if not queryid: continue`). https://claude.ai/code/session_01U4F5KjW5neeCYxkKUZawfS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comment-only cleanup across CLI, reporter, monitoring backend, tests, and quality scripts. No executable code, imports, signatures, or logic touched.
Categories cleaned up:
# =========,// ---------banners abovedescribe(...),class Test..., or function definitions where the construct itself already names the section. Hitcli/lib/{reports,checkup,issues}.ts,cli/bin/postgres-ai.ts,cli/test/{reports,reports.cli,init}.test.ts, plus several Python test files.reporter/postgres_reports.pyH001 banner reduced from 15 lines of decorative===framing to a focused 3-line note pointing at where recommendations are actually computed (CLI + UI).# Skip if queryid is missingdirectly aboveif not queryid: continuein the reporter.Diff: 14 files, +15 / -181.
Test plan
git diff origin/maincontains comment-only changes (no logic, no imports, no signatures)https://claude.ai/code/session_01U4F5KjW5neeCYxkKUZawfS
Generated by Claude Code