5efb380da5
* feat: automate yiacad pr review lane * fix: stabilize yiacad review and spec gates * fix: scope kicad exports to repo hardware * fix: ignore kicad block library sources in exports * feat: Add infra VPS monitoring runbook and healthcheck scripts - Created INFRA_VPS_RUNBOOK_2026.md detailing operational procedures for monitoring VPS services. - Added infra_vps_healthcheck.sh script for automated health checks on DNS, TLS, TCP, and HTTP for VPS services. - Introduced infra_vps_security_audit.sh for non-intrusive security checks on external VPS services. - Established JSON schema for infra VPS inventory in infra_vps.schema.json. - Developed integration for runtime status reporting in the Next.js API route. - Implemented Playwright tests for smoke testing the application and ensuring core functionalities. - Updated Makefile for development dependencies and testing commands. - Created various test files for unit and end-to-end testing across different components. * feat(agentics): update mesh agents, gates, prompts, and workflows
25 lines
874 B
Python
25 lines
874 B
Python
#!/usr/bin/env python3
|
|
from __future__ import annotations
|
|
|
|
import unittest
|
|
from pathlib import Path
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[1]
|
|
WORKER = REPO_ROOT / "web" / "workers" / "eda-worker.mjs"
|
|
|
|
|
|
class YiacadWebWorkerContractTests(unittest.TestCase):
|
|
def test_worker_routes_all_yiacad_flows_through_backend_client(self) -> None:
|
|
content = WORKER.read_text(encoding="utf-8")
|
|
self.assertIn('resolve(repoRoot, "tools/cad/yiacad_backend_client.py")', content)
|
|
self.assertIn('"yiacad-web"', content)
|
|
self.assertNotIn('resolve(repoRoot, "tools/cad/yiacad_native_ops.py")', content)
|
|
self.assertNotIn('resolve(repoRoot, "tools/cockpit/fab_package_tui.sh")', content)
|
|
self.assertIn('"manufacturing-package"', content)
|
|
self.assertIn('"kiauto-checks"', content)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|