[
  {
    "id": "cancel_after_first",
    "chunks_hex": [
      "41",
      "42"
    ],
    "cancel_after": 1,
    "expected": {
      "reply": {
        "status": "cancelled",
        "published_bytes": 0
      },
      "files": {
        "target.bin": "4b454550",
        "unrelated.bin": "4f54484552"
      }
    }
  },
  {
    "id": "normal_completion",
    "chunks_hex": [
      "41",
      "42"
    ],
    "cancel_after": null,
    "expected": {
      "reply": {
        "status": "completed",
        "published_bytes": 2
      },
      "files": {
        "target.bin": "4142",
        "unrelated.bin": "4f54484552"
      }
    }
  }
]
