Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Wait for canonical STEP reimport in portable release qualification
Yuechen Lib0b068b1f788
diff --git a/docs/release/P4-02-CADMATA-DISTRIBUTION-X0.md b/docs/release/P4-02-CADMATA-DISTRIBUTION-X0.mdindex 5286c78c..c305ab2c 100644--- a/docs/release/P4-02-CADMATA-DISTRIBUTION-X0.md+++ b/docs/release/P4-02-CADMATA-DISTRIBUTION-X0.md@@ -132,6 +132,12 @@ isolated failing test passed. Original and subsequent complete-run logs areretained, with outcomes recorded in the release qualification asset. Noproduction display budget is relaxed.+The complete serial solution rerun passed 4,415 tests across 20 suites with+no failures or skips. The packaged replay waits for the canonical STEP+reimport response and completed UI state rather than a fixed 1.5-second delay;+the fixed-delay assertion raced the real import. The complete replay then+passed, including invalid-file preservation and native title-bar shutdown.+Two pre-existing frontend lint errors were corrected locally: inspection refsnow synchronize in the effect, and a changed model resets its patch selectionbefore commit rather than triggering a second render from an effect. The GPUdiff --git a/scripts/qualify-cadmata-portable.mts b/scripts/qualify-cadmata-portable.mtsindex 31971b2c..f2f4d897 100644--- a/scripts/qualify-cadmata-portable.mts+++ b/scripts/qualify-cadmata-portable.mts@@ -135,9 +135,13 @@ try {}report.exportedStep = exportedPath;await page.locator('input[type="file"]').setInputFiles(exportedPath);+ const reimportResponse = page.waitForResponse(response => response.request().method() === "POST" && response.url().includes("/import"), { timeout: 120000 });await page.getByRole("button", { name: "Import STEP 242", exact: true }).click();- await page.waitForTimeout(1500);+ assert((await reimportResponse).ok(), "Canonical STEP reimport must succeed");+ await page.getByText(/^(Qualified|Inspectable|Degraded): Import complete\./).waitFor({ timeout: 120000 });+ await page.waitForFunction(() => [...document.querySelectorAll<HTMLButtonElement>("button")].some(button => button.textContent?.trim() === "Download Canonical 242" && !button.disabled), undefined, { timeout: 120000 });assert(await downloadButton.isEnabled());+ report.canonicalStepReimport = true;// An invalid file must retain the last usable model and visible error.await page.locator('input[type="file"]').setInputFiles({ name: "invalid.step", mimeType: "application/step", buffer: Buffer.from("invalid STEP") });await page.getByRole("button", { name: "Import STEP 242", exact: true }).click();