Repository navigation
feat: Enable C language health coverage and format codebase - #2113
Merged
Merged
Conversation
krishna231122-del
requested review from
RaghavChamadiya and
swati510
as code owners
September 4, 2026 08:05
RaghavChamadiya
approved these changes
Sep 5, 2026
RaghavChamadiya
left a comment
Member
There was a problem hiding this comment.
Thanks @krishna231122-del. C files were scoring nothing on the health pass because LANGUAGE_NODE_MAPS had no c key, so the whole complexity signal was silently absent for a language we ingest. The map is additive and the node kinds check out against tree-sitter-c: case_statement, conditional_expression, do_statement and compound_statement are the right names, and leaving class_kinds/try_kinds empty rather than borrowing the C++ ones is correct.
One thing for next time: the title says "and format codebase" but the diff is only the language map, which is what I wanted. Please leave the title matching the change, and note this repo does not run formatters over the tree.
swati510
pushed a commit
that referenced
this pull request
Sep 5, 2026
…and an update that sizes itself (#2146) * release: v0.49.0 Bumps the four Python version constants, the two Claude plugin manifests, server.json (twice) and the uv.lock self-entry, and adds the 0.49.0 changelog section with its bundled copy resynced. HEALTH_ANALYZER_VERSION moves 8 to 9. #2113 gave C a complexity node map, so max_ccn and the maintainability index for every C file were previously computed against an empty node set and persisted that way. The stamp is what makes a C repo re-score on its next update instead of waiting out the decay timer. tests/unit/health/test_model_version_coupling.py pins the three stamps together, so its tuple moves in the same commit. STORE_FORMAT_VERSION stays at 2. PARSER_SCHEMA_VERSION already moved to 3 in #2136. * docs(readme): correct the AST language count in the foundations table The Graph row still said 19 AST-parsed languages while the ladder below it said 25. The ladder is right: Full (13) plus Good (10) plus Partial (2) are all tree-sitter parsed, and this cycle added five of them.
This was referenced Sep 7, 2026
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
LanguageNodeMap(_C) tolanguages.pybased on the C++ AST grammar.make fix(ruff format) globally to resolve formatting violations across 785 files.Related Issues
ROADMAP.mdTest Plan
pytest) - (Typecheck pre-existing errors remain, but core functionality tests pass viamake test-fast)ruff check .) - (Specificallymake fixandformat-checkpass)npm run build) (if frontend changes) - (N/A)Checklist