Bump tree-sitter-python from 0.23.6 to 0.25.0#7
Merged
carlos-alm merged 1 commit intomainfrom Feb 21, 2026
Merged
Conversation
Bumps [tree-sitter-python](https://github.com/tree-sitter/tree-sitter-python) from 0.23.6 to 0.25.0. - [Release notes](https://github.com/tree-sitter/tree-sitter-python/releases) - [Commits](tree-sitter/tree-sitter-python@v0.23.6...v0.25.0) --- updated-dependencies: - dependency-name: tree-sitter-python dependency-version: 0.25.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
carlos-alm
added a commit
that referenced
this pull request
Feb 22, 2026
…-python-0.25.0 Bump tree-sitter-python from 0.23.6 to 0.25.0
carlos-alm
pushed a commit
that referenced
this pull request
Feb 22, 2026
Analyze 21 code intelligence tools, rank codegraph #7/22, and establish 8 core principles (zero-infrastructure, dual engine, confidence scoring, incremental builds, embeddable-first, single registry, security defaults, scope boundaries).
6 tasks
2 tasks
carlos-alm
pushed a commit
that referenced
this pull request
Feb 23, 2026
Replace glimpse with GitNexus in the README feature comparison table and "How other tools compare" section. Add GitNexus as #7 (score 4.0) in COMPETITIVE_ANALYSIS.md with scoring breakdown and "vs GitNexus" analysis section. Renumber all subsequent entries.
3 tasks
carlos-alm
pushed a commit
that referenced
this pull request
Feb 24, 2026
Add readFileSafe helper that retries on transient OS errors (EBUSY/EACCES/EPERM) from editors performing non-atomic saves. Replace bare readFileSync calls in builder.js (3 sites) and watcher.js (1 site). Add symlink loop detection to collectFiles via realpathSync tracking of visited directories, preventing infinite recursion from circular symlinks. Update architecture.md sections #7, #15, and summary table to reflect these fixes. Impact: 5 functions changed, 5 affected
This was referenced Feb 24, 2026
3 tasks
3 tasks
carlos-alm
added a commit
that referenced
this pull request
Mar 30, 2026
Add 6 high-demand languages to both the TypeScript (WASM) and Rust (native) engines: C, C++, Kotlin, Swift, Scala, Bash. Each language gets: - TypeScript extractor (src/extractors/<lang>.ts) - Rust extractor (crates/codegraph-core/src/extractors/<lang>.rs) - LANGUAGE_REGISTRY entry + LanguageKind enum variant - Complexity rules (LangRules + HalsteadRules) - CFG rules (CfgRules) - AST config (LangAstConfig) - Parser tests (tests/parsers/<lang>.test.ts) Key grammar quirks handled: - Swift tree-sitter uses class_declaration for class/struct/enum - Kotlin tree-sitter uses class_declaration for class/interface - Scala import_declaration has alternating identifier/dot children 317/317 parser tests pass (272 existing + 45 new), zero regressions.
carlos-alm
added a commit
that referenced
this pull request
Mar 30, 2026
* refactor(native): extract generic walk_tree to eliminate walk_node_depth duplication The walk_node/walk_node_depth pattern was duplicated identically across all 9 language extractors (~190 lines of boilerplate). Each extractor repeated the same depth check, match dispatch, and child traversal loop — only the match arms differed. Add a generic `walk_tree<F>` function to helpers.rs that handles depth limiting and child recursion, accepting a closure for language-specific node matching. Refactor all 9 extractors and 7 type map walkers to use it. Zero-cost abstraction (monomorphized, no dyn dispatch). * feat: add C, C++, Kotlin, Swift, Scala, Bash language support (#7.2) Add 6 high-demand languages to both the TypeScript (WASM) and Rust (native) engines: C, C++, Kotlin, Swift, Scala, Bash. Each language gets: - TypeScript extractor (src/extractors/<lang>.ts) - Rust extractor (crates/codegraph-core/src/extractors/<lang>.rs) - LANGUAGE_REGISTRY entry + LanguageKind enum variant - Complexity rules (LangRules + HalsteadRules) - CFG rules (CfgRules) - AST config (LangAstConfig) - Parser tests (tests/parsers/<lang>.test.ts) Key grammar quirks handled: - Swift tree-sitter uses class_declaration for class/struct/enum - Kotlin tree-sitter uses class_declaration for class/interface - Scala import_declaration has alternating identifier/dot children 317/317 parser tests pass (272 existing + 45 new), zero regressions. * fix(native): remove local AST config shadowing in all new extractors (#708) Remove private const *_AST_CONFIG in c.rs, cpp.rs, kotlin.rs, swift.rs, scala.rs, bash.rs that shadowed the richer pub versions in helpers.rs. The cpp.rs shadow silently dropped co_await_expression and string prefixes. * fix(kotlin): align object_declaration kind to 'class' across engines (#708) Both TS and Rust extractors now emit kind: 'class' for Kotlin object declarations, matching Kotlin semantics (singletons are class-like). * fix(swift): distinguish extends vs implements in inheritance (#708) First inheritance_specifier is superclass (extends), subsequent ones are protocol conformances (implements), matching the Rust extractor behavior. Also remove unused isClass variable. * fix(scala,swift): use correct kind for top-level val/var/property (#708) Scala val_definition → 'constant', var_definition → 'variable'. Swift property_declaration: let → 'constant', var → 'variable'. Previously both emitted 'function' incorrectly. * fix(complexity): support multiple logical_node_types for Kotlin || (#708) Change LangRules.logical_node_type from &str to logical_node_types: &[&str] so Kotlin can match both conjunction_expression (&&) and disjunction_expression (||). Without this, OR branches were undercounted. * fix: apply biome formatting and import sort fixes (#708) * fix(native): use language() for tree-sitter-kotlin 0.3 API (#708) tree-sitter-kotlin 0.3.x exports language() function, not LANGUAGE const. * fix(ci): add .npmrc with legacy-peer-deps for tree-sitter conflicts (#708) The new tree-sitter grammar packages have conflicting peer dependency requirements (0.21 vs 0.25). legacy-peer-deps allows npm install to succeed in CI. * fix(native): bridge tree-sitter-kotlin 0.3 to tree-sitter 0.24 API (#708) tree-sitter-kotlin 0.3.x uses the old language() -> Language API from tree-sitter 0.20, incompatible with tree-sitter 0.24's LanguageFn. Declare the extern C function directly and wrap with LanguageFn::from_raw. * fix: resolve CI failures — SymbolKind types and Kotlin cross-platform linking (#708) - Add 'variable' and 'namespace' to SymbolKind type union - Use transmute instead of extern C redeclaration for tree-sitter-kotlin bridge to fix Windows linker failure (unresolved external symbol) - Fix kotlin.rs test to use LanguageKind::Kotlin.tree_sitter_language() * fix(ci): replace tree-sitter-kotlin with tree-sitter-kotlin-sg to fix duplicate symbol errors (#708) tree-sitter-kotlin 0.3 depends on tree-sitter 0.20, which bundles its own C runtime (ts_language_*, ts_lexer_*) that conflicts with tree-sitter 0.24's copy at link time on Linux/Windows. tree-sitter-kotlin-sg 0.4 uses tree-sitter-language (no bundled C runtime), eliminating the duplicate symbols. Same upstream grammar (fwcd/tree-sitter-kotlin) so all node types are identical. Also adds namespace and variable to DEFAULT_NODE_COLORS in colors.ts to satisfy the Record<AnyNodeKind, string> constraint after the SymbolKind expansion. * fix(parity): align Scala TS extractor kinds and inheritance with Rust engine (#708) - trait_definition kind: 'trait' -> 'interface' (matches Rust) - object_definition kind: 'module' -> 'class' (matches Rust) - Inheritance: use found_extends flag to distinguish extends vs implements - Skip function-local val/var in Scala and let/var in Swift extractors - Update test expectations accordingly * fix(ci): increase embedding regression test timeout to 240s (#708) The beforeAll hook was timing out at 120s on macOS CI runners due to slow model download. Doubled to 240s for headroom. * fix(ci): fallback to full rebuild when cached codegraph DB is malformed (#708) The impact workflow restores a cached .codegraph/ directory that can become corrupted. Added fallback: if incremental build fails, delete the cache and rebuild from scratch.
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.
Bumps tree-sitter-python from 0.23.6 to 0.25.0.
Release notes
Sourced from tree-sitter-python's releases.
Commits
293fdc00.25.034a91a2chore: generate8ad8a51ci: update failing filesa0b84edtest: update tests1b1ca93fix: give a higher lexical precedence to the*inexcept*a4c106ffeat: allow multiple exception expressions without parenthesis29e3bc2refactor!: simplify exceptionsd8f9e69feat: add PEP 750 template string support7ff26dafeat: simplify try statement by accepting missing else/except/finally blocksafdba00build: update bindingsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)