Switch the engineering client to M10 sessions (M10.5c)
Foundation / checks (checks) (push) Successful in 32m47s
Foundation / checks (client) (push) Failing after 10m1s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (network) (push) Successful in 11m18s
Foundation / checks (postgres) (push) Successful in 40m20s
Foundation / checks (tsan) (push) Successful in 7m46s
Foundation / postgres-tools (push) Skipped
Foundation / image (push) Skipped
Foundation / server-image (push) Skipped
Foundation / checks (checks) (push) Successful in 32m47s
Foundation / checks (client) (push) Failing after 10m1s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (network) (push) Successful in 11m18s
Foundation / checks (postgres) (push) Successful in 40m20s
Foundation / checks (tsan) (push) Successful in 7m46s
Foundation / postgres-tools (push) Skipped
Foundation / image (push) Skipped
Foundation / server-image (push) Skipped
evo-client's remote mode now runs over RegionSessionClient (QUIC, session v2): snapshot-fed environment and organism views, the camera following the server's view until the user moves it and then driving the interest, intention records with a simulated state, and reconnects with the next grant of a bundle. The launcher reads 160-byte M10 grants and defaults to the dev route. - quic::resolve_ipv4 shared by the client and evo-session-probe - evo-session-probe grants: owner-only bundles of 1-64 grants - evo-server --m10-max-grant-lifetime (dev only, 60..3600 s) - presets client-network/client-package build QUIC; msquic links the CRT fully static; msquic.dll and msquic/OpenSSL licences in the Windows package - client-remote-session test against a loopback region - ADR-0093/0091/0086 amendments, M10_CLIENT_SESSIONS guide, validation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,6 +59,10 @@ $build = Join-Path $root 'build\client-package'
|
||||
if ($Clean -and (Test-Path -LiteralPath $build)) { Remove-Item -LiteralPath $build -Recurse -Force }
|
||||
$log = Join-Path $root 'build\client-package.log'
|
||||
New-Item -ItemType Directory -Force (Split-Path -Parent $log) | Out-Null
|
||||
# msquic builds OpenSSL with nmake, outside CMake's /Brepro (M10.5c): cl.exe also reads
|
||||
# options from CL, and OpenSSL's build-date string honours SOURCE_DATE_EPOCH (commit time).
|
||||
$env:CL = '/Brepro'
|
||||
$env:SOURCE_DATE_EPOCH = "$epoch"
|
||||
# A separate process (stderr in its own file): Windows PowerShell 5.1 would turn
|
||||
# harmless native stderr lines into terminating errors here.
|
||||
$check = Start-Process -FilePath 'powershell.exe' -NoNewWindow -Wait -PassThru `
|
||||
@@ -68,7 +72,7 @@ $check = Start-Process -FilePath 'powershell.exe' -NoNewWindow -Wait -PassThru `
|
||||
if ($check.ExitCode -ne 0) { throw "Package build or tests failed; see $log and $log.err" }
|
||||
$summary = Select-String -LiteralPath $log -Pattern '(\d+)% tests passed, (\d+) tests failed out of (\d+)' | Select-Object -Last 1
|
||||
if (!$summary -or $summary.Matches[0].Groups[2].Value -ne '0') { throw "No passing test summary in $log" }
|
||||
$tests = "client-package CTest (labels client|network): $($summary.Matches[0].Groups[3].Value) passed, 0 failed"
|
||||
$tests = "client-package CTest (labels client|network|quic-session): $($summary.Matches[0].Groups[3].Value) passed, 0 failed"
|
||||
|
||||
$exe = Join-Path $build 'evo-client.exe'
|
||||
$version = (& $exe --version | Out-String).Trim()
|
||||
@@ -88,10 +92,13 @@ $compiler = $matches[1]
|
||||
$sdlVersion = Read-Pin 'sdl3-pin.cmake' 'EVO_SDL_VERSION'
|
||||
$imguiVersion = Read-Pin 'imgui-pin.cmake' 'EVO_IMGUI_VERSION'
|
||||
$mbedVersion = Read-Pin 'mbedtls-pin.cmake' 'EVO_MBEDTLS_VERSION'
|
||||
$msquicVersion = Read-Pin 'msquic-pin.cmake' 'EVO_MSQUIC_VERSION'
|
||||
$opensslVersion = Read-Pin 'msquic-pin.cmake' 'EVO_OPENSSL_VERSION'
|
||||
$sdl = Join-Path $root "build\external\sdl3\SDL3-$sdlVersion"
|
||||
$imgui = Join-Path $root "build\external\imgui\imgui-$imguiVersion"
|
||||
$mbed = Join-Path $root "build\external\mbedtls\mbedtls-$mbedVersion"
|
||||
foreach ($source in @($sdl, $imgui, $mbed)) {
|
||||
$msquic = Join-Path $root "build\external\msquic\msquic-$msquicVersion"
|
||||
foreach ($source in @($sdl, $imgui, $mbed, $msquic)) {
|
||||
if (!(Test-Path -LiteralPath (Join-Path $source 'evo-verified.sha256'))) { throw "Unverified dependency source: $source" }
|
||||
}
|
||||
|
||||
@@ -102,6 +109,7 @@ $licenses = Join-Path $stage 'LICENSES'
|
||||
New-Item -ItemType Directory -Force $licenses | Out-Null
|
||||
Copy-Item -LiteralPath $exe -Destination $stage
|
||||
Copy-Item -LiteralPath (Join-Path $build 'SDL3.dll') -Destination $stage
|
||||
Copy-Item -LiteralPath (Join-Path $build 'msquic.dll') -Destination $stage
|
||||
# Repository templates are re-written with CRLF so checkout line-ending settings
|
||||
# cannot change the package bytes.
|
||||
Write-Text (Join-Path $stage 'THIRD-PARTY-NOTICES.txt') ([IO.File]::ReadAllLines((Join-Path $PSScriptRoot 'THIRD-PARTY-NOTICES.txt')))
|
||||
@@ -127,6 +135,9 @@ Write-Text (Join-Path $licenses 'Khronos.txt') $khronosLines
|
||||
Write-Text (Join-Path $licenses 'Apache-2.0.txt') (
|
||||
Get-Block (Join-Path $mbed 'LICENSE') '^\s+Apache License\s*$' 'END OF TERMS AND CONDITIONS')
|
||||
Copy-Item -LiteralPath (Join-Path $mbed 'LICENSE') -Destination (Join-Path $licenses 'MbedTLS.txt')
|
||||
# msquic.dll (MIT) with OpenSSL (Apache-2.0) built static inside it (ADR-0090).
|
||||
Copy-Item -LiteralPath (Join-Path $msquic 'LICENSE') -Destination (Join-Path $licenses 'msquic.txt')
|
||||
Copy-Item -LiteralPath (Join-Path $msquic 'submodules\openssl\LICENSE.txt') -Destination (Join-Path $licenses 'OpenSSL.txt')
|
||||
Copy-Item -LiteralPath (Join-Path $imgui 'LICENSE.txt') -Destination (Join-Path $licenses 'DearImGui.txt')
|
||||
Copy-Item -LiteralPath (Join-Path $imgui 'docs\FONTS.md') -Destination (Join-Path $licenses 'DearImGui-FONTS.md')
|
||||
$draw = Join-Path $imgui 'imgui_draw.cpp'
|
||||
@@ -159,6 +170,8 @@ Write-Text (Join-Path $stage 'BUILD-INFO.txt') @(
|
||||
"sdl3: $sdlVersion sha256=$(& $pin 'sdl3-pin.cmake' 'EVO_SDL_SHA256')",
|
||||
"dear_imgui: $imguiVersion sha256=$(& $pin 'imgui-pin.cmake' 'EVO_IMGUI_SHA256')",
|
||||
"mbedtls: $mbedVersion sha256=$(& $pin 'mbedtls-pin.cmake' 'EVO_MBEDTLS_SHA256')",
|
||||
"msquic: $msquicVersion sha256=$(& $pin 'msquic-pin.cmake' 'EVO_MSQUIC_SHA256')",
|
||||
"openssl: $opensslVersion sha256=$(& $pin 'msquic-pin.cmake' 'EVO_OPENSSL_SHA256')",
|
||||
"tests: $tests",
|
||||
"version_output: $version")
|
||||
|
||||
@@ -169,7 +182,7 @@ $sums = foreach ($relative in (Get-RelativeFiles $stage)) {
|
||||
|
||||
Assert-PackageContent $stage
|
||||
Assert-NoSecrets $stage
|
||||
foreach ($binary in @('evo-client.exe', 'SDL3.dll')) { Assert-AllowedImports (Join-Path $stage $binary) }
|
||||
foreach ($binary in $script:PackageImages) { Assert-AllowedImports (Join-Path $stage $binary) }
|
||||
|
||||
# Deterministic ZIP: sorted entries under one top folder, commit time stamps.
|
||||
Add-Type -AssemblyName System.IO.Compression
|
||||
|
||||
Reference in New Issue
Block a user