Skip to content

Conversation

@doanac
Copy link
Member

@doanac doanac commented Dec 9, 2025

This builds on the run-and-report changes we've previously merged into fioconfig to create a mechanism for running remote actions.

@doanac doanac requested review from detsch and mike-sul December 9, 2025 19:07
@doanac doanac force-pushed the remote-actions branch 2 times, most recently from e8e364a to e39bcb1 Compare December 11, 2025 20:22
Copy link
Member

@vkhoroz vkhoroz left a comment

Choose a reason for hiding this comment

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

My only leftover comment goes to the place where we store that cached list of actions.

I'm not sure how the "feature" to allow user modifying the action file is intended to work; as that file will get overwritten on every update which changes remote actions file list.
But, I guess almost nobody would use this; so nobody would complain.

Otherwise, LGTM.
So take my approval.

This provides a mechanism by which we can trigger remote actions using
fioconfig and the new `run-and-report` command. In order to prevent the
execution of random commands, we include a "actions" directory where a
user can be explicit about which remote actions they want to allow for
their product.

This commit includes a "reboot" command that's been requested in the
past.

Signed-off-by: Andy Doan <andy@foundries.io>
Signed-off-by: Andy Doan <andy@foundries.io>
This change helps the user facing UX part of this feature. By sharing
what actions are availble to the device, fioctl and webui can know what
options to present to the user for triggering a remote action. It can
also *reject* an invalid trigger rather than waiting for it to fail.
Signed-off-by: Andy Doan <andy@foundries.io>
@doanac doanac merged commit 87efd8b into foundriesio:main Dec 12, 2025
2 checks passed
@doanac doanac deleted the remote-actions branch December 12, 2025 23:33
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.

2 participants