Title: Detect Agent.Worker.exe by robertbrignull · Pull Request #299 · github/codeql-action · GitHub
Open Graph Title: Detect Agent.Worker.exe by robertbrignull · Pull Request #299 · github/codeql-action
X Title: Detect Agent.Worker.exe by robertbrignull · Pull Request #299 · github/codeql-action
Description: I've done some experimentation on Azure Pipelines and it's very similar to actions. What a surprise... Here's a process tree I captured Found process: Win32_Process: powershell.exe (Handle = "4012") Found process: Win32_Process: powershell.exe (Handle = "3992") Found process: Win32_Process: Agent.Worker.exe (Handle = "840") Found process: Win32_Process: Agent.Listener.exe (Handle = "5968") Found process: Win32_Process: provisioner.exe (Handle = "5476") Found process: Win32_Process: svchost.exe (Handle = "1756") Found process: Win32_Process: services.exe (Handle = "728") Found process: Win32_Process: wininit.exe (Handle = "592") If you run this a few times in the same job then everything before Agent.Worker.exe changes each time. This quite closely mirrors GtiHub Actions where you get a Runner.Worker.exe and Runner.Listener.exe process. The "worker" lives for the length of one job, and the "listener" persists between multiple jobs (at least on a self-hosted runner). This PR just updates our current detection of GH Actions to also detect Azure Pipelines. This will be a benefit because I think with the current default of just going down three processes it'll hit Agent.Listener.exe and this isn't what we want for self-hosted runners as it'll affect the next job as well. For cloud-hosted it doesn't matter as the whole VM is wiped. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.
Open Graph Description: I've done some experimentation on Azure Pipelines and it's very similar to actions. What a surprise... Here's a process tree I captured Found process: Win32_Process: powershell.exe (Han...
X Description: I've done some experimentation on Azure Pipelines and it's very similar to actions. What a surprise... Here's a process tree I captured Found process: Win32_Process: powersh...
Opengraph URL: https://github.com/github/codeql-action/pull/299
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2fff9e9f-ac87-e514-9c63-4bfa63b7a40b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9CCA:2BF803:7AE36E:B0866F:6A5494BB |
| html-safe-nonce | 99b7e00434d4f89f179bc28d51e76aabe0fe2062a2cb5ef58604fefd254ca78b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0NBOjJCRjgwMzo3QUUzNkU6QjA4NjZGOjZBNTQ5NEJCIiwidmlzaXRvcl9pZCI6IjcxODY2NDI1NjYyNzE3Njc3MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 748397b45aa4247df0ae3a42291d9dde42eb30ea7b26d52526883251ba487160 |
| hovercard-subject-tag | pull_request:518608854 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/299/files |
| twitter:image | https://avatars.githubusercontent.com/u/3749000?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3749000?s=400&v=4 |
| og:image:alt | I've done some experimentation on Azure Pipelines and it's very similar to actions. What a surprise... Here's a process tree I captured Found process: Win32_Process: powershell.exe (Han... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width