← Back to Pull requests

Fix 'rapids_add_test could not infer a target to install' warnings #12056

Merged
Jacobfaib merged 1 files (3 lines) on Oct 19, 2026 12:01 UTC
View on GitHub
Jacobfaib Jacobfaib commented on Oct 16, 2026 23:02 UTC
Author

Description

<!-- Every PR should have a corresponding issue that describes and motivates the work done in the PR -->

Fixes

--   0: lid_0.types_0 TEST_LAUNCH=0;TEST_TYPES=0;VAR_IDX=0
--   1: lid_0.types_1 TEST_LAUNCH=0;TEST_TYPES=1;VAR_IDX=1
--   2: lid_1.types_0 TEST_LAUNCH=1;TEST_TYPES=0;VAR_IDX=2
--   3: lid_1.types_1 TEST_LAUNCH=1;TEST_TYPES=1;VAR_IDX=3
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- Detected 2 variants of 'device.segmented_sort_keys_env':
--   0: lid_0 TEST_LAUNCH=0;VAR_IDX=0
--   1: lid_1 TEST_LAUNCH=1;VAR_IDX=1
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install
-- [rapids.test.add] rapids_add_test could not infer a target to install

<!-- Provide a standalone description of changes in this PR. -->

<!-- Note: The pull request title will be included in the CHANGELOG. -->

<!--
Note: CodeRabbit is enabled on this repository as a convenience for maintainers
and contributors. Use your best judgment when considering its review comments and
suggestions — a suggested change may be inadequate, unnecessary, or safe to ignore.
Contributors are not expected to address every comment. Human reviews are what
ultimately matter for merging.
-->

Checklist


<!-- TODO: - [ ] I am familiar with the [Contributing Guidelines](). -->
  • New or existing tests cover these changes.

  • The documentation is up to date with these changes.
  • Diff: 3 lines (+3 / -0) across 1 files Reviewer: fbusato Review duration: 3659m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.11) × (1 − Review Confidence (0.73)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.11 · 3 lines diff across 1 files
    0.11
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.57 · 4 substantive comment(s)
    0.57
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    72%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.083
    Real PR Conversation Timeline
    8 items
    coderabbitai[bot] coderabbitai[bot] commented on Oct 16, 2026 23:07 UTC
    Bot

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- review_stack_entry_start -->

    <a href="https://app.coderabbit.ai/change-stack/NVIDIA/cccl/pull/12056?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=3"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3" alt="Review in Change Stack →" height="32"></picture></a>

    <!-- review_stack_entry_end -->
    <!-- recent_review_start -->

    No actionable comments were generated in the recent review. 🎉

    <details>
    <summary><strong>ℹ️ Recent review info</strong></summary>
    <dl>
    <dd>

    <details>
    <summary><strong>⚙️ Run configuration</strong></summary>
    <dl>
    <dd>

  • Configuration used: Repository: NVIDIA/cccl/.coderabbit.yaml

  • Review profile: CHILL

  • Plan: Enterprise

  • Run ID: 65ab4fcc-614e-4fc2-9ec4-c941c1f86fdd
  • </dd>
    </dl>
    </details>

    <details>
    <summary><strong>📥 Commits</strong></summary>
    <dl>
    <dd>

    Reviewing files that changed from the base of the PR and between 38671dcfbed77c287817282c6411bb615179dfb9 and 6e17370087fc18d1dc70f27e17c840da007a01d1.

    </dd>
    </dl>
    </details>

    <details>
    <summary><strong>📒 Files selected for processing: 1</strong></summary>
    <dl>
    <dd>

    cub/test/CMakeLists.txt

    </dd>
    </dl>
    </details>

    Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

    </dd>
    </dl>
    </details>

    <!-- recent_review_end -->
    <!-- walkthrough_start -->

    <details>
    <summary><strong>📝 Summary</strong></summary>
    <dl>
    <dd>

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Tests
    * Updated test registration for standard and large-memory Catch2 tests, as well as non-Catch2 runtime tests, so each is associated with its executable target. These changes affect the project’s test setup and do not add or change end-user features.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    Three CUB test registrations now pass their executable targets through INSTALL_TARGET: standard-memory Catch2 tests, large-memory Catch2 tests, and non-Catch2 runtime tests.

    Changes: Test install target registration

    |Layer / File(s)|Summary|
    |:---|:---|
    |Register test executable targets <br> cub/test/CMakeLists.txt|The standard-memory Catch2, large-memory Catch2, and non-Catch2 runtime test registrations now pass their corresponding executable targets as INSTALL_TARGET.|

    </dd>
    </dl>
    </details>

    <!-- walkthrough_end -->
    <!-- change_assessment_start -->
    Priority: ⬇️ Low

    <!-- change_assessment_commit:"6e17370087fc18d1dc70f27e17c840da007a01d1" -->
    Change: Bug fix
    <!-- change_assessment_end -->
    <details>
    <summary><strong>Merge Risk:</strong> <strong>⚪ Minimal</strong> · up to <code>6e173</code></summary>
    <dl>
    <dd>

    <!-- final_review_risk_start -->
    <!-- final_review_risk_label
    Merge Risk: ⚪ Minimal · up to 6e173
    -->
    <!-- final_review_risk_coverage:{"sourceCommitId":"6e17370087fc18d1dc70f27e17c840da007a01d1","coveredCommitId":"6e17370087fc18d1dc70f27e17c840da007a01d1","kind":"reviewed"} -->

    The test registrations use a supported option to avoid target-inference warnings. No identified issue prevents merging after normal checks.
    <!-- final_review_risk_end -->

    </dd>
    </dl>
    </details>
    <!-- autopilot:start -->

  • <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

  • <!-- autopilot:end -->
    <!-- tips_start -->

    <sub>Comment @coderabbitai help to get the list of available commands.</sub>

    <!-- tips_end -->

    fbusato fbusato approved these changes on Oct 17, 2026 00:22 UTC
    Approved Reviewer

    Approved these changes.

    github-actions[bot] github-actions[bot] commented on Oct 17, 2026 01:49 UTC
    Bot

    🥳 CI Workflow Results

    🟩 Finished in 2h 45m: Pass: 100%/137 | Total: 2d 22h | Max: 2h 33m | Hits: 99%/125486

    See results here.

    <!-- Sticky Pull Request Commentci-results -->

    bdice bdice approved these changes on Oct 17, 2026 13:08 UTC
    Approved Reviewer

    Approved these changes.

    Jacobfaib Jacobfaib commented on Oct 17, 2026 14:08 UTC
    Author

    @robertmaynard Note that the INSTALL_TARGET option does not appear to be documented https://github.com/rapidsai/rapids-cmake/blob/main/rapids-cmake/test/add.cmake#L9-L58. Is that intended?

    robertmaynard robertmaynard commented on Oct 19, 2026 11:59 UTC
    Contributor

    @robertmaynard Note that the INSTALL_TARGET option does not appear to be documented https://github.com/rapidsai/rapids-cmake/blob/main/rapids-cmake/test/add.cmake#L9-L58. Is that intended?

    Missed adding the docs when we added that feature ( https://github.com/rapidsai/rapids-cmake/pull/692 )

    davebayer davebayer approved these changes on Oct 19, 2026 12:00 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    Jacobfaib Jacobfaib
    Labels
    risk: low confidence: 72.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 11.3% (LOW) · Higher = larger blast radius
    11.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 72.9% · Lower = rushed or shallow review
    72.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.1% · Safe to merge
    3.1%
    Repository