Skip to content

Ensure legacy CLI command telemetry is sent independently #1132

@patrikbraborec

Description

@patrikbraborec

Problem

While adding the unified cli_command telemetry event, the command runner also needs to keep sending the legacy per-command events such as cli_command_push and cli_command_datasets_ls during the migration period.

If the new unified event is awaited before the legacy event, a slow or failing send path can delay or prevent the legacy event from being attempted. That weakens backward compatibility for dashboards and Mixpanel custom events that still depend on the old event names.

Expected behavior

For every CLI command execution, attempt to send both events from the same payload:

  • cli_command
  • legacy cli_command_<command>

The two sends should be independent so one failure does not prevent the other.

Notes

The concrete command should continue to be available in the event payload as commandString.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-dxIssues owned by the DX team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions