Updating Cody search index... hangs forever

Suddenly, Cody stopped working for a repository that worked well for 6 months.

Updating Cody search index for…

Hang here, version 1.72.0.
I have deleted the cache, reinstalled the extension, and reinstalled VS Code.
No success. Only with one repository, this happens.
Tried to reindex, and hangs forever

Hey @adaptive

Thank you for reporting.
What distinguishes this repository from the others?
Is it a local-only repo?

The repo in private on GitHub and local. I can’t find a difference; it is simple astro repo. It might be related to the Cody index in the Sourcegraph cloud, not syncing properly. I could totally wrong.

And you are Pro or Enterprise Starter user?

I am Pro user. It is strange the hanging. I could look for logs if you point me in the right direction (MacOs).

Ok. Please update Cody to the latest version.
This might be already fixed in the nightly rollout.

The logs in VS Code can be found in the Output Pane CMD + SHIFT + U and then switch to “Cody by Sourcegraph” or directly in Cody via

1 Like

@PriNova thanks for the guidance, this bug is from VS Code, that stalls Source Control Manager, which stalls Cody Index. Solution: clean any leftover of VSCode and reinstall. I will continue to monitor this.

May you please describe what leftovers need to be cleared?
This information will help for future debugging such issues.

Thank you for your feedback and that it finally works.

I have been on this for two weeks. Now, I believe it is not directly related to Cody.

I had Python Extension deactivated, and activating it fixed the problem.

Which extension does block the indexing?