Skip to content

feat: map job check run id from default context variables to environment variable#57

Merged
calvinbayer merged 1 commit intomainfrom
calvin.bayer/feat/SDTEST-3258/map-job-check-run-id-to-env-vars
Feb 6, 2026
Merged

feat: map job check run id from default context variables to environment variable#57
calvinbayer merged 1 commit intomainfrom
calvin.bayer/feat/SDTEST-3258/map-job-check-run-id-to-env-vars

Conversation

@calvinbayer
Copy link
Contributor

What does this PR do?

  • Map the job's numeric id from Github Action's default context variables to an environment variable that can be picked up by the tracers

Motivation

  • For some reason, the Github team decided to expose the numeric job id - which is the only means to uniquely identify a job - through the context variables and not the environment variables
  • For the customers that use auto-instrumentation, we can map the variable for them, so they get accurate @ci.job.url and @ci.job.id tags on their test events out of the box. This enables easier navigation and correlation between CI Visibility and Test Optimization jobs

@calvinbayer calvinbayer requested a review from a team as a code owner February 6, 2026 15:19
@calvinbayer calvinbayer added the enhancement New feature or request label Feb 6, 2026
@calvinbayer calvinbayer merged commit f76512a into main Feb 6, 2026
2 of 3 checks passed
@calvinbayer calvinbayer deleted the calvin.bayer/feat/SDTEST-3258/map-job-check-run-id-to-env-vars branch February 6, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants