Skip to content

Conversation

TingluoHuang
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 16, 2025 17:28
@TingluoHuang TingluoHuang requested a review from a team as a code owner July 16, 2025 17:28
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 enhances the orchestration ID tracking by extracting it from JWT token claims and adding it to user-agent headers for better correlation and logging. The implementation provides fallback mechanisms and prevents duplicate entries.

Key changes:

  • Adds logic to extract orchestration ID from JWT claims with fallback to secondary claim type
  • Implements duplicate prevention when adding orchestration ID to user-agent headers
  • Centralizes orchestration ID extraction in HostContext for runner initialization

Reviewed Changes

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

File Description
src/Runner.Worker/JobRunner.cs Adds duplicate check before inserting orchestration ID into user-agent headers
src/Runner.Listener/JobDispatcher.cs Implements orchestration ID extraction from JWT claims with fallback logic
src/Runner.Common/HostContext.cs Adds JWT import and orchestration ID extraction logic during user-agent initialization

Copy link

@FckYrShit56 FckYrShit56 left a comment

Choose a reason for hiding this comment

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

open access

LouisHaftmann pushed a commit to falcondev-oss/github-actions-runner that referenced this pull request Aug 3, 2025
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