Skip to content

The tool's own output is captured as an artifact when -i and -o use different symlinked paths #74

Done

Description

@rahlk

Describe the bug

The output-file exclusion compares filepath.Abs paths. It does not resolve symlinks. When -i and -o reach the same directory through different paths, the previous run's analysis.json or graph.cypher becomes an artifact.

To Reproduce

  1. On macOS, run cango -i /tmp/proj -o /private/tmp/proj two times.
  2. Look at application.artifacts in the second output.

Expected behavior

The tool's own output files are never artifacts.

Logs

The previous analysis.json is an artifact. With --artifact-text, its full content is embedded in the next analysis.json, so the output grows on every run.

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