Repository navigation
feat(cli): forward the GitHub job id and re-run opt-in with test sessions [RED-00] [ship] - #1587
Merged
Merged
Conversation
…ions The CLI now forwards CHECKLY_GITHUB_JOB_ID as github.jobId in the session's repository info. It forwards CHECKLY_GITHUB_RERUN as github.rerun. checkly-action sets both when a workflow opts into Re-run on its Checkly GitHub Check. The backend uses them to re-run the job that dispatched the session. Both values are trimmed. An unset or blank value is left out.
kiroushi
marked this pull request as ready for review
October 29, 2026 12:51
kiroushi
enabled auto-merge (squash)
October 29, 2026 18:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Affected Components
Notes for the Reviewer
The CLI forwards two more GitHub Actions values in a test session's repository info:
CHECKLY_GITHUB_JOB_IDasgithub.jobIdandCHECKLY_GITHUB_RERUNasgithub.rerun.checkly-action sets both when a workflow opts into Re-run on its Checkly GitHub Check.
jobIdis the id of the GitHub Actions job that dispatched the session (job.check_run_id).rerunisrepository-dispatchtoday. The backend stores them on the session and uses them to re-run that job when someone clicks Re-run on the session's check.Both values are trimmed, and an unset or blank value is left out of the payload. The existing
CHECKLY_GITHUB_*fields are unchanged. The CLI only carries the values; the backend validates them.