From 1f75ce05059ae38752fea43fb425905c78723c92 Mon Sep 17 00:00:00 2001 From: Erik Date: Sat, 22 Aug 2026 13:34:36 +0200 Subject: [PATCH] fix(gates): initialize connected soak artifacts before isolation --- .../Diagnostics/ConnectedWorldSoakRouteContractTests.cs | 3 +++ tools/run-connected-r6-soak.ps1 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/AcDream.App.Tests/Diagnostics/ConnectedWorldSoakRouteContractTests.cs b/tests/AcDream.App.Tests/Diagnostics/ConnectedWorldSoakRouteContractTests.cs index 1d203ded..76282efb 100644 --- a/tests/AcDream.App.Tests/Diagnostics/ConnectedWorldSoakRouteContractTests.cs +++ b/tests/AcDream.App.Tests/Diagnostics/ConnectedWorldSoakRouteContractTests.cs @@ -418,6 +418,9 @@ public sealed class ConnectedWorldSoakRouteContractTests AssertAppearsInOrder( source, + "$artifactDir = \"$prefix.artifacts\"", + "$null = New-Item -ItemType Directory -Force -Path $artifactDir", + "$renderPackGate = New-ConnectedRenderPackGateState", "Get-ChildItem Env: | Where-Object { $_.Name -like 'ACDREAM_*' }", "Join-Path $artifactDir 'env-disclosure.json'", "try {"); diff --git a/tools/run-connected-r6-soak.ps1 b/tools/run-connected-r6-soak.ps1 index f3812cd2..3bfdbee7 100644 --- a/tools/run-connected-r6-soak.ps1 +++ b/tools/run-connected-r6-soak.ps1 @@ -72,6 +72,7 @@ $markerLog = "$prefix.markers.log" $sampleCsv = "$prefix.samples.csv" $reportJson = "$prefix.report.json" $artifactDir = "$prefix.artifacts" +$null = New-Item -ItemType Directory -Force -Path $artifactDir $collisionShadowDir = Join-Path $artifactDir 'collision-shadow' $checkpointTimeline = Join-Path $artifactDir 'world-lifecycle.checkpoints.jsonl' $frameHistory = Join-Path $artifactDir 'frame-history.csv' @@ -776,7 +777,6 @@ $env:ACDREAM_COLLISION_SHADOW_DIR = # ACDREAM_DUMP_MOVE_TRUTH because nothing else the script sets was # recorded anywhere). Written into the automation artifact directory # BEFORE launch so a failed/aborted run still leaves the disclosure behind. -$null = New-Item -ItemType Directory -Force -Path $artifactDir $acdreamEnvVars = Get-ChildItem Env: | Where-Object { $_.Name -like 'ACDREAM_*' } | Sort-Object Name | ForEach-Object {