Compare commits

...

19 Commits

Author SHA1 Message Date
Service account
bded2fdf47 Update versions-manifest 2026-01-14 03:55:54 +00:00
Haritha
b845aa0df4 Log retrieval logic update (#232)
* Update log retrieval logic in Node.Tests.ps1

Refactor Get-UseNodeLogs function to find logs in runner root directory instead of home directory.

* Update comment to reflect the correct directory

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Modify path retrieval logic

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 21:48:59 -06:00
github-actions[bot]
4175843c81 Update versions-manifest (#231)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-12-11 11:59:01 -06:00
Haritha
ff3fc4cc4e Add new path for ubuntu runner (#230) 2025-12-11 10:57:18 -06:00
github-actions[bot]
5c7702bb19 Update versions-manifest (#229)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-11-25 21:14:19 -06:00
github-actions[bot]
318aa75a51 Update versions-manifest (#227)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-11-11 21:47:48 -06:00
github-actions[bot]
7cc031e877 Update versions-manifest (#226)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-28 22:30:14 -05:00
github-actions[bot]
b9b8a06ea4 Update versions-manifest (#225)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-20 23:23:18 -05:00
github-actions[bot]
64801c3590 Update versions-manifest (#224)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-10-12 22:23:31 -05:00
github-actions[bot]
a2eca09038 Update versions-manifest (#222)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-25 22:25:58 -05:00
github-actions[bot]
fcfdeb317e Update versions-manifest (#221)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-24 22:41:02 -05:00
github-actions[bot]
b32305dc94 Update versions-manifest (#220)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-10 22:10:12 -05:00
github-actions[bot]
018c97355d Update versions-manifest (#219)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-03 23:26:34 -05:00
github-actions[bot]
82b9d6eb7f Update versions-manifest (#218)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-28 22:12:39 -05:00
github-actions[bot]
6c1dcef7e3 Update versions-manifest (#217)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-27 22:08:47 -05:00
github-actions[bot]
414aa4b42d Update versions-manifest (#216)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-14 22:50:37 -05:00
Haritha
05932b3923 Change schedule (#215) 2025-08-05 13:35:12 -05:00
github-actions[bot]
8bc7882285 Update versions-manifest (#214)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-03 21:35:21 -05:00
github-actions[bot]
447f233d8c Update versions-manifest (#213)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-07-16 09:19:10 -05:00
3 changed files with 994 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
name: Get Node versions
on:
schedule:
- cron: '0 3,15 * * *'
- cron: '0 0,12 * * *'
workflow_dispatch:
jobs:
@@ -10,4 +10,4 @@ jobs:
with:
tool-name: "Node"
image-url: "https://nodejs.org/static/images/logo-hexagon-card.png"
secrets: inherit
secrets: inherit

View File

@@ -6,16 +6,25 @@ Describe "Node.js" {
BeforeAll {
function Get-UseNodeLogs {
# GitHub Windows images don't have `HOME` variable
$homeDir = $env:HOME ?? $env:HOMEDRIVE
$possiblePaths = @(
Join-Path -Path $homeDir -ChildPath "actions-runner/cached/_diag/pages"
Join-Path -Path $homeDir -ChildPath "runners/*/_diag/pages"
)
$runnerProc = Get-Process -Name "Runner.Listener" -ErrorAction SilentlyContinue | Select-Object -First 1
#Write-Host "`$runnerProc: $($runnerProc | Out-String)"
if (-not $runnerProc -or -not $runnerProc.Path) {
Write-Error "Runner.Listener process not found."
return
}
# Go up two directories to get runner root
$runnerRoot = Split-Path (Split-Path $runnerProc.Path -Parent) -Parent
#Write-Host "`$runnerRoot: $runnerRoot"
# Recursively find all _diag/pages folders under the runner root directory
$possiblePaths = Get-ChildItem -Path $runnerRoot -Directory -Recurse -Depth 4 -ErrorAction SilentlyContinue |
Where-Object { $_.FullName -like "*_diag\pages" -or $_.FullName -like "*_diag/pages" }
Write-Host "LogsPaths:"
$possiblePaths | ForEach-Object { Write-Host $_.FullName }
$logsFolderPath = $possiblePaths | Where-Object { Test-Path $_ } | Select-Object -First 1
$resolvedPath = Resolve-Path -Path $logsFolderPath -ErrorAction SilentlyContinue
if ($logsFolderPath) {
$resolvedPath = Resolve-Path -Path $logsFolderPath -ErrorAction SilentlyContinue
}
if ($resolvedPath -and -not [string]::IsNullOrEmpty($resolvedPath.Path) -and (Test-Path $resolvedPath.Path)) {
$useNodeLogFile = Get-ChildItem -Path $resolvedPath | Where-Object {

File diff suppressed because it is too large Load Diff