Skip to content

Neo4j :Artifact node has no source and other key fields that the JSON has #81

Done

Description

@rahlk

Describe the bug
--emit neo4j writes only id, path and format on :Artifact. The JSON has more facts for the same artifact: roles, size_bytes, sha256, extraction and, with --artifact-text, source. The graph does not have them.

:Artifact is a shared, un-prefixed node. codeanalyzer-python and codeanalyzer-typescript write all of these properties on it but codeanalyzer-go does not.

To Reproduce
Steps to reproduce the behavior:

  1. Run cango -i . -o out --emit neo4j --artifact-text.
  2. Look at the :Artifact row in out/graph.cypher.

Expected behavior
The :Artifact row has the same properties as the JSON artifact: path, format, roles, size_bytes, sha256, extraction, and source when --artifact-text is set. Empty values are left out, as in the Python projector (prune).

Logs
N/A

Additional context

Activity

  1. added
    bug
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions