Skip to content

Add cross-session object reference duplication - #1303

Merged
Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/reference-duplication
Sep 5, 2026
Merged

Weidong Cui (wdcui) merged 3 commits into
uliteboxfrom
wdcui/ulitebox/reference-duplication

Conversation

@wdcui

@wdcui Weidong Cui (wdcui) commented Sep 5, 2026

Copy link
Copy Markdown
Member

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.

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
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/reference-duplication branch from b28333d to 121ae63 Compare September 5, 2026 03:01
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🤖 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.

@wdcui
Weidong Cui (wdcui) added this pull request to the merge queue Sep 5, 2026
Merged via the queue into ulitebox with commit 7aa17ae Sep 5, 2026
11 checks passed
@wdcui
Weidong Cui (wdcui) deleted the wdcui/ulitebox/reference-duplication branch September 5, 2026 03:14
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.

1 participant