From 942acfbc30935a5cdd12c87ab7972ce991f57de3 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Tue, 6 Oct 2026 16:51:16 +0000 Subject: [PATCH] Ember re-point playbook: the helper.log line is read as an array element, not the last character of a string (the run printed helper_log=r) Co-Authored-By: Claude Fable 5.1 --- relay/playbooks/ember-helper-repoint-pc1.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/playbooks/ember-helper-repoint-pc1.ps1 b/relay/playbooks/ember-helper-repoint-pc1.ps1 index 0b20f1929..f2b1f56b1 100644 --- a/relay/playbooks/ember-helper-repoint-pc1.ps1 +++ b/relay/playbooks/ember-helper-repoint-pc1.ps1 @@ -41,7 +41,7 @@ else { $got = '' for ($i = 0; $i -lt 30; $i++) { Start-Sleep -Seconds 2 - if (Test-Path -LiteralPath $hlog) { $lines = @(Get-Content -LiteralPath $hlog); if ($lines.Count -gt $mark) { $new = $lines[$mark..($lines.Count - 1)] | Where-Object { $_ -match 'reregister' }; if ($new) { $got = [string]$new[-1]; break } } } + if (Test-Path -LiteralPath $hlog) { $lines = @(Get-Content -LiteralPath $hlog); if ($lines.Count -gt $mark) { $new = @($lines[$mark..($lines.Count - 1)] | Where-Object { $_ -match 'reregister' }); if ($new.Count -gt 0) { $got = [string]$new[$new.Count - 1]; break } } } } Write-Output ('RESULT TUNE helper_log=' + $(if ($got) { $got } else { 'no reregister line within 60 s' })) }