{
  "schema": 1,
  "repository": "brunnojob/nodered-industrial-automation",
  "source_commit": "92c0852e878b6dcef31f332a92c3beb7fc325e88",
  "generated_at": "2026-10-10T05:28:17.282926+00:00",
  "run_url": "https://github.com/brunnojob/nodered-industrial-automation/actions/runs/38027599679",
  "inputs_sha256": {
    ".proof/scenarios.json": "b1eed24ac281e866f56efef8b3c615fbe79042147539099b122fad612646d673",
    ".proof/demo.cjs": "6a877a26a38b44ad9ead17dd3fe5ac9ef276b3f58e35d455553a799ce4939a5d"
  },
  "cases": [
    {
      "display": false,
      "name": "npm ci",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm ci"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 4.313,
      "output": "npm warn deprecated uuid@9.0.1: uuid@10 and below is no longer supported.  For ESM codebases, update to uuid@latest.  For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).\nnpm warn deprecated tar@7.4.3: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me\n\nadded 279 packages, and audited 280 packages in 4s\n\n53 packages are looking for funding\n  run `npm fund` for details\n\n19 vulnerabilities (5 moderate, 12 high, 2 critical)\n\nTo address all issues, run:\n  npm audit fix --force\n\nRun `npm audit` for details.\n",
      "output_sha256": "67c476ec450161ed75529e9089533bce062b57ee273077948801cfa4f55006c7"
    },
    {
      "display": true,
      "name": "npm test",
      "argv": [
        "bash",
        "-e",
        "-o",
        "pipefail",
        "-c",
        "npm test"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 0.251,
      "output": "\n> nodered-industrial-automation@1.0.0 test\n> node --test\n\n✔ failed delivery survives restart and confirmed delivery removes it (13.344396ms)\n✔ alarms require valid quality and emit transitions once (0.641585ms)\n✔ normalizes engineering units and creates high alarms (1.849344ms)\n✔ rejects stale, replayed and unknown signals (0.839306ms)\n✔ flow is importable and routes telemetry and alarms (0.527371ms)\n✔ invalid calibration and explicit invalid timestamps are rejected (2.185365ms)\nℹ tests 6\nℹ suites 0\nℹ pass 6\nℹ fail 0\nℹ cancelled 0\nℹ skipped 0\nℹ todo 0\nℹ duration_ms 97.954448\n",
      "output_sha256": "898ed03ad66afa2295518f6f792344d1450c92873417cdd52b0d58c4bcd97d37"
    },
    {
      "display": true,
      "name": "Normalize ADC pressure, raise a high alarm and reject replay",
      "argv": [
        "node",
        ".proof/demo.cjs"
      ],
      "exit": 0,
      "expected_exit": 0,
      "passed": true,
      "seconds": 0.051,
      "output": "{\"normalized\":{\"source\":\"PT101\",\"tag\":\"pressure\",\"sequence\":1,\"timestamp\":1000,\"raw\":3800,\"value\":231.990231990232,\"unit\":\"bar\",\"quality\":\"good\"},\"alarm\":{\"severity\":\"high\",\"state\":\"raised\",\"source\":\"PT101\",\"tag\":\"pressure\",\"sequence\":1,\"timestamp\":1000,\"raw\":3800,\"value\":231.990231990232,\"unit\":\"bar\",\"quality\":\"good\"},\"replayRejected\":true}\n",
      "output_sha256": "fb35762f48ce9a82ba64cee60853d21dc23bb029ab46e20088a83d25067c909d"
    }
  ],
  "passed": true
}
