Skip to content

Ignoring files not working #111

Open

Description

@kawpii

I'm trying to exclude certain files, directories but it is not filtering things out.

*_test.go
**/ports/mocks/**

Activity

  1. changed the title [-]Allow ignoring certain paths and files[/-] [+]Ignoring files not working[/+] on Nov 11, 2026
  2. braedonsaunders commented on Nov 11, 2026

    @braedonsaunders
    Owner

    Thanks for the report. Both patterns match in a quick test of the matcher (internal/foo/bar_test.go and internal/ports/mocks/x.go are excluded), so the problem is probably in how the patterns get applied.

    A few details would help narrow it down:

    • How are you loading the code: GitHub URL, local folder picker, watched folder, or the CLI?
    • Did you hit analyze again after saving the patterns, or were the files still in a graph that was already loaded?
    • Roughly how many _test.go / mocks files still show up, and do any of them have the exact path you can paste here?

    I'll dig in once I know which path it is.

  3. kawpii commented on Nov 11, 2026

    @kawpii
    Author
    • How are you loading the code: GitHub URL, local folder picker, watched folder, or the CLI?

    Local pickup

    • Did you hit analyze again after saving the patterns, or were the files still in a graph that was already loaded?

    Yes

    • Roughly how many _test.go / mocks files still show up, and do any of them have the exact path you can paste here?

    All test files

    Given below is my exlude globs and result in screenshots

    Screenshot From 2026-11-11 13-05-31 Screenshot From 2026-11-11 12-59-07 Screenshot From 2026-11-11 13-06-31
  4. kawpii commented on Nov 11, 2026

    @kawpii
    Author

    BTW this is an useful tool, tool I have tried, do not support interactivity, generated graphs are hard to read.

  5. braedonsaunders commented on Nov 11, 2026

    @braedonsaunders
    Owner

    Thanks, the screenshots help, and glad it's useful.

    One more thing: which browser are you on? Open Folder takes a different path in Chrome/Edge (directory picker) than in Firefox (file input), so that tells me which one to chase. If you're on Chrome, a quick try in Firefox (or the reverse) would also show whether it's specific to one of them.

  6. kawpii commented on Nov 14, 2026

    @kawpii
    Author

    @braedonsaunders I was using Brave which is chromium based. Tried Firefox as you said but the result is the same.

  7. braedonsaunders commented on Nov 14, 2026

    @braedonsaunders
    Owner

    Thanks for trying Firefox, that rules out the browser. Your three patterns do match those paths when I run the matcher by itself (customer_test.go and the ports/mocks folders both come back excluded), so the leak is somewhere between the folder scan and the graph. I'm tracing that path now and will post here when there's something to try.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions