Add cross-session object reference duplication - #1303
Merged
Weidong Cui (wdcui) merged 3 commits intoSep 5, 2026
Merged
Conversation
Duplicate event and pipe references into a target session with attenuated rights, target policy and quota admission, and shared object lifetime. Reject socket duplication while readiness remains association-bound. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
The duplication implementation directly rejects socket entries, so keep the focused event and pipe behavior coverage without a separate implementation-shaped socket test. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Run the cross-session duplication scenario through the existing single-core lifecycle test instead of constructing a second process-global broker core. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
Weidong Cui (wdcui)
force-pushed
the
wdcui/ulitebox/reference-duplication
branch
from
September 5, 2026 03:01
b28333d to
121ae63
Compare
|
🤖 SemverChecks 🤖 No breaking API changes detected Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds an explicit broker-core primitive for duplicating event and pipe references into another session, creating a target-owned handle with attenuated rights and target policy and quota enforcement while preserving shared object lifetime; socket references remain unsupported because readiness registration is association-bound.