Skip to content

Add missing visibility controls in IVF SQ#2141

Merged
jameslamb merged 1 commit into
rapidsai:release/26.06from
divyegala:ivf-sq-visibility
May 29, 2026
Merged

Add missing visibility controls in IVF SQ#2141
jameslamb merged 1 commit into
rapidsai:release/26.06from
divyegala:ivf-sq-visibility

Conversation

@divyegala
Copy link
Copy Markdown
Member

No description provided.

@divyegala divyegala self-assigned this May 28, 2026
@divyegala divyegala requested review from a team as code owners May 28, 2026 20:14
@divyegala divyegala added bug Something isn't working non-breaking Introduces a non-breaking change labels May 28, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Actionable comments posted: 0

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 88701716-01c5-4626-aee5-66c1f3d825fa

📥 Commits

Reviewing files that changed from the base of the PR and between 8408b45 and e293e61.

📒 Files selected for processing (2)
  • c/include/cuvs/neighbors/ivf_sq.h
  • cpp/include/cuvs/neighbors/ivf_sq.hpp

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Enhanced library symbol export management across core neighbor search components. Ensures consistent visibility and proper symbol resolution across different compilation units and platforms.

Walkthrough

The PR adds export visibility macros to the IVF-SQ neighbor search API headers. Both C and C++ headers now include their respective core export dependencies, and the C++ header restructures namespaces and marks template structs with CUVS_EXPORT to control public symbol visibility.

Changes

IVF-SQ API Export Visibility

Layer / File(s) Summary
C API export header dependency
c/include/cuvs/neighbors/ivf_sq.h
C header includes cuvs/core/export.h to support export macros.
C++ API export macro integration
cpp/include/cuvs/neighbors/ivf_sq.hpp
C++ header includes cuvs/core/export.hpp, restructures namespaces using nested blocks with CUVS_EXPORT applied to the top-level cuvs namespace, and marks list_spec and index template structs with CUVS_EXPORT. Closing namespace comments are updated to match the new structure.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • rapidsai/cuvs#2052: Both PRs update public API symbol visibility by introducing cuvs/core/export.(h|hpp) and applying CUVS_EXPORT to exported declarations.
  • rapidsai/cuvs#1910: Main PR adjusts the IVF-SQ API headers to use cuvs/core/export macros, building on the IVF-SQ API introduced by this retrieved PR.

Suggested labels

improvement

Suggested reviewers

  • robertmaynard
🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No pull request description was provided by the author, making it impossible to assess whether any description exists or is related to the changeset. Add a description explaining why visibility controls were missing and what impact this change has on the library's public API.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding visibility controls (CUVS_EXPORT attributes) to IVF SQ header files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@cjnolet
Copy link
Copy Markdown
Member

cjnolet commented May 28, 2026

/merge

@cjnolet cjnolet moved this to In Progress in Unstructured Data Processing May 28, 2026
@cjnolet cjnolet changed the base branch from release/26.06 to main May 29, 2026 14:02
@cjnolet cjnolet requested review from a team as code owners May 29, 2026 14:02
@cjnolet cjnolet requested a review from msarahan May 29, 2026 14:03
@cjnolet cjnolet changed the base branch from main to release/26.06 May 29, 2026 14:03
@jameslamb jameslamb merged commit 04c0740 into rapidsai:release/26.06 May 29, 2026
164 of 168 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Unstructured Data Processing May 29, 2026
@viclafargue
Copy link
Copy Markdown
Contributor

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants