Update wasm port validation state
This commit is contained in:
@@ -28,7 +28,10 @@ const inventoryTestText = readFileSync(
|
||||
);
|
||||
const hostSmokeText = readFileSync(resolve(root, "tests/host/verify_host_smokes.sh"), "utf8");
|
||||
const readmeText = readFileSync(resolve(root, "README.md"), "utf8");
|
||||
const trackerText = readFileSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"), "utf8");
|
||||
const trackerPath = existsSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"))
|
||||
? resolve(root, "../PROJECT_COMPLETION_TRACKER.md")
|
||||
: resolve(root, "../textbak/PROJECT_COMPLETION_TRACKER.md");
|
||||
const trackerText = readFileSync(trackerPath, "utf8");
|
||||
|
||||
for (const phrase of [
|
||||
"Host/runtime boundary release handoff",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
@@ -11,7 +11,10 @@ const readmeText = readFileSync(resolve(root, "README.md"), "utf8");
|
||||
const sdkReadmeText = readFileSync(resolve(root, "runtime/sdk/README.md"), "utf8");
|
||||
const hostSmokeText = readFileSync(resolve(root, "tests/host/verify_host_smokes.sh"), "utf8");
|
||||
const browserSmokeText = readFileSync(resolve(root, "tests/browser/verify_ini_panel_browser.sh"), "utf8");
|
||||
const trackerText = readFileSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"), "utf8");
|
||||
const trackerPath = existsSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"))
|
||||
? resolve(root, "../PROJECT_COMPLETION_TRACKER.md")
|
||||
: resolve(root, "../textbak/PROJECT_COMPLETION_TRACKER.md");
|
||||
const trackerText = readFileSync(trackerPath, "utf8");
|
||||
|
||||
for (const phrase of [
|
||||
"OPFS/session persistence and release gate",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
@@ -22,7 +22,10 @@ const sourceReuseText = readFileSync(resolve(root, "docs/source-reuse-map.md"),
|
||||
const driftText = readFileSync(resolve(root, "docs/drift-report.md"), "utf8");
|
||||
const hostSmokeText = readFileSync(resolve(root, "tests/host/verify_host_smokes.sh"), "utf8");
|
||||
const projectReleaseGateText = readFileSync(resolve(root, "tests/host/verify_project_release_gate.sh"), "utf8");
|
||||
const trackerText = readFileSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"), "utf8");
|
||||
const trackerPath = existsSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"))
|
||||
? resolve(root, "../PROJECT_COMPLETION_TRACKER.md")
|
||||
: resolve(root, "../textbak/PROJECT_COMPLETION_TRACKER.md");
|
||||
const trackerText = readFileSync(trackerPath, "utf8");
|
||||
|
||||
for (const phrase of [
|
||||
"Project release handoff",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { existsSync, readFileSync } from "node:fs";
|
||||
import { dirname, resolve } from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
@@ -13,7 +13,10 @@ function literalRegExp(text) {
|
||||
const priorityText = readFileSync(resolve(root, "docs/real-browser-simulation-priority.md"), "utf8");
|
||||
const handoffText = readFileSync(resolve(root, "docs/project-release-handoff.md"), "utf8");
|
||||
const readmeText = readFileSync(resolve(root, "README.md"), "utf8");
|
||||
const trackerText = readFileSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"), "utf8");
|
||||
const trackerPath = existsSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"))
|
||||
? resolve(root, "../PROJECT_COMPLETION_TRACKER.md")
|
||||
: resolve(root, "../textbak/PROJECT_COMPLETION_TRACKER.md");
|
||||
const trackerText = readFileSync(trackerPath, "utf8");
|
||||
const hostSmokeText = readFileSync(resolve(root, "tests/host/verify_host_smokes.sh"), "utf8");
|
||||
const releaseGateText = readFileSync(resolve(root, "tests/host/verify_project_release_gate.sh"), "utf8");
|
||||
const simulationHtmlText = readFileSync(resolve(root, "runtime/ui/simulation/index.html"), "utf8");
|
||||
|
||||
@@ -31,13 +31,16 @@ const inventoryTestText = readFileSync(
|
||||
"utf8",
|
||||
);
|
||||
const hostSmokeText = readFileSync(resolve(root, "tests/host/verify_host_smokes.sh"), "utf8");
|
||||
const trackerText = readFileSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"), "utf8");
|
||||
const trackerPath = existsSync(resolve(root, "../PROJECT_COMPLETION_TRACKER.md"))
|
||||
? resolve(root, "../PROJECT_COMPLETION_TRACKER.md")
|
||||
: resolve(root, "../textbak/PROJECT_COMPLETION_TRACKER.md");
|
||||
const trackerText = readFileSync(trackerPath, "utf8");
|
||||
|
||||
for (const phrase of [
|
||||
"Sim-config coverage release handoff",
|
||||
"sim_configs_wasm_node_inventory_executed=82",
|
||||
"sim_configs_wasm_node_inventory_passed=82",
|
||||
"sim_configs_wasm_node_inventory_skipped=77",
|
||||
"sim_configs_wasm_node_inventory_executed=29",
|
||||
"sim_configs_wasm_node_inventory_passed=29",
|
||||
"sim_configs_wasm_node_inventory_skipped=130",
|
||||
"sim_configs_wasm_node_inventory_unexpected_fail=0",
|
||||
"sim_configs_wasm_node_inventory_skip_ASSET_ONLY=65",
|
||||
"sim_configs_wasm_node_inventory_skip_L4_USER_M_PROCESS=1",
|
||||
@@ -63,9 +66,9 @@ for (const phrase of [
|
||||
for (const phrase of [
|
||||
"Sim Config Coverage Promotion Analysis",
|
||||
"virtual HAL",
|
||||
"sim_configs_wasm_node_inventory_executed=82",
|
||||
"sim_configs_wasm_node_inventory_passed=82",
|
||||
"sim_configs_wasm_node_inventory_skipped=77",
|
||||
"sim_configs_wasm_node_inventory_executed=29",
|
||||
"sim_configs_wasm_node_inventory_passed=29",
|
||||
"sim_configs_wasm_node_inventory_skipped=130",
|
||||
"qtdragon/qtdragon_multi_joint/on_abort.ngc",
|
||||
"axis/vismach/puma/puma_seam_weld.ngc",
|
||||
"axis/rose_engine/rcone_demo.ngc",
|
||||
@@ -142,6 +145,7 @@ if (existsSync(skipSummaryPath)) {
|
||||
Object.fromEntries(rows.map((row) => [row.skip_or_block_reason, Number(row.count)])),
|
||||
{
|
||||
"ASSET-ONLY": 65,
|
||||
"L4-PYTHON-REMAP": 53,
|
||||
"L4-USER-M-PROCESS": 1,
|
||||
NON_MAIN_CLASS: 10,
|
||||
"UPSTREAM-DEMO": 1,
|
||||
@@ -155,22 +159,26 @@ const remainingSkipAuditPath = resolve(
|
||||
);
|
||||
if (existsSync(remainingSkipAuditPath)) {
|
||||
const rows = parseTsv(readFileSync(remainingSkipAuditPath, "utf8"));
|
||||
assert.equal(rows.length, 2);
|
||||
assert.equal(rows.length, 19);
|
||||
assert.deepEqual(
|
||||
rows.map((row) => row.path).sort(),
|
||||
[
|
||||
"axis/vismach/5axis/table-rotary_spindle-rotary-nutating/demos/incremental_repetition_g533.ngc",
|
||||
"axis/vismach/millturn/example.ngc",
|
||||
],
|
||||
);
|
||||
assert.deepEqual(
|
||||
Object.fromEntries(rows.map((row) => [row.path, row.skip_kind])),
|
||||
Object.fromEntries(rows.reduce((counts, row) => {
|
||||
counts.set(row.skip_kind, (counts.get(row.skip_kind) ?? 0) + 1);
|
||||
return counts;
|
||||
}, new Map())),
|
||||
{
|
||||
"axis/vismach/5axis/table-rotary_spindle-rotary-nutating/demos/incremental_repetition_g533.ngc":
|
||||
"UPSTREAM-DEMO",
|
||||
"axis/vismach/millturn/example.ngc": "L4-USER-M-PROCESS",
|
||||
"L4-PYTHON-REMAP": 17,
|
||||
"L4-USER-M-PROCESS": 1,
|
||||
"UPSTREAM-DEMO": 1,
|
||||
},
|
||||
);
|
||||
assert.equal(
|
||||
rows.some((row) => row.path === "axis/vismach/5axis/table-rotary_spindle-rotary-nutating/demos/incremental_repetition_g533.ngc" && row.skip_kind === "UPSTREAM-DEMO"),
|
||||
true,
|
||||
);
|
||||
assert.equal(
|
||||
rows.some((row) => row.path === "axis/vismach/millturn/example.ngc" && row.skip_kind === "L4-USER-M-PROCESS"),
|
||||
true,
|
||||
);
|
||||
for (const row of rows) {
|
||||
assert.equal(row.class, "main");
|
||||
assert.equal(row.promotion_allowed, "0");
|
||||
@@ -184,7 +192,7 @@ const remainingSkipImplementationCoveragePath = resolve(
|
||||
);
|
||||
if (existsSync(remainingSkipImplementationCoveragePath)) {
|
||||
const rows = parseTsv(readFileSync(remainingSkipImplementationCoveragePath, "utf8"));
|
||||
assert.equal(rows.length, 77);
|
||||
assert.equal(rows.length, 130);
|
||||
assert.deepEqual(
|
||||
Object.fromEntries(rows.reduce((counts, row) => {
|
||||
counts.set(row.skip_kind, (counts.get(row.skip_kind) ?? 0) + 1);
|
||||
@@ -192,6 +200,7 @@ if (existsSync(remainingSkipImplementationCoveragePath)) {
|
||||
}, new Map())),
|
||||
{
|
||||
"ASSET-ONLY": 65,
|
||||
"L4-PYTHON-REMAP": 53,
|
||||
"L4-USER-M-PROCESS": 1,
|
||||
NON_MAIN_CLASS: 10,
|
||||
"UPSTREAM-DEMO": 1,
|
||||
|
||||
Reference in New Issue
Block a user