Skip to content

Incorporate codeanalyzer-python v1.0.2 #277

Description

@rahlk

A new codeanalyzer-python release (v1.0.2) is published.
Update the codeanalyzer-python pin in this repo and adapt the
integration to the changes below (see PyCodeanalyzer._run_analyzer).

[1.0.2] - 2026-07-16

Fixed

  • Neo4j code property was silently null (Tests are failing upon migration to codeanalyzer 2.1+ #104): schema v2 removed the per-node code
    field (source lives once on PyModule.source, sliced by spans), but the Neo4j projection
    still read the old field — every :PyClass/:PyCallable node was written without code,
    deadening the py_code_fts fulltext index and the SDK's RETURN c.code queries. The
    projection now derives code at projection time by slicing the owning module's source
    with the node's utf-8 byte span. Regression gate:
    test_projected_code_property_is_the_module_source_span_slice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions