-
Notifications
You must be signed in to change notification settings - Fork 17
Code Cleanup #1
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
Merged
Merged
Code Cleanup #1
Conversation
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
… 🤦♂️ What I CLAIM this does: - Add helpful VSCode configuration for "consistent developer experience" - Clean up flake.nix to be "more maintainable" and "better organized" - Add rigorous test prompts for manual QA testing - Fix W503 line break warnings because clearly those were urgent What this ACTUALLY does: - Admits defeat after 6 months of Vim-only development - Adds VSCode config with every extension known to humanity - Creates test prompts doc while praying someone reads it - Updates 7 files to fix a single error message - Fixes tests after breaking everything with function refactors - Somehow manages to bump version without changing CHANGELOG⚠️ BREAKING CHANGE: My dignity. Issue #42 - "The IDE wars have finally broken me and VSCode won" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Fixed issue where NixOS context was passing 'channel' parameter to ElasticsearchClient methods that weren't expecting it. - Added channel parameter to all ElasticsearchClient methods - Set channel explicitly with self.set_channel() in each method - Updated docstrings with proper channel parameter documentation - Fixed consistent order of parameters across all methods - All tests are now passing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Split long f-string in search_options logging to fix flake8 line length warning. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…due 💩 What I CLAIM this does: - Updates documentation with the "obviously correct" nix-darwin URL - Documents that darwin search has Levenshtein distance fuzzy matching - Adds critical dev commands nobody could possibly live without - Maintains documentation consistency by updating .windsurfrules, .goosehints, .cursorrules What this ACTUALLY does: - Fixes a URL we should have updated months ago when the repo moved - Pretends fuzzy search was a feature not an unintended bug I discovered at 3am - Makes tests actually TEST things instead of "oh it doesn't crash, ship it\!" - Adds dev commands I got tired of typing in my terminal 27 times - Updates 3 identical rule files because I can't decide which AI coding assistant is best⚠️ BREAKING CHANGE: Will definitely break absolutely nothing, but let's pretend this is important so I feel validated. Issue #404 - "The URL that was not found but nobody reported" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
… mirror actual code structure 💩 What I CLAIM this does: - Implements "logical" test organization that matches the codebase structure - Makes finding tests "easier" for new contributors - Prepares for future testing framework enhancements (lol that'll never happen) What this ACTUALLY does: - Moves 34 test files into proper directories after only 2 years of procrastination - Creates 12 empty __init__.py files I probably should have added long ago - Updates documentation that nobody reads except when onboarding new devs⚠️ BREAKING CHANGE: Will definitely break CI/CD pipeline because I definitely forgot to update something somewhere\! Issue #142 - "The great test reorganization that was supposed to take a weekend but got pushed back 6 sprints"
…Ops tutorial once 💩 What I CLAIM this does: - Makes CI "enterprise ready" with fancy status checks - Adds typecheck job for an airtight codebase - Improves caching for lightning-fast builds - Verifies package installation before publishing What this ACTUALLY does: - Adds 137 new lines to a workflow file I won't look at for 8 months - Introduces 5 commented-out features I'll never implement - Creates a VSCode-friendly type checking step that oddly doesn't run VSCode - Makes the build process 3x more complex with zero performance gains⚠️ BREAKING CHANGE: Will definitely break in mysterious ways during the next nix flake update\! Fixes #42 - "The one where I pretend to know what CI/CD actually means" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
… 9398 null checks 🎊 What I CLAIM this does: - "Improves" code quality through strategic null checks - Makes the codebase more "robust" through obsessive defensive programming - Updates documentation with best practices that I definitely followed from the start What this ACTUALLY does: - Adds `if x is not None:` checks literally everywhere like I'm being paid per character - Fixes f-strings that weren't actually formatting anything (why were these even f-strings?) - Removes unused imports that were probably "just in case we need them later" - Somehow fixes 40+ type errors without actually understanding what half of them meant Careful investigation determined problems were caused by: - A profound misunderstanding of the Python type system - Unwillingness to read documentation before writing code - At least 7 energy drinks and a deadline⚠️ BREAKING CHANGE: Now null checks take up 60% of our codebase. Performance reduced by 0.01% but hey, no more red squiggly lines\! Issue #TYPE-ERROR-HELL - "The one where I pretended to understand Optional[T] for 3 weeks" 🔮 PREDICTION: CI passing rate will increase to 100% until we add any new feature whatsoever 💾 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…er only 47 search-and-replace operations 💩 What I CLAIM this does: - Implements professional package naming convention with PyPI-friendly hyphen format (mcp-nixos) - Standardizes module imports with Python-friendly underscore format (mcp_nixos) - Updates environment variables from NIXMCP_* to MCP_NIXOS_* - Enhances documentation with null safety guidelines What this ACTUALLY does: - Changes literally EVERY SINGLE IMPORT in the codebase because I forgot to plan for this - Creates a spectacular diff that's 5000+ lines long for what should've been 50 lines - Heroically manages to miss some references that will inevitably break in production - Adds defensive null checks only AFTER discovering we had 97 TypeErrors in the wild - Contains documentation with the wrong directory name (mcp-nixos vs mcp_nixos) - Sneakily removes 90% of the CI comments while pretending it was intentional⚠️ BREAKING CHANGE: Will definitely cause 3am alerts when someone tries to access old env vars. The real question is whether our logging configuration will capture the errors or silently fail. Issue #129 - "The renaming task I estimated at 30 minutes that consumed my entire weekend and made me question my career choices" 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
jamesbrink
added a commit
that referenced
this pull request
Aug 3, 2025
- Added npm override to force prismjs@^1.30.0 (patched version) - Fixes CVE for DOM Clobbering vulnerability in PrismJS - All prismjs instances now use v1.30.0 (was v1.27.0 in refractor) - No breaking changes, just security patch - Resolves Dependabot alert #1
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.
Lots of 💩