Skip to content

Include flags in cli.error telemetry event#421

Merged
robinaugh merged 1 commit intomainfrom
jason/add-flags-to-cli-error-telemetry
Mar 13, 2026
Merged

Include flags in cli.error telemetry event#421
robinaugh merged 1 commit intomainfrom
jason/add-flags-to-cli-error-telemetry

Conversation

@robinaugh
Copy link
Contributor

Summary

  • Adds the flags field to the cli.error telemetry event, matching what we already send in cli.command
  • The flag names were already being collected but not included in error events, making it harder to correlate errors with specific flag usage

Test plan

  • Verify cli.error events now include the flags field
  • Confirm cli.command events are unchanged

The flags were already being collected for cli.command but not
included in cli.error, making it harder to diagnose errors.
@robinaugh robinaugh self-assigned this Mar 12, 2026
@robinaugh robinaugh marked this pull request as ready for review March 12, 2026 17:43
@robinaugh robinaugh merged commit c7c836b into main Mar 13, 2026
1 check passed
@robinaugh robinaugh deleted the jason/add-flags-to-cli-error-telemetry branch March 13, 2026 20:22
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