Skip to content

Remove redundant delete utility tests from diskann-providers#958

Merged
JordanMaples merged 8 commits intomainfrom
jordanmaples/remove_redundant_tests
Apr 22, 2026
Merged

Remove redundant delete utility tests from diskann-providers#958
JordanMaples merged 8 commits intomainfrom
jordanmaples/remove_redundant_tests

Conversation

@JordanMaples
Copy link
Copy Markdown
Contributor

@JordanMaples JordanMaples commented Apr 17, 2026

These tests are now covered by equivalent tests in diskann added in #953:

  • test_return_refs_to_deleted_vertex
  • test_is_any_neighbor_deleted
  • test_drop_deleted_neighbors
  • test_get_undeleted_neighbors

Also removes the setup_inplace_delete_test helper and unused PartitionedNeighbors import.

Part of #927.

These tests are now covered by equivalent tests in diskann added in #953:
- test_return_refs_to_deleted_vertex
- test_is_any_neighbor_deleted
- test_drop_deleted_neighbors
- test_get_undeleted_neighbors

Also removes the setup_inplace_delete_test helper and unused
PartitionedNeighbors import.

Part of #927.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.44%. Comparing base (e247bfd) to head (ca4b717).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #958      +/-   ##
==========================================
- Coverage   89.47%   89.44%   -0.03%     
==========================================
  Files         449      449              
  Lines       84038    83779     -259     
==========================================
- Hits        75191    74935     -256     
+ Misses       8847     8844       -3     
Flag Coverage Δ
miri 89.44% <ø> (-0.03%) ⬇️
unittests 89.28% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
diskann-providers/src/index/diskann_async.rs 95.97% <ø> (-0.46%) ⬇️

... and 1 file with indirect coverage changes

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

@JordanMaples JordanMaples marked this pull request as ready for review April 22, 2026 18:09
@JordanMaples JordanMaples requested review from a team and Copilot April 22, 2026 18:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a set of deletion-related utility tests from diskann-providers that are intended to be redundant with equivalent coverage being added to diskann (via #953), and cleans up related helper/import usage.

Changes:

  • Removed redundant deletion utility tests (test_return_refs_to_deleted_vertex, test_is_any_neighbor_deleted, test_drop_deleted_neighbors, test_get_undeleted_neighbors) from diskann-providers.
  • Removed the setup_inplace_delete_test helper function used only by the deleted tests.
  • Dropped an unused PartitionedNeighbors import from the test module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread diskann-providers/src/index/diskann_async.rs
@JordanMaples JordanMaples merged commit 8126b0f into main Apr 22, 2026
27 checks passed
@JordanMaples JordanMaples deleted the jordanmaples/remove_redundant_tests branch April 22, 2026 18:33
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.

6 participants