Skip to content

test: stabilize distributed IVF grouped build query test#6281

Merged
Xuanwo merged 1 commit intolance-format:mainfrom
myandpr:fix-distributed-ivf-query-stability
Mar 24, 2026
Merged

test: stabilize distributed IVF grouped build query test#6281
Xuanwo merged 1 commit intolance-format:mainfrom
myandpr:fix-distributed-ivf-query-stability

Conversation

@myandpr
Copy link
Copy Markdown
Contributor

@myandpr myandpr commented Mar 24, 2026

Follow-up to #6268.

This applies the same stabilization to the grouped distributed IVF query test in rust/lance/src/index/vector/ivf/v2.rs.

Like the earlier flaky test, it was asserting exact Top-K _rowid equality while still using the default probing behavior. This change sets minimum_nprobes(TWO_FRAG_NUM_PARTITIONS) before making that exact row-id comparison.

Recent related CI failure:
https://github.com/lance-format/lance/actions/runs/23499541618/job/68390439921?pr=6263

@github-actions github-actions Bot added the chore label Mar 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Review

LGTM. Minimal, correct fix — applies the same minimum_nprobes(TWO_FRAG_NUM_PARTITIONS) pattern from #6268 to the two remaining collect_row_ids call sites that were still using default probing. This makes the row-id equality assertions deterministic by ensuring exhaustive partition search.

No issues.

@myandpr myandpr changed the title test: follow up #6268 for another distributed IVF flaky test test: stabilize another distributed IVF flaky test Mar 24, 2026
@myandpr myandpr changed the title test: stabilize another distributed IVF flaky test test: stabilize distributed IVF grouped query results Mar 24, 2026
@myandpr myandpr changed the title test: stabilize distributed IVF grouped query results test: stabilize distributed IVF grouped build query test Mar 24, 2026
@myandpr
Copy link
Copy Markdown
Contributor Author

myandpr commented Mar 24, 2026

Hi @Xuanwo , could you take another look this PR when you have a chance?

This is a small follow-up to #6268. That CI failure also pointed to the same kind of flaky distributed IVF test behavior: https://github.com/lance-format/lance/actions/runs/23499541618/job/68390439921?pr=6263

Thanks!

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Xuanwo Xuanwo merged commit b678812 into lance-format:main Mar 24, 2026
42 checks passed
wjones127 pushed a commit to wjones127/lance that referenced this pull request Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants