test(core): remove temporary Node.js skip guards per Plan #69

This commit is contained in:
Hermes Agent committed 2026-12-02 11:39:08 +00:00
1 parent 2e9292322c
commit cb146c38e7
2 files changed
+1 -14

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
> **Gitea Commit & Release Telemetry (`v2.17.1` • Namespace `urn:io:hyperstitionstud`)**
> - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.1 release state across 1 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `deploy/sync-vps-repos.sh`
> - **Touched Files / Surfaces:** `tests/test_core_suite.py`
> - **Live Verified Ecosystem Metrics (`v2.17.1`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
<!-- HS-COMMIT-STATUS:END -->
-13
View File
@@ -974,9 +974,7 @@ def test_ipld_quant_and_mcp_server() -> None:
assert "hs-guile-cartridge" not in (tmp_path / "eng_no_guile" / "index.html").read_text(encoding="utf-8")
import subprocess
import shutil
if shutil.which("node"):
node_guile_test = subprocess.run(
[
"node",
@@ -1005,8 +1003,6 @@ def test_ipld_quant_and_mcp_server() -> None:
check=False,
)
assert node_guile_test.returncode == 0, f"Node Polyglot REPL check failed ({node_guile_test.returncode}): {node_guile_test.stderr}"
else:
print("[notice] 'node' executable not found in PATH; skipping Node.js polyglot REPL subtest.")
# Verify 4-Ring Sandbox Security & Resource Quota Guards (polyglot_sandbox.py)
from hyperstitionstud_io.publishing.polyglot_sandbox import (
@@ -1015,7 +1011,6 @@ def test_ipld_quant_and_mcp_server() -> None:
evaluate_polyglot_sandbox,
)
if shutil.which("node"):
for bad_expr, bad_lang in (
('({}).constructor.constructor("return process")()', "ts"),
("globalThis.fetch('https://example.com')", "ts"),
@@ -1040,8 +1035,6 @@ def test_ipld_quant_and_mcp_server() -> None:
except SandboxResourceError:
halted = True
assert halted, f"Failed to halt resource exhaustion {inf_expr!r} in {inf_lang}"
else:
print("[notice] 'node' executable not found in PATH; skipping Node.js polyglot sandbox security & resource exhaustion subtests.")
# Verify 5-state #hsPolyglotModeSelector on /engineering/ and /math/
eng_idx_txt = (cfg.core_dir / "site" / "engineering" / "index.html").read_text(encoding="utf-8")
@@ -1126,7 +1119,6 @@ def test_ipld_quant_and_mcp_server() -> None:
assert "hs-sigil-seal" in surf_txt, f"Missing hs-sigil-seal in {surf_p}"
assert "hs-sigil-colophon" in surf_txt, f"Missing hs-sigil-colophon in {surf_p}"
if shutil.which("node"):
node_rain_test = subprocess.run(
[
"node",
@@ -1145,8 +1137,6 @@ def test_ipld_quant_and_mcp_server() -> None:
check=False,
)
assert node_rain_test.returncode == 0, f"Node Code-Rain check failed ({node_rain_test.returncode}): {node_rain_test.stderr}"
else:
print("[notice] 'node' executable not found in PATH; skipping Node.js code-rain subtest.")
# Verify PLAN-AUTOMATED-PER-COMMIT-REPO-ROOT-README-SYNCHRONIZATION-FOR-GITEA
# and PLAN-README-AND-GIT-COMMIT-MESSAGE-VERSION-PARITY-FIX
@@ -1243,7 +1233,6 @@ def test_ipld_quant_and_mcp_server() -> None:
assert js_sig_1["js_ui_sha256"] != js_sig_2["js_ui_sha256"], "Mutating JS DOM control must change js_ui_sha256 fingerprint"
assert js_sig_1["has_lens_select_highlight"] is True and js_sig_1["speech_text_count"] == 25
if shutil.which("node"):
node_quant_tut_test = subprocess.run(
[
"node",
@@ -1267,8 +1256,6 @@ def test_ipld_quant_and_mcp_server() -> None:
check=False,
)
assert node_quant_tut_test.returncode == 0, f"Node QuantTutorials check failed ({node_quant_tut_test.returncode}): {node_quant_tut_test.stderr}"
else:
print("[notice] 'node' executable not found in PATH; skipping Node.js quant tutorials subtest.")
# Verify Plan #57 (Strategies 1A, 2A, 3A): Zero-Git-Audio deploy-time WAV voice compiler (quant_voice.py) & 0 audio files in Git
from hyperstitionstud_io.publishing.quant_voice import build_quant_tour_voice_assets