Skip to content

Add telemetry error handling for fetching pull request templates#8697

Merged
alexr00 merged 1 commit intomainfrom
alexr00/permanent-guineafowl
Apr 23, 2026
Merged

Add telemetry error handling for fetching pull request templates#8697
alexr00 merged 1 commit intomainfrom
alexr00/permanent-guineafowl

Conversation

@alexr00
Copy link
Copy Markdown
Member

@alexr00 alexr00 commented Apr 23, 2026

Co-authored-by: Copilot copilot@github.com

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 12:55
@alexr00 alexr00 enabled auto-merge (squash) April 23, 2026 12:55
@alexr00 alexr00 self-assigned this Apr 23, 2026
Copy link
Copy Markdown
Contributor

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

Adds telemetry-backed error reporting when fetching pull request templates fails, improving observability of template-fetch failures within the GitHubRepository layer.

Changes:

  • Log failures when fetching pull request templates.
  • Emit a new telemetry error event (pr.getPullRequestTemplatesFailed) with an extracted errorCode for diagnostics.
Show a summary per file
File Description
src/github/githubRepository.ts Adds error logging + GDPR-annotated telemetry emission on pull request template fetch failures.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@alexr00 alexr00 merged commit b98446a into main Apr 23, 2026
10 checks passed
@alexr00 alexr00 deleted the alexr00/permanent-guineafowl branch April 23, 2026 14:30
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