Skip to content

broker design/poc#880

Draft
wdcui wants to merge 18 commits into
uliteboxfrom
wdcui/ulitebox/broker-design
Draft

broker design/poc#880
wdcui wants to merge 18 commits into
uliteboxfrom
wdcui/ulitebox/broker-design

Conversation

@wdcui
Copy link
Copy Markdown
Member

@wdcui wdcui commented May 29, 2026

No description provided.

@wdcui wdcui added discussion Open questions must-not-merge:prototype An experimental/proof-of-concept PR that must not be merged. expmt:ulitebox uLiteBox experiment labels May 29, 2026
wdcui and others added 14 commits May 29, 2026 14:24
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Introduce modular broker protocol, transport, wire codec, client, core, server, and Unix socket implementation for the initial broker-owned event object path.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Track effective protocol negotiation in client and server state, expose version mismatch responses for downgrade retries, and make public broker interface enums forward-compatible.

Map future core outcomes to an Internal protocol error and keep wire tag details contained in the wire layer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose broker handles as reference capabilities containing only reference ID and reference generation. Keep object IDs internal to BrokerCore and remove ObjectGeneration from the protocol, wire codec, and server adapters.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Exclude litebox_broker_unix_socket from the confirm_no_std sweep because it is the concrete hosted Unix-domain-socket transport and broker executable for the split-broker POC.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rename the broker transport boundary to a channel boundary and tighten the protocol/channel naming so future IPC implementations can share the same semantic broker contract.

Document the protocol, channel, wire, and core separation, including the future notification lane and kernel broker relationship.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep server, core, and Unix socket tests focused on distinct interface and security behavior while removing redundant private implementation coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wdcui wdcui force-pushed the wdcui/ulitebox/broker-design branch from 1717582 to c939fd5 Compare May 29, 2026 21:24
wdcui and others added 4 commits May 29, 2026 15:21
Separate the Unix socket channel adapter from the hosted userland broker deployment, replace the redundant broker connection wrapper with associations, and align broker interface naming.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Record the current Unix peer credential placeholder and clarify that BrokerCore/protocol type duplication is intentional at the server mapping boundary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Connect the linux userland runner to an externally managed split-broker Unix socket and verify the broker connection during startup.

Add setup-deadline handling to the Unix socket broker client so connect, negotiation, and verification cannot hang indefinitely.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.47.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field CliArgs.split_broker_socket in /home/runner/work/litebox/litebox/litebox_runner_linux_userland/src/lib.rs:85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

discussion Open questions expmt:ulitebox uLiteBox experiment must-not-merge:prototype An experimental/proof-of-concept PR that must not be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant