Skip to content

Conversation

scohen
Copy link
Contributor

@scohen scohen commented Mar 4, 2025

A colleague found a fun edge case. He added three new empty files to a project, and Expert wouldn't start. This is because of a divide by zero error when there are no bytes to index, which causes progress updates to fail (indexing completed successfully).

This fix checks for this condition and no-ops if there's nothing to index.

A colleague found a fun edge case. He added three new empty files to a
project, and Expert wouldn't start. This is because of a divide by
zero error when there are no bytes to index, which causes progress
updates to fail (indexing completed successfully).

This fix checks for this condition and no-ops if there's nothing to index.
@scohen scohen requested a review from lukaszsamson March 4, 2025 22:56
@scohen scohen merged commit 9627e4f into main Mar 12, 2025
0 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants