Skip to content

workflowRunId and requestId in listener logs always 0 as of May 28th 4:41 PM #4110

Open
@swmbuildserver

Description

@swmbuildserver

Checks

Controller Version

0.11.0

Deployment Method

Helm

Checks

  • This isn't a question or user support case (For Q&A and community support, go to Discussions).
  • I've read the Changelog before submitting this issue and I'm sure it's not due to any recently-introduced backward-incompatible changes

To Reproduce

Check logs of type "Updating job info" produced by listener.
They contain json formatted information in LogMessage which contains workflowRunId and requestId.
As of May 28th 4:41PM CET these values always show up as 0 when before they used to contain a valid id.

Describe the bug

The workflowRunId and the requestId shown in log messages produced by the listener are no longer containing valid Ids but are always 0.
This seems not be caused by a code change in the actions-runner-controller repository but rather by a change in the behavior of github.com as it happened suddenly and without any changes of the runner scaleset infrastructure on our side.
Also, the same runnerscaleset infrastructure running against a self hosted GitHub Enterprise instance is still showing the correct values.

Describe the expected behavior

The workflowRunId and requestId given in the json formatted part of listener log messages should contain correct ids, to make it possible to for example build a URL to access the log file for the workflow run.
We are using queries against the listener log files which join the begin message of a workflow run to the end message by joining them on the unique workflowRunId. Currently this does not work anymore.

Additional Context

Log File Queries:
let orgName="swm-dev";
ContainerLogV2
| where TimeGenerated between (datetime(2025-05-28T16:41:00) .. datetime(2025-05-28T17:07:00))
| where LogMessage contains ("Updating job info")
| where parse_json(replace_regex(tostring(LogMessage), @"^[^\{]*", '')).runnerName matches regex (iff(orgName == "dependabot", "dependabot-[a-z0-9]{5}-runner-[a-z0-9]{5}", strcat("arc-runner-set-", orgName, "-[a-z0-9]{5}-runner-[a-z0-9]{5}")))
| project TimeGenerated, tostring(parse_json(replace_regex(tostring(LogMessage), @"^[^\{]*", '')))

showing the moment the problem started occurring:

5/28/2025, 4:41:44.957 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-dzhh7","ownerName":"swm-dev","repoName":"mvgo-test","workflowRef":"swm-dev/mvgo-test/.github/workflows/integration-test.yml@refs/heads/develop","workflowRunId":15305734658,"jobDisplayName":"setup-and-run-tests (test, false)","requestId":885777}
5/28/2025, 4:41:32.246 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-qhv8z","ownerName":"swm-dev","repoName":"mvgo-test","workflowRef":"swm-dev/mvgo-test/.github/workflows/integration-test.yml@refs/heads/develop","workflowRunId":15305734658,"jobDisplayName":"setup-and-run-tests (prod, false)","requestId":885776}
5/28/2025, 4:54:01.048 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-5wztn","ownerName":"swm-dev","repoName":"mvgo-test","workflowRef":"swm-dev/mvgo-test/.github/workflows/integration-test.yml@refs/heads/develop","workflowRunId":0,"jobDisplayName":"","requestId":0}
5/28/2025, 4:54:01.060 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-v9666","ownerName":"swm-dev","repoName":"mvgo-test","workflowRef":"swm-dev/mvgo-test/.github/workflows/integration-test.yml@refs/heads/develop","workflowRunId":0,"jobDisplayName":"","requestId":0}
5/28/2025, 5:01:19.322 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-hchcd","ownerName":"swm-dev","repoName":"beauskunftung-workflows","workflowRef":"swm-dev/beauskunftung-workflows/.github/workflows/end2end-test-by-stage.yml@refs/heads/main","workflowRunId":0,"jobDisplayName":"","requestId":0}
5/28/2025, 5:02:27.609 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-b6l8r","ownerName":"swm-dev","repoName":"ng-backbone-workflows","workflowRef":"swm-dev/ng-backbone-workflows/.github/workflows/ping-status-systemcomponents.yaml@refs/heads/main","workflowRunId":0,"jobDisplayName":"","requestId":0}
5/28/2025, 5:06:57.359 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-x5nsg","ownerName":"swm-dev","repoName":"beauskunftung-workflows","workflowRef":"swm-dev/beauskunftung-workflows/.github/workflows/end2end-test-by-stage.yml@refs/heads/main","workflowRunId":0,"jobDisplayName":"","requestId":0}
5/28/2025, 5:06:59.462 PM
{"runnerName":"arc-runner-set-swm-dev-47r2m-runner-j2nc7","ownerName":"swm-dev","repoName":"mvgo-test","workflowRef":"swm-dev/mvgo-test/.github/workflows/integration-test.yml@refs/heads/develop","workflowRunId":0,"jobDisplayName":"","requestId":0}

Controller Logs

https://gist.github.com/swmbuildserver/51fc30a9d43b6a7dfed064c30ea5088b#file-gistfile1-txt

Runner Pod Logs

https://gist.github.com/swmbuildserver/02804247e773242789be938ece18d3c2#file-gistfile1-txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggha-runner-scale-setRelated to the gha-runner-scale-set mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions