Skip to content
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

Add logs around status report telemetry in init-post step #2841

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

angelapwen
Copy link
Contributor

We have been seeing occasional spikes in telemetry where ostensibly successful jobs don't have corresponding init-post status reports. This change simply adds some Actions log lines to help us debug.

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 bot review requested due to automatic review settings April 3, 2025 12:39
@angelapwen angelapwen requested a review from a team as a code owner April 3, 2025 12:39
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 logging statements around the sending of status reports in the init-post step to aid in debugging telemetry issues.

  • Added log statements before and after sending the status report in both TypeScript and transpiled JavaScript files.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/init-action-post.ts Added two logger.info calls to mark before and after sending the status report.
lib/init-action-post.js Mirrored changes from the TypeScript source to log the status report actions.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@angelapwen angelapwen requested a review from esbena April 3, 2025 12:40
@angelapwen angelapwen enabled auto-merge April 3, 2025 12:42
@angelapwen angelapwen merged commit 41aa437 into main Apr 3, 2025
270 checks passed
@angelapwen angelapwen deleted the angelapwen/log-init-post-telemetry branch April 3, 2025 12:51
@github-actions github-actions bot mentioned this pull request Apr 7, 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.

2 participants