{
  "test": {
    "id": "tests/1.0/unordered/immutable-root-restart",
    "directory": "tests/1.0/unordered/immutable-root-restart",
    "manifestPath": "tests/1.0/unordered/immutable-root-restart/manifest.ttl",
    "scenarioPath": "tests/1.0/unordered/immutable-root-restart/scenario.yaml",
    "expectedPath": "tests/1.0/unordered/immutable-root-restart/expected/events.ndjson",
    "iri": "https://www.pieter.pm/ldes-client-conformance-test-suite/1.0#unordered-immutable-root-restart",
    "title": "An immutable root is reused when resuming",
    "description": "After the initial run persists root context and state, a later synchronization run must communicate the same context and continue without fetching the RDF-immutable root again.",
    "requirement": "LDES10-CTX-001",
    "requirements": [
      "LDES10-CTX-001",
      "LDES10-UNORD-018",
      "LDES10-UNORD-023",
      "LDES10-UNORD-024"
    ],
    "requirementLevel": "Should",
    "group": "UnorderedTraversal",
    "requiredCapabilities": []
  },
  "outcome": "failed",
  "events": [
    {
      "protocolVersion": 0,
      "type": "context",
      "runId": "initial",
      "eventStream": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#stream",
      "dataset": "",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:19:38.680Z"
    },
    {
      "protocolVersion": 0,
      "type": "member",
      "runId": "initial",
      "id": "https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#member/initial",
      "dataset": "<https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#member/initial> <https://raw.githubusercontent.com/pietercolpaert/ldes-client-conformance-test-suite/main/tests/1.0/unordered/immutable-root-restart/responses/root.ttl#vocab/value> \"initial\"^^<http://www.w3.org/2001/XMLSchema#string> .\n",
      "mediaType": "application/n-quads",
      "receivedAt": "2026-10-16T10:19:38.694Z"
    },
    {
      "protocolVersion": 0,
      "type": "statistics",
      "runId": "initial",
      "membersEmitted": 1,
      "fragmentsFetched": 2,
      "lastRun": "2026-10-16T10:19:38.695Z",
      "receivedAt": "2026-10-16T10:19:38.695Z"
    },
    {
      "protocolVersion": 0,
      "type": "run-end",
      "runId": "initial",
      "status": "completed",
      "receivedAt": "2026-10-16T10:19:38.695Z",
      "adapterStderr": "2026-10-16T10:19:38.695Z {ldes-client} [Client] \u001b[32minfo\u001b[39m: Client has been gracefully closed\n"
    },
    {
      "protocolVersion": 0,
      "type": "error",
      "runId": "repeat",
      "kind": "client",
      "message": "Could not retrieve http://127.0.0.1:32851/root (HTTP status 500):\n",
      "receivedAt": "2026-10-16T10:19:39.141Z"
    }
  ],
  "requests": [
    {
      "sequence": 1,
      "method": "GET",
      "path": "/root",
      "headers": {
        "host": "127.0.0.1:32851",
        "connection": "keep-alive",
        "accept": "application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.6,application/rdf+xml;q=0.5,text/n3;q=0.35,application/xml;q=0.3,image/svg+xml;q=0.3,text/xml;q=0.3,text/html;q=0.2,application/xhtml+xml;q=0.18,application/json;q=0.135,text/shaclc;q=0.1,text/shaclc-ext;q=0.05",
        "user-agent": "Comunica/5.0 (linux; x64) ActorHttpFetch/5.3.0 Node.js/22",
        "accept-encoding": "br,gzip,deflate",
        "accept-language": "*",
        "sec-fetch-mode": "cors"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:19:38.659Z",
      "completedAt": "2026-10-16T10:19:38.659Z"
    },
    {
      "sequence": 2,
      "method": "GET",
      "path": "/root",
      "headers": {
        "host": "127.0.0.1:32851",
        "connection": "keep-alive",
        "accept": "application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.6,application/rdf+xml;q=0.5,text/n3;q=0.35,application/xml;q=0.3,image/svg+xml;q=0.3,text/xml;q=0.3,text/html;q=0.2,application/xhtml+xml;q=0.18,application/json;q=0.135,text/shaclc;q=0.1,text/shaclc-ext;q=0.05",
        "user-agent": "Comunica/5.0 (linux; x64) ActorHttpFetch/5.3.0 Node.js/22",
        "accept-encoding": "br,gzip,deflate",
        "accept-language": "*",
        "sec-fetch-mode": "cors"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:19:38.678Z",
      "completedAt": "2026-10-16T10:19:38.678Z"
    },
    {
      "sequence": 3,
      "method": "GET",
      "path": "/root",
      "headers": {
        "host": "127.0.0.1:32851",
        "connection": "keep-alive",
        "accept": "application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.6,application/rdf+xml;q=0.5,text/n3;q=0.35,application/xml;q=0.3,image/svg+xml;q=0.3,text/xml;q=0.3,text/html;q=0.2,application/xhtml+xml;q=0.18,application/json;q=0.135,text/shaclc;q=0.1,text/shaclc-ext;q=0.05",
        "user-agent": "Comunica/5.0 (linux; x64) ActorHttpFetch/5.3.0 Node.js/22",
        "accept-encoding": "br,gzip,deflate",
        "accept-language": "*",
        "sec-fetch-mode": "cors"
      },
      "phase": "initial",
      "status": 200,
      "timestamp": "2026-10-16T10:19:38.689Z",
      "completedAt": "2026-10-16T10:19:38.689Z"
    },
    {
      "sequence": 4,
      "method": "GET",
      "path": "/root",
      "headers": {
        "host": "127.0.0.1:32851",
        "connection": "keep-alive",
        "accept": "application/n-quads,application/trig;q=0.95,application/ld+json;q=0.9,application/n-triples;q=0.8,text/turtle;q=0.6,application/rdf+xml;q=0.5,text/n3;q=0.35,application/xml;q=0.3,image/svg+xml;q=0.3,text/xml;q=0.3,text/html;q=0.2,application/xhtml+xml;q=0.18,application/json;q=0.135,text/shaclc;q=0.1,text/shaclc-ext;q=0.05",
        "user-agent": "Comunica/5.0 (linux; x64) ActorHttpFetch/5.3.0 Node.js/22",
        "accept-encoding": "br,gzip,deflate",
        "accept-language": "*",
        "sec-fetch-mode": "cors"
      },
      "phase": "repeat",
      "status": 500,
      "timestamp": "2026-10-16T10:19:39.133Z",
      "completedAt": "2026-10-16T10:19:39.133Z"
    }
  ],
  "diagnostics": [
    "expected 5 observable events, got 4",
    "event 0: expected rootNode=\"{{origin}}/root\", got undefined",
    "event 3: expected type context, got error",
    "request initial:/root: expected count 1, got 3",
    "request repeat:/root: expected count 0, got 1"
  ]
}
