Update wasm port validation state

This commit is contained in:
wangdequan
2026-07-10 03:22:55 -04:00
parent 49a8bad404
commit 2e922ad628
91 changed files with 3292 additions and 1488 deletions

View File

@@ -22,6 +22,11 @@ SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 "$ROOT_DIR/tests/browser/verify_release_art
"$ROOT_DIR/tests/docs/node/verify_real_browser_simulation_priority_docs.sh"
"$ROOT_DIR/tests/docs/node/verify_axis_style_simulation_docs.sh"
"$ROOT_DIR/tests/host/verify_host_smokes.sh"
"$ROOT_DIR/tests/sdk/node/verify_python_remap_runtime_port.sh"
SKIP_INTERP_BUILD=1 "$ROOT_DIR/tests/wasm/node/verify_python_remap_runtime_port_wasm.sh"
SKIP_INI_BUILD=1 SKIP_INTERP_BUILD=1 "$ROOT_DIR/tests/browser/verify_python_remap_runtime_browser.sh"
ENABLE_MILLTURN_USER_M_RUNTIME_PROBE=1 ENABLE_TOOL_DB_RUNTIME_PROBE=1 ENABLE_PYTHON_REMAP_RUNTIME_PROBE=1 "$ROOT_DIR/tests/native/verify_native_probes.sh"
SKIP_INTERP_BUILD=1 "$ROOT_DIR/tests/wasm/node/verify_sim_configs_inventory_wasm.sh"
node "$ROOT_DIR/tests/host/write_project_release_readiness_artifact.mjs"
"$ROOT_DIR/tests/host/verify_project_release_readiness_artifact.sh"

View File

@@ -148,8 +148,8 @@ assert.equal(
row.boundaryEvidence.baselineSummary.passed === 29 &&
row.boundaryEvidence.baselineSummary.skipped === 130 &&
row.boundaryEvidence.baselineSummary.unexpectedFail === 0 &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/boundary-summary.tsv"] === "6cc15052cad03d04eff4506cd0a9d651cd45a2bd5da4d9f38633e9535826b9f3" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/ini-boundary-summary.tsv"] === "17bff95b57c55ff4201a23c7286e733550e4df513470c66dd5f24329e7781a35" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/boundary-summary.tsv"] === "7dd95e06b662cf26a02c94039675cbad9a0c836c8cab54878687f11736ddb2c6" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/ini-boundary-summary.tsv"] === "e6036e152b53c0091ee7da25e50a08122f77552abc53d9e6044c98e5abbd2313" &&
row.boundaryEvidence.boundarySummary.dependencies.includes("missing_vendored_ini:configs/sim/gscreen/industrial_lathe_wear/industrial_lathe_wear.ini") &&
row.boundaryEvidence.iniBoundarySummary.vendored === 0
),
@@ -163,8 +163,8 @@ assert.equal(
row.boundaryEvidence.baselineSummary.passed === 29 &&
row.boundaryEvidence.baselineSummary.skipped === 130 &&
row.boundaryEvidence.baselineSummary.unexpectedFail === 0 &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/boundary-summary.tsv"] === "6cc15052cad03d04eff4506cd0a9d651cd45a2bd5da4d9f38633e9535826b9f3" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/ini-boundary-summary.tsv"] === "17bff95b57c55ff4201a23c7286e733550e4df513470c66dd5f24329e7781a35" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/boundary-summary.tsv"] === "7dd95e06b662cf26a02c94039675cbad9a0c836c8cab54878687f11736ddb2c6" &&
row.boundaryEvidence.sourceArtifactHashes["wasm-port/build/wasm/sim-configs-inventory/ini-boundary-summary.tsv"] === "e6036e152b53c0091ee7da25e50a08122f77552abc53d9e6044c98e5abbd2313" &&
row.boundaryEvidence.boundarySummary.dependencies.includes("missing_vendored_ini:configs/sim/gscreen/silverdragon/silverdragon.ini") &&
row.boundaryEvidence.iniBoundarySummary.vendored === 0
),
@@ -192,13 +192,13 @@ assert.equal(artifact.promotionCandidateArtifactSummary.totalCandidateCount, 27)
assert.equal(artifact.promotionCandidateArtifactSummary.promotionAllowedCount, 0);
assert.equal(artifact.promotionCandidateArtifactSummary.hardBlockRuntimePromotionAllowedCount, 0);
assert.deepEqual(artifact.promotionCandidateArtifactSummary.artifactRows, {
promotionCandidates: 10,
promotionCandidates: 27,
evidenceExpansion: 14,
});
assert.equal(artifact.promotionCandidateArtifactSummary.evidenceExpansion.promotionAllowedCount, 0);
assert.equal(
artifact.promotionCandidateArtifactSummary.inventoryBaseline,
"executed=82 passed=82 skipped=77 unexpected_fail=0",
"executed=29 passed=29 skipped=130 unexpected_fail=0",
);
assert.equal(artifact.axisScreenshotArtifactSummary.apiName, "project-release-axis-screenshot-artifact-summary");
if (artifact.axisScreenshotArtifactSummary.artifactCount > 0) {

View File

@@ -109,6 +109,28 @@ function createPythonRemapRuntimeProofFromNativeProbe(path) {
};
}
function createToolDbProcessProofFromNativeProbe(path) {
const toolDbProbe = parseTsvArtifactRows(path).find((row) =>
row.boundary_class === "L4-TOOL-DB" &&
row.runtime_probe === "linuxcnc_tool_db_runtime_probe" &&
row.target === "axis/db_demo/base.ngc"
);
const nativeProtocolReady = toolDbProbe?.probe_status === "runtime_protocol_probe_passed" &&
toolDbProbe?.runtime_ready === "1" &&
toolDbProbe?.source_proof_ready === "1" &&
toolDbProbe?.execution_enabled === "0" &&
toolDbProbe?.promotion_allowed === "0";
return {
nativeProtocolReady,
nativeProbeStatus: toolDbProbe?.probe_status ?? "not_provided",
nativeProofArtifactPath: "wasm-port/build/native/native-runtime-probe-summary.tsv",
nativeProofStdoutLog: toolDbProbe?.stdout_log ?? null,
promotionAllowed: false,
executionEnabled: false,
};
}
const report = createProjectReleaseReadinessReport({
gateResults: passedGateResults,
observedOutputs: [
@@ -142,6 +164,7 @@ const report = createProjectReleaseReadinessReport({
manifestText: sourceManifestText,
}),
virtualHalMotionControllerMatrix,
toolDbProcessProof: createToolDbProcessProofFromNativeProbe(nativeRuntimeProbeSummaryPath),
pythonRemapRuntimeProof: createPythonRemapRuntimeProofFromNativeProbe(nativeRuntimeProbeSummaryPath),
axisScreenshotArtifacts: loadAxisScreenshotArtifacts(axisScreenshotArtifactDir),
});