Skip to content

Roo indexes .next folder despite .rooignore file #4647

@enerage

Description

@enerage

App Version

3.20.1

API Provider

OpenAI

Model Used

Text Embedding 3 Small

🔁 Steps to Reproduce

  1. Open Roo one level above nextjs project
  2. Example: folder called "Root Folder" and inside we have/create "example-nextjs" project
  3. In "Root Folder" we can create .rooignore with the following line "example-nextjs/.next/" (even though, as per my understanding this should not even be necessary if the 'example-nextjs' project has .gitignore, which I also have)
  4. During development, or build/eventually .next is being indexed
  5. This can be seen on codesearch, photos attached

This happened with and without .rooignore file. When I created the .rooignore file I even recreated the docker qdrant instance yet eventually .next folder was picked up again

💥 Outcome Summary

Expected .next folder to be ignored and not indexed, I also think this is eating up a lot of tokens, however .next is being indexed, codebase search doesn't work well as it returns many results from the .next folder

Image
Image

📄 Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs ScopingValid, but needs effort estimate or design input before work can start.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions