Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(device): execute command on multiple devices #402

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

pallabpain
Copy link
Contributor

@pallabpain pallabpain commented Dec 12, 2024

Description

Testing

With --async

╭─ ~/Projects/python/rapyuta-robotics/rapyuta-io-cli on feat/exec-on-multiple-devices !2                     took 17s Py rapyuta-io-cli at 13:17:09
╰─❯ uv run rio device execute '.*' 'uname -a' --async
>>> 17098c40-5aec-42a7-bd4d-825bc72f4699: Success
Linux controller2 5.15.0-86-generic #96~20.04.1-Ubuntu SMP Thu Sep 21 13:23:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
>>> f1677d7d-07c7-4877-905b-ef4dfe56426a: Success
Linux nuc-sn-btws24200glv 6.5.0-1020-oem #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr  3 14:54:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>>> e7ac3b0a-bdf1-4c8a-a4aa-f38187831ebd: Success
Linux edge2 6.5.0-1020-oem #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr  3 14:54:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Without --async

╭─ ~/Projects/python/rapyuta-robotics/rapyuta-io-cli on feat/exec-on-multiple-devices !2                     took 43s Py rapyuta-io-cli at 13:15:53
╰─❯ uv run rio device execute '.*' 'uname -a'        
>>> 17098c40-5aec-42a7-bd4d-825bc72f4699: Success
Linux controller2 5.15.0-86-generic #96~20.04.1-Ubuntu SMP Thu Sep 21 13:23:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
>>> e7ac3b0a-bdf1-4c8a-a4aa-f38187831ebd: Success
Linux edge2 6.5.0-1020-oem #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr  3 14:54:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>>> f1677d7d-07c7-4877-905b-ef4dfe56426a: Success
Linux nuc-sn-btws24200glv 6.5.0-1020-oem #21-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr  3 14:54:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Fixes AB#39696

@pallabpain pallabpain added the ✨ feature A new feature addition to the CLI label Dec 12, 2024
@pallabpain pallabpain self-assigned this Dec 12, 2024
@pallabpain pallabpain requested review from a team as code owners December 12, 2024 07:21
Copy link

github-actions bot commented Dec 12, 2024

🤖 Pull Request Artifacts (#12292027509) 🎉

@pallabpain pallabpain force-pushed the feat/exec-on-multiple-devices branch from a2de20a to 238ef06 Compare December 12, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature A new feature addition to the CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant