Add remaining instance level tracking life events for Duo Agent Platform

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

We've only added create and start session events for Duo Agent Platform.

The following events should be considered to be added

  • agent_platform_session_paused
  • agent_platform_session_resumed
  • agent_platform_session_retried
  • agent_platform_session_finished
  • agent_platform_session_failed
  • agent_platform_session_stopped
  • agent_platform_session_cleaned_up

Outcome

  1. The above listed events are reviewed. The ones selected for instance level AI tracking is added.
  2. The existing two events are renamed
  • agent_platform_session_created instead of create_agent_platform_session
  • agent_platform_session_started instead of start_agent_platform_session

Implementation plan

Pause, resume, retry, finish, fail, and stop events can be added to UpdateWorkflowStatusService in one MR.

Edited by 🤖 GitLab Bot 🤖