Skip to content

Add broker readiness notification channel skeleton#976

Open
wdcui wants to merge 6 commits into
uliteboxfrom
wdcui/ulitebox/broker-readiness-notifications
Open

Add broker readiness notification channel skeleton#976
wdcui wants to merge 6 commits into
uliteboxfrom
wdcui/ulitebox/broker-readiness-notifications

Conversation

@wdcui

@wdcui wdcui commented Jun 26, 2026

Copy link
Copy Markdown
Member

Adds a minimal broker-to-local notification channel skeleton for readiness updates while keeping the control channel strictly paired request/response. The PR defines event readiness notification DTOs, wire codec coverage, Unix-socket notification send/receive support, and a broker-host API plus end-to-end smoke test over real Unix sockets that sends readiness for the actual broker-created event handle without changing shim behavior or enabling blocking eventfd yet.

wdcui and others added 6 commits June 26, 2026 12:35
Define broker-to-local notification messages and channel traits, including event readiness snapshots, and add Unix-socket framing support for notification traffic.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Extend the userland broker integration test with a real Unix-socket notification path between the broker-side test helper and fake runner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the standalone notification sender with a broker-stack smoke test that sends readiness for the actual event handle observed through serve_connection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set a read timeout on the notification socket so the broker-stack smoke test fails instead of hanging if readiness notification delivery regresses.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a production broker-host entry point that serves control requests with a paired notification channel and emits readiness notifications for state-changing event requests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the private NegotiatedConnection enum and use a small handshake helper that returns an early termination only when negotiation does not reach the active request loop.

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

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.

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