Skip to content

Publish job telemetry to run-service. - #3545

Merged
TingluoHuang merged 2 commits into
mainfrom
users/tihuang/jobtelemetry
Nov 8, 2024
Merged

TingluoHuang merged 2 commits into
mainfrom
users/tihuang/jobtelemetry

Conversation

@TingluoHuang

Copy link
Copy Markdown
Member

@TingluoHuang
TingluoHuang requested a review from a team as a code owner November 7, 2024 23:56
TaskResult result = jobContext.Complete(taskResult);

await ShutdownQueue(throwOnFailure: false);
var jobQueueTelemetry = await ShutdownQueue(throwOnFailure: false);

Copy link
Copy Markdown
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.

if (_runnerSettings.DisableUpdate == true)
{
try
{

Copy link
Copy Markdown
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
@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