Skip to content

Indexing Broke after PR #3976 #3978

@adamhill

Description

@adamhill

App Version

PR #3976

API Provider

Anthropic

Model Used

Sonnet-4 & -Large Embedding model from OpenAI

🔁 Steps to Reproduce

Was testing out the previous version of CBI, probably 68b60a2 - add unsaved settings - maybe the one before - working fairly well


Then


Repro

  • Cleared Index Data in the CBI pane, saw that my data was gone in the dashboard (no collection),
  • Button reverted to "Start" but was still greyed out. Clicked Done. Went back into the CBI,
  • Start button was active again preseed it, brief flicker in the Indexing status area, said it was done.,
  • Looked at the Dashboard, I have a Collection but the point visualization only shows two points very far apart.,

I can rinse, repeat the Repro bit

  • Waiting for a while, doenst make any data show up (its not eventual consistency delay in Qdrant)
  • Smallish codebase, 3 page mobile app - C# / MAUI}
  • macOS - M3 MBP

See video for visuals

Edit:
TL;DR; The project I had testing with for a few weeks now refuses to index correctly in any previous PR's. Switching to another project makes indexing work correctly again.

I am back to the tip of main now.

So, somehow, something that connects / differentiates the local workspace with whatever the embedder needs to do (find the blocks) is malfunctioning.

If I switch to any other project, indexing proceeds properly, switch back to the problem child, it does not work - it only finds 3 blocks to process.

New project workspace survives, vsc re-debuggings, automatically starts indexing if I Clear Index, Stop Debugging and F5'ing once again.

Are there any lockfiles or any other settings that might be corrupted / missing or present to make the embedder only find 3 blocks to process, when it had been working fine?

Codebase.Indexing.Bug.-.Screen.Recording.2025-05-25.at.6.01.29.PM.mov

💥 Outcome Summary

  • Expected the Indexing to completely index the codebase. It did not, only two vectors seem to be in there.
  • Much different from the dozens of vectors clustered into 4-5 groups
    -The explicit prompt use codebase_indexing to tell me about my implementation of INotifyPropertyChanged now returns nothing, i previously found things and explained things correctly.

📄 Relevant Logs or Errors (Optional)

- Error'ish flicker'y status area when indexing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions