Skip to content

Ignoring rules from .rooignore #7368

@AlexBlack772

Description

@AlexBlack772

App Version

[3.25.23] - 2025-08-22

API Provider

Google Gemini

Model Used

gemini-2.5-flash

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

Make any request to LLM, for example, I made a request “what task does the current project solve?”

💥 Outcome Summary

When viewing the logs of requests to LLM, it can be seen that roo includes in the context a list of files from the directory with logs, which is blocked in .rooignore.

I excluded the data directory in .rooignore, but the data/logs/* files are still added to the list of files.

It is expected that if the user has excluded the directory, then it does not need to be processed in any way.

📄 Relevant Logs or Errors (Optional)

URL: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:streamGenerateContent?alt=sse
Status: 200

Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: *
Connection: keep-alive
Content-Length: 53967
Content-Type: application/json
Sec-Fetch-Mode: cors
User-Agent: google-genai-sdk/1.3.0 gl-node/v20.18.3
X-Goog-Api-Client: google-genai-sdk/1.3.0 gl-node/v20.18.3
X-Goog-Api-Key: 


{"contents":[{"parts":[{"text":"<task>what task does the current project solve?</task>"},
{"text":"<environment_details>
# VSCode Visible Files

# VSCode Open Tabs


# Current Time
Current time in ISO 8601 UTC format: XXXX
User time zone: XXXX/XXX, UTC+XXX:00

# Current Cost
$0.00

# Current Mode
<slug>code</slug>
<name>💻 Code</name>
<model>gemini-2.5-flash</model>


# Current Workspace Directory (/Users/XXXXX) Files
composer.json
composer.lock
.vscode/
🔒 data/logs/2025-08-22/1.json
🔒 data/logs/2025-08-22/2.json
🔒 data/logs/2025-08-22/3.json
🔒 data/logs/2025-08-22/4.json
🔒 data/logs/2025-08-22/5.json
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions