{
  "external_queue_ack_calls": 0,
  "final": {
    "dirty_keys": 0,
    "inbox_rows": 5,
    "states": [
      {
        "applied_generation": 3,
        "dirty": false,
        "generation": 3,
        "key": {
          "marketplace_id": "market-A",
          "seller_id": "seller-A",
          "sku": "SKU-RED"
        },
        "snapshot": {
          "fixture_revision": "read-3",
          "synthetic_status": "BUYABLE"
        }
      },
      {
        "applied_generation": 1,
        "dirty": false,
        "generation": 1,
        "key": {
          "marketplace_id": "market-B",
          "seller_id": "seller-A",
          "sku": "SKU-RED"
        },
        "snapshot": {
          "fixture_revision": "read-3",
          "synthetic_status": "BUYABLE"
        }
      },
      {
        "applied_generation": 1,
        "dirty": false,
        "generation": 1,
        "key": {
          "marketplace_id": "market-A",
          "seller_id": "seller-B",
          "sku": "SKU-RED"
        },
        "snapshot": {
          "fixture_revision": "read-3",
          "synthetic_status": "BUYABLE"
        }
      }
    ]
  },
  "mode": "synthetic_local_only",
  "trace": [
    {
      "case": "exit_after_commit_before_queue_ack",
      "child_exit": 23,
      "persisted_inbox": 1,
      "state": {
        "applied_generation": 0,
        "dirty": true,
        "generation": 1,
        "snapshot": null
      }
    },
    {
      "case": "redelivery_after_restart",
      "disposition": "duplicate",
      "may_ack": true,
      "state": {
        "applied_generation": 0,
        "dirty": true,
        "generation": 1,
        "snapshot": null
      }
    },
    {
      "case": "initial_synthetic_read",
      "result": "applied",
      "state": {
        "applied_generation": 1,
        "dirty": false,
        "generation": 1,
        "snapshot": {
          "fixture_revision": "read-1",
          "synthetic_status": "BUYABLE"
        }
      }
    },
    {
      "case": "older_event_is_a_new_trigger",
      "state": {
        "applied_generation": 1,
        "dirty": true,
        "generation": 2,
        "snapshot": {
          "fixture_revision": "read-1",
          "synthetic_status": "BUYABLE"
        }
      }
    },
    {
      "case": "notification_during_read",
      "completion_applied": false,
      "state": {
        "applied_generation": 1,
        "dirty": true,
        "generation": 3,
        "snapshot": {
          "fixture_revision": "read-1",
          "synthetic_status": "BUYABLE"
        }
      },
      "ticket_generation": 2
    },
    {
      "case": "read_failure",
      "error": "synthetic read failure",
      "state": {
        "applied_generation": 1,
        "dirty": true,
        "generation": 3,
        "snapshot": {
          "fixture_revision": "read-1",
          "synthetic_status": "BUYABLE"
        }
      }
    },
    {
      "case": "wrong_key_result",
      "dirty_keys": [
        {
          "marketplace_id": "market-A",
          "seller_id": "seller-A",
          "sku": "SKU-RED"
        },
        {
          "marketplace_id": "market-B",
          "seller_id": "seller-A",
          "sku": "SKU-RED"
        },
        {
          "marketplace_id": "market-A",
          "seller_id": "seller-B",
          "sku": "SKU-RED"
        }
      ],
      "rejected": true
    },
    {
      "case": "conflicting_identity",
      "may_ack": false,
      "rejected": true
    }
  ]
}
