Add audit logging for Duo workflow session deletion
What does this MR do and why?
Add audit logging for Duo workflow session deletion
- Emit a duo_session_deleted audit event from DestroyWorkflowService after a workflow is successfully destroyed, providing an audit trail for session deletions including who initiated the deletion and which session was removed.
References
Screenshots or screen recordings
| Before | After |
|---|---|
| It's darker than a black hole | ![]() |
How to set up and validate locally
- Open the Duo Agentic Chat panel
- Switch to the chat history / thread list view
- Hover/focus a past conversation row — a trash/remove icon button (Delete this chat) appears next to it, click one
- Go to related project's audit events
- should see
Deleted Duo sessionevent like in screenshot
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by SAM FIGUEROA
