Skip to content

Roo code reindex my large codebase everytime I open my repoΒ #7408

@stathamos

Description

@stathamos

App Version

3.25.23

API Provider

LM Studio

Model Used

Qwen3-Coder-A3B-6bits

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

πŸ” Steps to Reproduce

  • Make sure a vector database is properly configured and running in Docker (confirmed working).
  • Index a large codebase (takes about 3 hours).
  • Shut down the computer after indexing is completed.
  • Restart the computer the next day and reopen VSCode.

βœ… Expected Behavior

  • The already indexed codebase should be reused without requiring a full reindex.
  • Only modified files should trigger partial reindexing.
  • The existing vector database should store and reload the index across sessions.

❌ Actual Behavior

πŸ“¦ Environment

  • OS: macOS Sequoia
  • Editor: VSCode
  • Vector DB: running in Docker, properly configured and confirmed working
  • Settings: Default

πŸ’₯ Outcome Summary

  • After restarting the computer, the extension starts a full reindex of the entire codebase, even if no changes were made.
  • The configured vector database is up and running in Docker, but the extension does not seem to reuse the stored index.
  • On large projects, this makes the feature almost unusable due to the very long indexing time.
  • The issue only happens after a full reboot β€” not immediately after indexing.
  • Suggests that the index/cache is not being persisted or retrieved correctly from the vector database.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions