Skip to content

Use stop reason in audit log detail#7078

Merged
Steve-Mcl merged 3 commits into
mainfrom
6728-use-device-agent-stop-reason-in-log-view
May 7, 2026
Merged

Use stop reason in audit log detail#7078
Steve-Mcl merged 3 commits into
mainfrom
6728-use-device-agent-stop-reason-in-log-view

Conversation

@Steve-Mcl
Copy link
Copy Markdown
Contributor

Description

This pull request updates the AuditEntryVerbose.vue component to provide more detailed information when a "stopped" event occurs in the audit log. Now, if stop reason details are available, they are displayed to the user; otherwise, the previous generic message is shown.

Audit log improvements:

  • Enhanced the "stopped" event display in AuditEntryVerbose.vue to show the stop reason code and additional info from entry.body.info when available; if not, it falls back to the generic message.

Related Issue(s)

closes #6728

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 linked an issue Apr 14, 2026 that may be closed by this pull request
@Steve-Mcl Steve-Mcl requested a review from cstns April 14, 2026 09:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.57%. Comparing base (d01c9cd) to head (be06bf7).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7078   +/-   ##
=======================================
  Coverage   76.57%   76.57%           
=======================================
  Files         405      405           
  Lines       20586    20586           
  Branches     4976     4976           
=======================================
  Hits        15764    15764           
  Misses       4822     4822           
Flag Coverage Δ
backend 76.57% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hardillb
Copy link
Copy Markdown
Contributor

@Steve-Mcl any reason not to merge this?

(trying to clean up PRs ahead of release week)

@Steve-Mcl Steve-Mcl enabled auto-merge April 30, 2026 10:15
@Steve-Mcl
Copy link
Copy Markdown
Contributor Author

No reason @hardillb

@Steve-Mcl
Copy link
Copy Markdown
Contributor Author

I have enabled auto merge

@hardillb
Copy link
Copy Markdown
Contributor

hardillb commented May 7, 2026

@Steve-Mcl I've trigger a rebase to see if we can get this merged

@Steve-Mcl Steve-Mcl merged commit be93ec7 into main May 7, 2026
27 of 28 checks passed
@Steve-Mcl Steve-Mcl deleted the 6728-use-device-agent-stop-reason-in-log-view branch May 7, 2026 09:26
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.

Use device agent stop reason in log view

3 participants