You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(core): extend registrar, resource, and join coverage - #1038
Extend regression coverage for registrar failures, join receiver lookup, and duplicate resource registration.
Aided by GPT-6.1 Sol
Tests: Added regression coverage for registrar creator exceptions, including single invocation and clean destruction.
Tests: Expanded join coverage for invalid receiver indices, selector-based receiver lookup, input readiness, selector order, and index-port metadata.
Tests: Strengthened duplicate resource registration checks to confirm duplicates do not construct another resource and that the original resource remains accessible.
CI: Results for the current head are not available.
Auto incremental reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 3defa48e-380e-4d5d-9aab-3f4af118284e
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
Walkthrough
The changes add tests for registrar creator exceptions, join receiver behavior and port metadata, and duplicate resource registration.
Construction-counting fixtures verify that duplicate registrations throw without constructing another resource, while the original resource or limiter remains accessible.
No behavior issue has been established that would prevent merging these tests.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly summarizes the added test coverage for registrar failures, resource registration, and joins.
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 3 files.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
knoepfel
changed the title
fix(core): prevent duplicate registration after registrar moves
test(core): extend registrar, resource, and join coverage
Nov 10, 2026
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
test/multilayer_join_test.cpp-147-152: 1
147-152: Trivial · Maintainability & Code Quality · Low value
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Move the using internal::receiver_for; declaration above the lambda, or confirm it is not needed.
The lambda at Lines 147-150 calls internal::receiver_for<3> with a qualified name. It does not depend on the using-declaration. Line 152 only serves the unqualified call at Line 169. That call passes the template argument <3>.
The code works as written. The ordering is still confusing, because the using-declaration sits between the lambda and its first use. Place it next to the other setup lines, or qualify the Line 169 call with internal::. A reader then does not have to track which calls use ADL or the using-declaration.
I did not check how the unqualified receiver_for<1ull>(join, 2u) call at Line 183 resolves for fold_join_node. It may rely on a using-declaration earlier in the file, in the unchanged lines I could not see. Please confirm that this resolves to the intended overload.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 3b3759dc-8e15-4265-b053-546819e05353
Commits
Reviewing files that changed from the base of the PR and between 9e52668 and c649360.
Files selected for processing: 3
test/core_misc_test.cpp
test/multilayer_join_test.cpp
test/resources_test.cpp
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Review details
Additional context used
Code guidelines: 1
AGENTS.md — auto-discovered
Path-based instructions: 1
Source excerpt: **Authoritative sources**: `.clang-format` and `.clang-tidy` are the ground truth for formatting and naming.
CodeRabbit inference engine (AGENTS.md)
Files:
test/core_misc_test.cpp
test/multilayer_join_test.cpp
test/resources_test.cpp
Additional comments: 5
test/core_misc_test.cpp: 1
2-2: LGTM!
Also applies to: 11-11, 100-118
test/resources_test.cpp: 1
47-55: LGTM!
Also applies to: 289-293, 296-297, 302-306, 309-310
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend regression coverage for registrar failures, join receiver lookup, and duplicate resource registration.
Aided by GPT-6.1 Sol