Skip to content

Add more directories to GitHub job name detection#2127

Merged
rodrigo-roca merged 2 commits intomasterfrom
rodrigo.roca/github-job-name-detection-improvements
Feb 25, 2026
Merged

Add more directories to GitHub job name detection#2127
rodrigo-roca merged 2 commits intomasterfrom
rodrigo.roca/github-job-name-detection-improvements

Conversation

@rodrigo-roca
Copy link
Contributor

What and why?

We have a mechanism in Github Actions in which we read the diagnostic log files to get the Github Job Display Name. When doing so we missed a couple possible directories. Besides the well known ones, we also use the WORKER_TEMP env variable. For this env variable we did not take into account that there are some variants in which the logs can be in inside an actions-runner subdirectory too.

How?

Adds a couple more paths to check for logs.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@rodrigo-roca rodrigo-roca requested a review from a team as a code owner February 25, 2026 11:52
@rodrigo-roca rodrigo-roca added the datadog-ci For PRs spanning multiple commands, and repo-wide changes label Feb 25, 2026
@rodrigo-roca rodrigo-roca merged commit 4a8a57b into master Feb 25, 2026
27 of 28 checks passed
@rodrigo-roca rodrigo-roca deleted the rodrigo.roca/github-job-name-detection-improvements branch February 25, 2026 13:14
@vishal-joshi-datadog vishal-joshi-datadog mentioned this pull request Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datadog-ci For PRs spanning multiple commands, and repo-wide changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants