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

Device status in the platform is often out of step #231

Open
Steve-Mcl opened this issue Feb 5, 2024 · 0 comments
Open

Device status in the platform is often out of step #231

Steve-Mcl opened this issue Feb 5, 2024 · 0 comments
Labels
needs-triage Needs looking at to decide what to do size:XS - 1 Sizing estimation point

Comments

@Steve-Mcl
Copy link
Contributor

Steve-Mcl commented Feb 5, 2024

Current Behavior

Device status changes are not immediately transmitted to FF upon occurrence. For example, when device agent is SIGTERM'd the status is left shown as "running" on the platform.

e.g. In nr-launcher, when the process exits, we immediately get updated status however the device agent does not have the same tight integration and requires the agent checkin procedure to update the platform

Background

Somewhat related to #230 once the device agents launcher and nr-launcher have better parity on audit logging, we will see discrepancies between status and the audit log. For example, the device status will show "running" but the audit log will show "crashed" or "stopped"

Expected Behavior

Device Agent would ideally call checkin when state changes, especially upon start, stop, restart & crash to provide more accurate state info to the platform

Steps To Reproduce

run device agent, kill device agent, see state as "running"

Environment

  • FlowFuse version: 2.x
@Steve-Mcl Steve-Mcl added the needs-triage Needs looking at to decide what to do label Feb 5, 2024
@Steve-Mcl Steve-Mcl added the size:XS - 1 Sizing estimation point label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs looking at to decide what to do size:XS - 1 Sizing estimation point
Projects
Status: No status
Development

No branches or pull requests

1 participant