Skip to content

Conversation

mavaylon1
Copy link
Contributor

@mavaylon1 mavaylon1 commented Jul 20, 2025

Motivation

#1249

How to test the behavior?

Show how to reproduce the new behavior (can be a bug fix or a new feature)

Checklist

  • Did you update CHANGELOG.md with your changes?
  • Does the PR clearly describe the problem and the solution?
  • Have you reviewed our Contributing Guide?
  • Does the PR use "Fix #XXX" notation to tell GitHub to close the relevant issue numbered XXX when the PR is merged?

Copy link

codecov bot commented Jul 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.62%. Comparing base (886bf4a) to head (2b13501).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1293      +/-   ##
==========================================
- Coverage   91.62%   91.62%   -0.01%     
==========================================
  Files          42       42              
  Lines        9684     9678       -6     
  Branches     1963     1962       -1     
==========================================
- Hits         8873     8867       -6     
  Misses        523      523              
  Partials      288      288              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mavaylon1
Copy link
Contributor Author

Review Notes: This should be ready to go, but possible coverage may need an extra test to get it covered 100%

@rly rly marked this pull request as ready for review October 4, 2025 06:18
@rly rly changed the title Edge case for Vector Index Fix incorrect test and clean up edge case for Vector Index Oct 4, 2025
columns=[VectorData(name='p1', description='p1', data=np.arange(3)), dtr_p1, vi_dtr_p1])
# Super-parent table
dtr_sp = DynamicTableRegion(name='sl1', description='sl1', data=np.arange(4), table=p1)
dtr_sp = DynamicTableRegion(name='sl1', description='sl1', data=np.arange(3), table=p1)
Copy link
Contributor

Choose a reason for hiding this comment

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

The previous data range was invalid because the target table only has 3 rows. This was causing an IndexError in VectorIndex.get.

Copy link
Contributor

Choose a reason for hiding this comment

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

@oruebel since you set up this test originally, please confirm that I am not missing something

@rly rly requested a review from oruebel October 4, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants