Skip to content

Feat: support broadcast API#16

Merged
InftyAI-Agent merged 5 commits into
InftyAI:mainfrom
kerthcet:feat/support-onflight-aware
Jun 14, 2026
Merged

Feat: support broadcast API#16
InftyAI-Agent merged 5 commits into
InftyAI:mainfrom
kerthcet:feat/support-onflight-aware

Conversation

@kerthcet

Copy link
Copy Markdown
Member

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Does this PR introduce a user-facing change?


kerthcet added 3 commits June 14, 2026 17:48
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
Copilot AI review requested due to automatic review settings June 14, 2026 14:49
@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Jun 14, 2026
@InftyAI-Agent InftyAI-Agent added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Python-level “broadcast” API to execute a command across multiple connected daemons (filtered by labels), and refactors the Python package layout to introduce explicit sync/async client modules.

Changes:

  • Added Server.broadcast() (Python) plus new Python model wrappers (CommandResult, ServerStats).
  • Updated Rust exec() timeout handling and added a daemon “busy” helper on the registry connection object.
  • Expanded E2E coverage with broadcast-related tests and updated concurrency expectations.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
server/src/registry.rs Adds DaemonConnection::is_busy() and reformats list_all signature.
server/src/lib.rs Adjusts exec wait timeout and minor formatting for list_daemons.
README.md Removes a “Key Design” statement from the overview.
python/tests/test_e2e.py Updates same-daemon concurrency test expectations and adds broadcast E2E tests.
python/sandd/server.py Introduces a new sync Python wrapper Server including broadcast().
python/sandd/models.py Adds Python wrappers for Rust-returned result/stat structs.
python/sandd/async_server.py Adds an AsyncServer placeholder (currently unimplemented).
python/sandd/init.py Refactors package exports to the new module layout and exports AsyncServer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread server/src/lib.rs Outdated
Comment thread python/tests/test_e2e.py
Comment thread python/sandd/server.py
Comment thread python/sandd/async_server.py
kerthcet added 2 commits June 14, 2026 23:02
Signed-off-by: kerthcet <kerthcet@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
@kerthcet

Copy link
Copy Markdown
Member Author

/lgtm
/kind feature

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. feature Categorizes issue or PR as related to a new feature. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Jun 14, 2026

@InftyAI-Agent InftyAI-Agent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: PR has both lgtm and approved labels

@InftyAI-Agent InftyAI-Agent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved: PR has both lgtm and approved labels

@InftyAI-Agent InftyAI-Agent merged commit 0315231 into InftyAI:main Jun 14, 2026
20 of 21 checks passed
@kerthcet kerthcet deleted the feat/support-onflight-aware branch June 14, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. feature Categorizes issue or PR as related to a new feature. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants