Skip to content

Update FF state upon shutdown#577

Merged
hardillb merged 4 commits intomainfrom
update-stop-state
Feb 17, 2026
Merged

Update FF state upon shutdown#577
hardillb merged 4 commits intomainfrom
update-stop-state

Conversation

@Steve-Mcl
Copy link
Contributor

Description

  • The Launcher now calls logAuditEvent with a 'stopped' event and related info when it stops
  • A short delay is awaited after checkin to improve the chances of agent state making it into FF
  • Adds unit tests for the above

PR working with current FF App

device-state.mp4

Related Issue(s)

closes #576

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@Steve-Mcl Steve-Mcl requested a review from hardillb February 16, 2026 17:43
@hardillb hardillb merged commit eff32ad into main Feb 17, 2026
8 checks passed
@hardillb hardillb deleted the update-stop-state branch February 17, 2026 09:44
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