-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass jobId
to the actionsDownloadInfo controller
#1639
Pass jobId
to the actionsDownloadInfo controller
#1639
Conversation
ActionReferenceList actionReferenceList, | ||
object userState = null, | ||
CancellationToken cancellationToken = default) | ||
{ | ||
HttpMethod httpMethod = new HttpMethod("POST"); | ||
Guid locationId = new Guid("27d7f831-88c1-4719-8ca1-6a061dad90eb"); | ||
object routeValues = new { scopeIdentifier = scopeIdentifier, hubName = hubName, planId = planId }; | ||
object routeValues = new { scopeIdentifier = scopeIdentifier, hubName = hubName, planId = planId, jobId = jobId }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this new route without versioning break compat between the latest runner and old GHES.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is a query parameter change without route value , would it still break the compat and do we need GHES testing in that case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest you always test GHES with any REST API changes.
Co-authored-by: Lokesh Gopu <[email protected]>
Context
In order to have the job level telemetry in the github warehouse,
jobId
need to be passed to this table -hive_hydro.hydro.github_actions_v0_resolve_action_request
Implementation
jobId
is being passed as a query parameter to the controller while downloading the actions info.jobId
will be accepted and added tohive_hydro.hydro.github_actions_v0_resolve_action_request
.jobId
(executionContext.Root.Id
) by matching it with the one from CustomerIntelligenceHelper.cs👉ADR for detailed implementation.
Tracking items -
Other PRs