Fix flaky stats-batch tests and extend Crucible E2E LOTL coverage.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Stop the stats batch timer in unit tests before reading pending coalesced state, teach the Playwright stub agent to emit lotl_tier stats, and prefer server/webroot so phase-8 E2E serves the current frontend build.
This commit is contained in:
@@ -172,7 +172,14 @@ if (-not $SkipE2E) {
|
||||
$env:AETHERFORGE_E2E_USER = $E2EUser
|
||||
$env:AETHERFORGE_E2E_PASS = $E2EPass
|
||||
$WebRoot = Join-Path $Root "server\webroot"
|
||||
Copy-Item (Join-Path $Root "server\web\dist\*") $WebRoot -Recurse -Force -ErrorAction SilentlyContinue
|
||||
# Vite outDir is server/webroot; sync to legacy dist so findWebRoot fallbacks stay fresh.
|
||||
$DistDir = Join-Path $Root "server\web\dist"
|
||||
if (Test-Path $WebRoot) {
|
||||
New-Item -ItemType Directory -Force -Path $DistDir | Out-Null
|
||||
Copy-Item (Join-Path $WebRoot "*") $DistDir -Recurse -Force -ErrorAction SilentlyContinue
|
||||
} elseif (Test-Path (Join-Path $Root "server\web\dist")) {
|
||||
Copy-Item (Join-Path $Root "server\web\dist\*") $WebRoot -Recurse -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
$ServerExe = Join-Path $Root "bin\miner-server.exe"
|
||||
if (-not (Test-Path $ServerExe)) {
|
||||
Push-Location (Join-Path $Root "server")
|
||||
|
||||
Reference in New Issue
Block a user