Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add actions-specific telemetry fields #2874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025

Conversation

aeisenberg
Copy link
Contributor

@aeisenberg aeisenberg commented Apr 29, 2025

Ensures we are sending proper events to our telemetry processor when we run actions queries.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@Copilot Copilot AI review requested due to automatic review settings April 29, 2025 23:13
@aeisenberg aeisenberg requested a review from a team as a code owner April 29, 2025 23:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds new telemetry fields to the QueriesStatusReport interface so that actions-specific query execution and result interpretation durations can be captured and sent to the telemetry processor.

  • Adds the field analyze_builtin_queries_actions_duration_ms with updated JSDoc comments.
  • Adds the field interpret_results_actions_duration_ms with corresponding documentation updates.
Comments suppressed due to low confidence (2)

src/analyze.ts:51

  • Consider adding unit tests that verify the telemetry event includes the new actions-specific query duration field.
analyze_builtin_queries_actions_duration_ms?: number;

src/analyze.ts:109

  • Consider adding tests to validate that the result interpretation duration for actions is correctly captured and propagated to telemetry.
interpret_results_actions_duration_ms?: number;

@aeisenberg aeisenberg force-pushed the aeisenberg/add-actions-telemetry branch from b9969e5 to 3ca9a88 Compare April 29, 2025 23:15
@aeisenberg aeisenberg requested a review from henrymercer April 30, 2025 01:40
@aeisenberg
Copy link
Contributor Author

Thanks for the reviews. The failures look transient.

@aeisenberg aeisenberg enabled auto-merge April 30, 2025 14:59
@aeisenberg aeisenberg merged commit 40e16ed into main Apr 30, 2025
285 of 287 checks passed
@aeisenberg aeisenberg deleted the aeisenberg/add-actions-telemetry branch April 30, 2025 15:02
@github-actions github-actions bot mentioned this pull request May 2, 2025
8 tasks
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.

3 participants