Skip to content

Fix the inverted and the external primary transport selection in the Stack - #16092

Merged
sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/stack-transport-invert
Nov 10, 2026
Merged

sawenzel merged 1 commit into
AliceO2Group:devfrom
sawenzel:swenzel/stack-transport-invert

Conversation

@sawenzel

@sawenzel sawenzel commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

This fixes two problems in the transport selection of primaries in the Stack.

  • With transportPrimaryInvert, the lambda returned !transportPrimary, which negates the std::function object rather than its result, so every primary was held back.
  • After loading an external selection, the check tested the member mTransportPrimary instead of the loaded function. The member starts as a lambda that returns false, so a failed load was never detected.

Both were found in a review of #16084 but are independent of it.

Assisted by Claude Code.

…Stack

This fixes two problems in the transport selection of primaries.

- With transportPrimaryInvert, the lambda negated the std::function instead of its result, so every primary was held back.
- After loading an external selection, the check tested the member instead of the loaded function, so a failed load was not detected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel requested a review from shahor02 as a code owner November 9, 2026 21:02
@sawenzel
sawenzel merged commit 5b3c766 into AliceO2Group:dev Nov 10, 2026
11 checks passed
@sawenzel
sawenzel deleted the swenzel/stack-transport-invert branch November 10, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant