Skip to content

Preserve libdispatch bulk child sender value category - #2205

Open
fallintoplace wants to merge 2 commits into
NVIDIA:mainfrom
fallintoplace:fix/libdispatch-bulk-child-cvref
Open

Preserve libdispatch bulk child sender value category#2205
fallintoplace wants to merge 2 commits into
NVIDIA:mainfrom
fallintoplace:fix/libdispatch-bulk-child-cvref

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

  • Preserve the child sender cvref when libdispatch bulk connects it.
  • Add a regression for a child sender that is only connectable as an lvalue.

Why

bulk_op_state computes inner_op_state from CvSender, but used std::move(sndr) when connecting it. For an lvalue bulk sender, that turned a valid Sender& connection into an rvalue connection.

Test

  • ctest --test-dir build --output-on-failure -j 8
  • All 948 tests passed.

@copy-pr-bot

copy-pr-bot Bot commented Aug 16, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test 0e21d95

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test b69ba18

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