Repository navigation
feat(golang): Go file detection and tree-sitter-go parsing (PR-01) - #520
Merged
Merged
Conversation
Add foundation for Go language support in Code Pathfinder: - Add isGoSourceFile() helper and extend getFiles() to collect .go files - Add directory skipping for vendor/, testdata/, node_modules/, .git/, _* dirs - Integrate tree-sitter-go language binding for AST parsing - Add isGoSourceFile flag in buildGraphFromAST and stub cases for all Go node types - Guard method_declaration case for Java/Go collision - Add isGoSourceFile field to Node struct - Add test fixture: simple Go project with multi-package layout - Add comprehensive tests for file detection, dir skipping, and initialization Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
Code Pathfinder Security ScanNo security issues detected.
Powered by Code Pathfinder |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #520 +/- ##
==========================================
+ Coverage 82.75% 82.78% +0.03%
==========================================
Files 122 122
Lines 14321 14345 +24
==========================================
+ Hits 11851 11876 +25
Misses 2021 2021
+ Partials 449 448 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Owner
Author
This was referenced Feb 15, 2026
Owner
Author
Merge activity
|
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
.gofile detection ingetFiles()andisGoSourceFile()utilityvendor/,testdata/,_*dirsTest plan
isGoSourceFile("main.go")returns true;isGoSourceFile("main.py")returns falsegetFiles()discovers all.gofiles in fixture projectgetFiles()excludesvendor/andtestdata/directoriesgraph.Initialize()completes without error on Go project.py+.goproject: Python parsing unaffectedgradle buildGocompiles without errorsgradle testGopasses all testsgradle lintGoreports zero lint findings🤖 Generated with Claude Code