Skip to content

[Bug]: .code-review-graphignore file in project root is not being respected #579

Description

@zahirjiva

code-review-graph version

2.2.1

Operating system

Linux

Python version

3.10.12

AI platform

other (describe in "Additional context")

Output of code-review-graph status

Antigravity

Steps to reproduce

  1. Create a file named .code-review-graphignore in the project root.
  2. Add patterns like:
    vendor/
    pub/static/
    var/
    generated/
    node_modules/
    *.min.js
  3. Run:
    rm -f .code-review-graph/graph.db
    code-review-graph build

Expected vs actual behavior

Expected Behavior

The tool should automatically read .code-review-graphignore from the current working directory (project root) and exclude matching files/directories, similar to .gitignore.

Additional context

. Tool still processes ~9400+ files instead of ignoring the listed directories.

Environment

  • OS: Linux
  • Project type: Magento 2 (large vendor/ and generated directories)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions