Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Ship the actual desktop app with shared runtime libraries
Yuechen Li76d3c7682fae
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.ymlindex 53788a34..140eaafc 100644--- a/.github/workflows/dotnet.yml+++ b/.github/workflows/dotnet.yml@@ -201,6 +201,19 @@ jobs:Copy-Item '${{ github.workspace }}/fixtures/Canonical/Drawings/bearing-block-production-drawing.firmament' drawing.firmament& $cli drawing compile drawing.firmament --out-dir drawing-out --jsonif (-not (Test-Path drawing-out/*.pdf) -or -not (Test-Path drawing-out/*.pptx)) { throw 'Drawing PDF/PPTX smoke outputs missing.' }+ - uses: actions/setup-node@v4+ if: runner.os == 'Windows'+ with:+ node-version: 24+ - name: Launch the actual extracted desktop with no arguments+ if: runner.os == 'Windows'+ shell: pwsh+ env:+ CADMATA_QUALIFICATION_LAUNCH_ONLY: '1'+ run: |+ $PSNativeCommandUseErrorActionPreference = $true+ npm ci --prefix test-support/CadmataDesktopSmoke --ignore-scripts+ node scripts/qualify-cadmata-portable.mts extracted/Aetheris-win-x64 artifacts/local/desktop-no-argument-smoke test-support/CadmataDesktopSmoke/node_modules/playwright-core/index.mjs smoke.step- name: Install and exercise the portable toolshell: pwshrun: |diff --git a/Aetheris.Cadmata.Desktop/Aetheris.Cadmata.Desktop.csproj b/Aetheris.Cadmata.Desktop/Aetheris.Cadmata.Desktop.csprojindex e8e6164a..0bc99108 100644--- a/Aetheris.Cadmata.Desktop/Aetheris.Cadmata.Desktop.csproj+++ b/Aetheris.Cadmata.Desktop/Aetheris.Cadmata.Desktop.csproj@@ -5,7 +5,7 @@<EnableWindowsTargeting>true</EnableWindowsTargeting><UseWindowsForms>true</UseWindowsForms><AssemblyName>Cadmata.Desktop</AssemblyName>- <Product>Cadmata — Aetheris Preview 4</Product>+ <Product>Cadmata — Aetheris</Product><Description>Portable Windows host for Cadmata</Description><PublishTrimmed>false</PublishTrimmed></PropertyGroup>diff --git a/Aetheris.Cadmata.Desktop/Program.cs b/Aetheris.Cadmata.Desktop/Program.csindex 07a06bf3..d2ffb1c9 100644--- a/Aetheris.Cadmata.Desktop/Program.cs+++ b/Aetheris.Cadmata.Desktop/Program.cs@@ -56,12 +56,12 @@ internal sealed class CadmataWindow : Form_args = args;_log = log;_profile = System.IO.Path.Combine(log.DataRoot, "sessions", Guid.NewGuid().ToString("N"));- Text = "Cadmata — Aetheris Preview 4";+ Text = "Cadmata — Aetheris " + Program.BuildIdentity.Split('+')[0];Width = 1440; Height = 960; MinimumSize = new Size(900, 600);Controls.Add(_view); Controls.Add(_status);var menu = new MenuStrip();menu.Items.Add("About Cadmata", null, (_, _) => MessageBox.Show(- $"Cadmata — Aetheris Preview 4\n{Program.BuildIdentity}\n\nLogs: {_log.Path}\nSource: https://github.com/yuechen-li-dev/Aetheris",+ $"Cadmata — Aetheris\n{Program.BuildIdentity}\n\nLogs: {_log.Path}\nSource: https://github.com/yuechen-li-dev/Aetheris","About Cadmata"));menu.Items.Add("Open diagnostic log", null, (_, _) => Process.Start(new ProcessStartInfo(_log.Path) { UseShellExecute = true }));Controls.Add(menu); MainMenuStrip = menu;diff --git a/Aetheris.Cadmata.Desktop/licenses/react-three-fiber-9.8.2-LICENSE.txt b/Aetheris.Cadmata.Desktop/licenses/react-three-fiber-9.8.2-LICENSE.txtnew file mode 100644index 00000000..493cfb3c--- /dev/null+++ b/Aetheris.Cadmata.Desktop/licenses/react-three-fiber-9.8.2-LICENSE.txt@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2019-2025 Poimandres++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/Aetheris.Cadmata.Desktop/licenses/supplemental-sources.json b/Aetheris.Cadmata.Desktop/licenses/supplemental-sources.jsonindex 77ad82a0..4d20cabd 100644--- a/Aetheris.Cadmata.Desktop/licenses/supplemental-sources.json+++ b/Aetheris.Cadmata.Desktop/licenses/supplemental-sources.json@@ -64,5 +64,11 @@"file": "copeland-GPL-3.0.txt","url": "https://raw.githubusercontent.com/yuechen-li-dev/Copeland/70b6cbe742ecfb2947c9c6a31cfa8e1d3a89067b/LICENSE","sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"+ },+ {+ "identity": "@react-three/[email protected]",+ "file": "react-three-fiber-9.8.2-LICENSE.txt",+ "url": "https://raw.githubusercontent.com/pmndrs/react-three-fiber/v9.8.2/LICENSE",+ "sha256": "9c35b5de7b7493a707fffe4eb23bd2f7f449153c1911f7c6eefb4e591fd5349a"}]diff --git a/docs/development/reports/2026-10/RELEASE-2.0.0-CLOSEOUT.md b/docs/development/reports/2026-10/RELEASE-2.0.0-CLOSEOUT.mdindex ff017260..530c1705 100644--- a/docs/development/reports/2026-10/RELEASE-2.0.0-CLOSEOUT.md+++ b/docs/development/reports/2026-10/RELEASE-2.0.0-CLOSEOUT.md@@ -1,6 +1,35 @@# Aetheris 2.0.0 release qualification-**Success: the complete 2.0.0 release candidate is qualified.**+**Release qualification reopened: the user reproduced a desktop launch blocker.**++The previous candidate shipped the headless server as Cadmata. With no arguments+it opens no window and binds port 5000, which can already be occupied. The+headless HTTP smoke did not prove desktop launch. Separate self-contained CLI+and server publishes also duplicated 215 DLL names. The historical evidence+below remains valid for its stated automated paths; the desktop distribution+is not accepted until its actual no-argument apphost is requalified.++The repair publishes Aetheris.Cadmata.Desktop, gives its apphost the public+Cadmata.exe name, and keeps the explicit headless entry as Cadmata.Server.exe.+CLI/desktop dependencies occupy one root. Different WindowsDesktop framework+facades are selected from SDK runtime-pack ownership; conflicting application+DLLs fail packaging. Production frontend files, the existing pinned WebView2+runtime, sample and redistribution notices are included. The standalone CLI+NuGet tool does not acquire WebView2.++Local actual-window tests now pass no-argument launch, authenticated local+service, WebGPU rendering, orbit/selection, current generated STEP import,+canonical export/reimport, invalid-file retention and native close/service+shutdown. Evidence: desktop-repair/full-ui-test-v2/qualification.json. The+first exploratory import used an older STEP whose orientation diagnostics are+Degraded; that refusal of the test's Qualified expectation is preserved under+desktop-repair/full-ui-test and was not hidden by weakening its assertion.+The current through-hole build remains SHA256+5999f127e5a1477e5825afa656dceb7f89241d8f85312b0e6bcd793639a0f548.++Full requalification of a freshly rebuilt ZIP is still pending. The previous+133 MB ZIP omitted the actual desktop/browser; its size and hashes below must+not be assigned to the corrected distribution.Distribution candidate: `69bcc6bbd839fe2ce2a4e1bbd9231f28cd719286`.Baseline: `b05cca40ec3efd7540c647398892953299d2c136`.@@ -217,7 +246,7 @@ crash minidumps; deletion requires the user's explicit -Apply invocation.## Executive verdict-**Success — accepted release candidate for Aetheris 2.0.0.** The four original+**Superseded automated-candidate verdict; desktop release blocked.** The four originalpackaging blockers are closed, the reproduced admission/diagnostic defects arerepaired, and the complete distribution passes its real hosted production path.Engineering parity holds for the qualified corpus.diff --git a/docs/public/cadmata/portable-windows.md b/docs/public/cadmata/portable-windows.mdindex 865cba2d..9c71c4b0 100644--- a/docs/public/cadmata/portable-windows.md+++ b/docs/public/cadmata/portable-windows.md@@ -1,8 +1,10 @@-# Cadmata — Aetheris Preview 4+# Cadmata — portable Windows application-Download `Cadmata-Preview4-win-x64.zip` from-[Aetheris Preview 4](https://github.com/yuechen-li-dev/Aetheris/releases/tag/v2.0.0-preview.4).-Extract the entire ZIP to a local folder. Run **Cadmata.exe**.+Download `Aetheris-2.0.0-win-x64.zip` from+[Aetheris releases](https://github.com/yuechen-li-dev/Aetheris/releases).+Extract the entire ZIP to a local folder. Open `Aetheris-win-x64` and run+**Cadmata.exe**. The CLI and desktop share their CAD and .NET libraries in this+folder; keep the `webview2` directory beside the executable.The included mounting block opens automatically. Use STEP 242 Viewer to openyour own STEP file and **Download Canonical 242** to save a canonical STEP file.@@ -21,7 +23,7 @@ on the qualification machine. If the viewport reports Windows Error 87,close Cadmata and extract the entire ZIP to an ASCII path before reopening.The executable is unsigned. Windows may display an unknown-publisher warning-for a downloaded ZIP. Preview 4 has no installer or automatic updater.+for a downloaded ZIP. The portable application has no installer or automatic updater.Download a newer ZIP to update the bundled browser/security runtime.About Cadmata shows the version and source identity. Open diagnostic log showsdiff --git a/docs/public/release-bundle.md b/docs/public/release-bundle.mdindex 80015409..902a9d3f 100644--- a/docs/public/release-bundle.md+++ b/docs/public/release-bundle.md@@ -2,6 +2,13 @@This bundle is the `win-x64` product distribution. Run commands from the `Aetheris-win-x64` directory.+Double-click `Cadmata.exe` in that directory to open the desktop application.+It hosts its own local service on a temporary loopback port and closes that+service with its window. The CLI and desktop share one set of .NET and CAD+libraries. The `webview2` directory contains the desktop's pinned offline browser;+keep it beside the executable. `Cadmata.Server.exe` is the explicit headless+server entry point, not the desktop application.+```powershell.\aetheris.exe --help.\aetheris.exe validate .\fixtures\Canonical\PMI\hole-diameter-and-datum.firmament --json@@ -12,7 +19,7 @@ This bundle is the `win-x64` product distribution. Run commands from the `Aether.\forge-host\Aetheris.Forge.Host.exe list```-The complete public guide is under `docs/public`, executable Firmament examples are under `fixtures`, foreign-language Forge clients are under `samples/forge-interop-x1`, and the deployed Standard Library material catalog is under `Materials`.+The complete public guide is under `docs/public`, executable Firmament examples are under `fixtures`, and foreign-language Forge clients are under `samples/forge-interop-x1`. The default material catalog is embedded in the managed libraries.The ZIP is the complete end-user distribution. The `Aetheris.CLI` tool package, its dependency-closed public library set, and `aetheris-firmament-0.3.0-preview.3.vsix` are published as separate release assets rather than duplicated inside the runtime tree. Verify downloaded binary assets against the release's `SHA256SUMS.txt`.diff --git a/scripts/Publish-CadmataDesktop.ps1 b/scripts/Publish-CadmataDesktop.ps1new file mode 100644index 00000000..f110b166--- /dev/null+++ b/scripts/Publish-CadmataDesktop.ps1@@ -0,0 +1,68 @@+param(+ [Parameter(Mandatory)][string]$BundleDirectory,+ [Parameter(Mandatory)][string]$WorkDirectory,+ [Parameter(Mandatory)][string]$Version,+ [string]$WebViewCab+)+$ErrorActionPreference = 'Stop'+$PSNativeCommandUseErrorActionPreference = $true+$repo = Split-Path $PSScriptRoot -Parent+$bundle = (Resolve-Path -LiteralPath $BundleDirectory).Path+$work = [IO.Path]::GetFullPath($WorkDirectory)+if (Test-Path -LiteralPath $work) { throw 'Use a fresh desktop publish work directory.' }+if (Test-Path -LiteralPath (Join-Path $bundle 'webview2')) { throw 'Use a fresh CLI bundle directory; desktop runtime is already present.' }+New-Item -ItemType Directory -Path $work | Out-Null+$publish = Join-Path $work 'publish'+dotnet publish (Join-Path $repo 'Aetheris.Cadmata.Desktop/Aetheris.Cadmata.Desktop.csproj') -c Release -r win-x64 --self-contained true -m:1 -nr:false -p:UseSharedCompilation=false -t:Rebuild -p:Version=$Version -p:DebugType=None -p:DebugSymbols=false -o $publish++# Keep the server entry point for explicit headless use; the public apphost is+# the existing WinForms/WebView2 desktop, not the server's similarly named exe.+Move-Item -LiteralPath (Join-Path $publish 'Cadmata.exe') -Destination (Join-Path $publish 'Cadmata.Server.exe')+Move-Item -LiteralPath (Join-Path $publish 'Cadmata.Desktop.exe') -Destination (Join-Path $publish 'Cadmata.exe')+Remove-Item -LiteralPath (Join-Path $publish 'Aetheris.Forge.Host.exe') -ErrorAction SilentlyContinue+$desktopDeps = Get-Content -LiteralPath (Join-Path $publish 'Cadmata.Desktop.deps.json') -Raw | ConvertFrom-Json+$runtimeTarget = $desktopDeps.targets.PSObject.Properties[$desktopDeps.runtimeTarget.name].Value+$desktopRuntime = @($runtimeTarget.PSObject.Properties | Where-Object Name -Like 'runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64/*')+if ($desktopRuntime.Count -ne 1) { throw 'Expected one SDK-resolved WindowsDesktop runtime pack.' }+$desktopRuntimeFiles = @($desktopRuntime[0].Value.runtime.PSObject.Properties.Name)+foreach ($file in Get-ChildItem -LiteralPath $publish -Recurse -File) {+ $relative = [IO.Path]::GetRelativePath($publish, $file.FullName)+ $destination = Join-Path $bundle $relative+ if (Test-Path -LiteralPath $destination) {+ if ((Get-FileHash -LiteralPath $destination).Hash -ne (Get-FileHash -LiteralPath $file.FullName).Hash) {+ # WindowsDesktop supplies the desktop-compatible framework facades+ # (for example System.Drawing) in place of the Core-only facades.+ # Use the SDK's resolved pack ownership, never override application+ # dependencies or guess compatibility from an assembly's name.+ if ($relative -notin $desktopRuntimeFiles) { throw "CLI and desktop publish incompatible shared files: $relative" }+ Copy-Item -LiteralPath $file.FullName -Destination $destination -Force+ }+ continue+ }+ New-Item -ItemType Directory -Force -Path (Split-Path $destination -Parent) | Out-Null+ Copy-Item -LiteralPath $file.FullName -Destination $destination+}++# Same pinned offline browser as the existing portable desktop distribution.+# WebView2 is the desktop UI runtime; it is not included in the CLI NuGet tool.+$runtimeVersion = '153.0.4234.48'+$runtimeUrl = 'https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/08cd33ee-d109-49b8-9301-9f0bea43c575/Microsoft.WebView2.FixedVersionRuntime.153.0.4234.48.x64.cab'+$runtimeHash = '11E8240CB0BC56DCD3E4498907203C251346F65107FE35A3A13E152C7D51C79E'+if (-not $WebViewCab) {+ $WebViewCab = Join-Path $work 'webview2-x64.cab'+ Invoke-WebRequest $runtimeUrl -OutFile $WebViewCab+}+if ((Get-FileHash -LiteralPath $WebViewCab -Algorithm SHA256).Hash -ne $runtimeHash) { throw 'Fixed WebView2 CAB hash mismatch.' }+$expanded = Join-Path $work 'runtime-expanded'+New-Item -ItemType Directory -Path $expanded | Out-Null+expand.exe $WebViewCab '-F:*' $expanded > (Join-Path $work 'runtime-expansion.log')+Copy-Item -LiteralPath (Join-Path $expanded "Microsoft.WebView2.FixedVersionRuntime.$runtimeVersion.x64") -Destination (Join-Path $bundle 'webview2') -Recurse+New-Item -ItemType Directory -Force -Path (Join-Path $bundle 'samples') | Out-Null+Copy-Item -LiteralPath (Join-Path $repo 'fixtures/Canonical/Integration/machined-mounting-block.firmament') -Destination (Join-Path $bundle 'samples/mounting-block.firmament')+$frontend = Join-Path $repo 'aetheris.client/dist'+if (-not (Test-Path -LiteralPath (Join-Path $frontend 'bundled-packages.json'))) { throw 'Build the production frontend before publishing the desktop.' }+New-Item -ItemType Directory -Force -Path (Join-Path $bundle 'wwwroot') | Out-Null+Get-ChildItem -LiteralPath $frontend | ForEach-Object { Copy-Item -LiteralPath $_.FullName -Destination (Join-Path $bundle 'wwwroot') -Recurse -Force }+$modified = [bool](git -C $repo status --porcelain)+@{version=$Version;identity="$Version+$(git -C $repo rev-parse HEAD)" + $(if ($modified) { '.modified' } else { '' });modifiedSource=$modified;webviewVersion=$runtimeVersion;webviewCabUrl=$runtimeUrl;webviewCabSha256=$runtimeHash} | ConvertTo-Json | Set-Content -LiteralPath (Join-Path $bundle 'BUILD-METADATA.json')+node (Join-Path $repo 'scripts/collect-cadmata-licenses.mts') $repo $bundle (Join-Path $repo 'Aetheris.Cadmata.Desktop/obj/project.assets.json')diff --git a/scripts/Test-CadmataBundle.ps1 b/scripts/Test-CadmataBundle.ps1index 8d7c8e67..023a63c0 100644--- a/scripts/Test-CadmataBundle.ps1+++ b/scripts/Test-CadmataBundle.ps1@@ -5,13 +5,15 @@ param()$ErrorActionPreference = 'Stop'$bundle = (Resolve-Path -LiteralPath $BundleDirectory).Path+if (Test-Path -LiteralPath (Join-Path $bundle 'cadmata')) { throw 'Obsolete duplicated server publish directory is present.' }+if (-not (Test-Path -LiteralPath (Join-Path $bundle 'Cadmata.Desktop.dll'))) { throw 'The actual desktop host is missing.' }$step = (Resolve-Path -LiteralPath $StepPath).Path$output = [IO.Path]::GetFullPath($OutputDirectory)if (Test-Path -LiteralPath $output) { throw 'Use a fresh smoke output directory.' }New-Item -ItemType Directory -Path $output | Out-Null$stdout = Join-Path $output 'cadmata.stdout.log'$stderr = Join-Path $output 'cadmata.stderr.log'-$hostPath = Join-Path $bundle 'cadmata/Cadmata.exe'+$hostPath = Join-Path $bundle 'Cadmata.Server.exe'# This test owns the child lifetime. It binds a temporary loopback port and# verifies the extracted production assets and STEP API without a dev server.diff --git a/scripts/collect-cadmata-licenses.mts b/scripts/collect-cadmata-licenses.mtsindex 49c59cb9..861fc0ca 100644--- a/scripts/collect-cadmata-licenses.mts+++ b/scripts/collect-cadmata-licenses.mts@@ -90,7 +90,7 @@ for (const [identity, library] of Object.entries(assets.libraries) as [string, {const key = repository[1].replace(/\.git$/, "") + "/" + repository[2];let license = fetched.get(key);if (!license) {- for (const name of ["LICENSE", "LICENSE.txt", "LICENSE.TXT", "LICENSE.md", "License.txt"]) {+ for (const name of ["LICENSE", "LICENSE.txt", "LICENSE.TXT", "LICENSE.md", "License.txt", "license.txt"]) {const url = `https://raw.githubusercontent.com/${key}/${name}`;const response = await fetch(url);if (!response.ok) continue;diff --git a/scripts/package-release.ps1 b/scripts/package-release.ps1index 9e4f66ee..14ab723a 100644--- a/scripts/package-release.ps1+++ b/scripts/package-release.ps1@@ -12,7 +12,8 @@ $env:MSBUILDDISABLENODEREUSE = '1'Add-Type -AssemblyName System.IO.Compression.FileSystem$repoRoot = Split-Path -Parent $PSScriptRoot$output = [System.IO.Path]::GetFullPath((Join-Path $repoRoot $OutputDirectory))-$stage = Join-Path $output 'stage'+$workRoot = "$output.work"+$stage = Join-Path $workRoot 'stage'function Normalize-ZipArchive([string]$Path, [switch]$NuGetPackage) {$temporary = "$Path.deterministic"@@ -98,7 +99,7 @@ function Get-ReleaseRelativePath([string]$Root, [string]$Path) {return $canonicalPath.Substring($rootPrefix.Length)}-if (Test-Path -LiteralPath $output) { throw 'Use a fresh release output directory.' }+if ((Test-Path -LiteralPath $output) -or (Test-Path -LiteralPath $workRoot)) { throw 'Use fresh release output and work directories.' }New-Item -ItemType Directory -Force -Path $stage, (Join-Path $output 'packages') | Out-Null& (Join-Path $PSScriptRoot 'Build-CadmataFrontend.ps1')@@ -112,8 +113,8 @@ dotnet publish (Join-Path $repoRoot 'Aetheris.CLI/Aetheris.CLI.csproj') -c Relea& (Join-Path $PSScriptRoot 'Test-CoreCliPayload.ps1') -AssetsPath (Join-Path $repoRoot 'Aetheris.CLI/obj/project.assets.json') -PublishDirectory (Join-Path $stage 'Aetheris-win-x64')dotnet publish (Join-Path $repoRoot 'Aetheris.Forge.Host/Aetheris.Forge.Host.csproj') -c Release -r win-x64 --self-contained true -m:1 -nr:false -p:UseSharedCompilation=false -t:Rebuild -p:PublishAot=true -p:Version=$Version -p:DebugType=None -p:DebugSymbols=false -o (Join-Path $stage 'Aetheris-win-x64/forge-host')Normalize-PeTimestamps (Join-Path $stage 'Aetheris-win-x64/forge-host/Aetheris.Forge.Host.exe')-dotnet publish (Join-Path $repoRoot 'Aetheris.Server/Aetheris.Server.csproj') -c Release -r win-x64 --self-contained true -m:1 -nr:false -p:UseSharedCompilation=false -t:Rebuild -p:Version=$Version -p:DebugType=None -p:DebugSymbols=false -o (Join-Path $stage 'Aetheris-win-x64/cadmata')-$endpoints = Join-Path $stage 'Aetheris-win-x64/cadmata/Cadmata.staticwebassets.endpoints.json'+& (Join-Path $PSScriptRoot 'Publish-CadmataDesktop.ps1') -BundleDirectory (Join-Path $stage 'Aetheris-win-x64') -WorkDirectory (Join-Path $workRoot 'desktop-publish') -Version $Version+$endpoints = Join-Path $stage 'Aetheris-win-x64/Cadmata.staticwebassets.endpoints.json'if (Test-Path -LiteralPath $endpoints) {$canonicalEndpoints = [Regex]::Replace([IO.File]::ReadAllText($endpoints),'"Last-Modified","Value":"[^"]+"', '"Last-Modified","Value":"Mon, 01 Jan 2024 00:00:00 GMT"')diff --git a/scripts/qualify-cadmata-portable.mts b/scripts/qualify-cadmata-portable.mtsindex f2f4d897..13a1ff50 100644--- a/scripts/qualify-cadmata-portable.mts+++ b/scripts/qualify-cadmata-portable.mts@@ -76,6 +76,14 @@ try {report.diagnosticLog = join(logs, logFile);report.unauthenticatedStatus = (await fetch(address + "/api/v1/startup/step", { method: "POST" })).status;assert.equal(report.unauthenticatedStatus, 403);+ if (process.env.CADMATA_QUALIFICATION_LAUNCH_ONLY === "1") {+ await page.locator('#root > *').first().waitFor({ state: "visible" });+ assert((await readFile(join(logs, logFile), "utf8")).includes("UI visible"), "Desktop navigation must finish");+ await page.screenshot({ path: join(outputDirectory, "desktop-no-argument-launch.png") });+ report.mode = "no-argument desktop launch, frontend navigation and native close; GPU rendering not asserted";+ report.errors = errors;+ assert.equal(errors.length, 0, "No uncaught browser errors during launch");+ } else {await page.locator('[aria-label="Assembly product tree"] button').first().waitFor({ timeout: 45000 });await page.waitForFunction(() => document.querySelector('[data-display-host="three-telos"]')?.getAttribute("aria-busy") === "false");report.sampleVisibleMs = Date.now() - started;@@ -154,6 +162,7 @@ try {report.errors = errors;assert.equal(errors.length, 0, "No uncaught browser errors");await writeFile(join(outputDirectory, "page-text.txt"), await page.locator("body").innerText());+ }// Integration-test WM_CLOSE on the owning form, including a window hidden// by the CI launcher. CloseMainWindow excludes hidden windows. This exercises// FormClosed cleanup, but is not the required human title-bar interaction.diff --git a/test-support/CadmataDesktopSmoke/package-lock.json b/test-support/CadmataDesktopSmoke/package-lock.jsonnew file mode 100644index 00000000..3d0c0eb0--- /dev/null+++ b/test-support/CadmataDesktopSmoke/package-lock.json@@ -0,0 +1,26 @@+{+ "name": "aetheris-cadmata-desktop-smoke",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "aetheris-cadmata-desktop-smoke",+ "devDependencies": {+ "playwright-core": "1.58.2"+ }+ },+ "node_modules/playwright-core": {+ "version": "1.58.2",+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.2.tgz",+ "integrity": "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "playwright-core": "cli.js"+ },+ "engines": {+ "node": ">=18"+ }+ }+ }+}diff --git a/test-support/CadmataDesktopSmoke/package.json b/test-support/CadmataDesktopSmoke/package.jsonnew file mode 100644index 00000000..54251a53--- /dev/null+++ b/test-support/CadmataDesktopSmoke/package.json@@ -0,0 +1,5 @@+{+ "name": "aetheris-cadmata-desktop-smoke",+ "private": true,+ "devDependencies": { "playwright-core": "1.58.2" }+}