Skip to content

Conversation

TingluoHuang
Copy link
Member

@TingluoHuang TingluoHuang requested a review from a team as a code owner November 7, 2024 23:56
@@ -279,7 +280,12 @@ private async Task<TaskResult> CompleteJobAsync(IRunServer runServer, IExecution
jobContext.Debug($"Finishing: {message.JobDisplayName}");
TaskResult result = jobContext.Complete(taskResult);

await ShutdownQueue(throwOnFailure: false);
var jobQueueTelemetry = await ShutdownQueue(throwOnFailure: false);
Copy link
Member Author

Choose a reason for hiding this comment

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

match the behavior for sending job complete to actions service.

@@ -329,49 +342,7 @@ private async Task<TaskResult> CompleteJobAsync(IJobServer jobServer, IExecution

if (_runnerSettings.DisableUpdate == true)
{
try
{
Copy link
Member Author

Choose a reason for hiding this comment

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

i moved this to its own method in the bottom of the file, so i can easily diff the different between send job completion to run-service vs. actions-service.

@TingluoHuang TingluoHuang merged commit 6ef5803 into main Nov 8, 2024
9 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/jobtelemetry branch November 8, 2024 02:00
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.

2 participants