packages feed

clickhouse-migrate-cli-0.1.0.0: test/golden/partial.json

{
  "schemaVersion": 1,
  "command": "up",
  "status": "error",
  "result": null,
  "error": {
    "category": "run",
    "primary": {
      "code": "sql-failed",
      "step": {
        "component": "app",
        "migration": "one",
        "step": "insert",
        "migrationChecksum": "migration-hash",
        "stepChecksum": "insert-hash"
      },
      "queryId": "query-2",
      "evidence": "submission-uncertain",
      "transport": {
        "code": "response-interrupted",
        "httpStatus": null,
        "serverCode": null
      }
    },
    "secondary": [
      {
        "kind": "access-cleanup",
        "code": "access-release-failed"
      }
    ],
    "report": {
      "runId": "run-fixture",
      "target": "test",
      "access": {
        "strategy": "fixture",
        "scope": "owned target"
      },
      "acquired": true,
      "history": {
        "target": "test",
        "server": null,
        "ledger": {
          "kind": "initialized",
          "ledgerId": "00000000-0000-0000-0000-000000000001"
        },
        "position": "chm1:00000000-0000-0000-0000-000000000001:5:00000000-0000-0000-0000-000000000001",
        "access": {
          "mode": "guarded-observation",
          "provider": {
            "strategy": "fixture",
            "scope": "owned target"
          }
        },
        "events": [],
        "migrations": [
          {
            "definition": {
              "ordinal": 0,
              "componentIndex": 0,
              "component": "app",
              "dependencies": [],
              "migration": "one",
              "checksum": "migration-hash",
              "steps": [
                {
                  "name": "create",
                  "checksum": "create-hash"
                },
                {
                  "name": "insert",
                  "checksum": "insert-hash"
                }
              ]
            },
            "state": "in-progress",
            "attempt": "00000000-0000-0000-0000-000000000001",
            "steps": [
              {
                "name": "create",
                "checksum": "create-hash",
                "state": "observed-success",
                "attempt": {
                  "ownerAttempt": "00000000-0000-0000-0000-000000000001",
                  "step": "create",
                  "queryId": "query-1"
                },
                "evidence": null
              },
              {
                "name": "insert",
                "checksum": "insert-hash",
                "state": "uncertain",
                "attempt": {
                  "ownerAttempt": "00000000-0000-0000-0000-000000000001",
                  "step": "insert",
                  "queryId": "query-2"
                },
                "evidence": null
              }
            ]
          }
        ],
        "unresolved": true
      },
      "migrations": [
        {
          "definition": {
            "ordinal": 0,
            "componentIndex": 0,
            "component": "app",
            "dependencies": [],
            "migration": "one",
            "checksum": "migration-hash",
            "steps": [
              {
                "name": "create",
                "checksum": "create-hash"
              },
              {
                "name": "insert",
                "checksum": "insert-hash"
              }
            ]
          },
          "state": "in-progress",
          "attempt": "00000000-0000-0000-0000-000000000001",
          "steps": [
            {
              "name": "create",
              "checksum": "create-hash",
              "state": "observed-success",
              "attempt": {
                "ownerAttempt": "00000000-0000-0000-0000-000000000001",
                "step": "create",
                "queryId": "query-1"
              },
              "evidence": null
            },
            {
              "name": "insert",
              "checksum": "insert-hash",
              "state": "uncertain",
              "attempt": {
                "ownerAttempt": "00000000-0000-0000-0000-000000000001",
                "step": "insert",
                "queryId": "query-2"
              },
              "evidence": null
            }
          ]
        }
      ],
      "observations": [
        {
          "step": {
            "component": "app",
            "migration": "one",
            "step": "insert",
            "migrationChecksum": "migration-hash",
            "stepChecksum": "insert-hash"
          },
          "queryId": "query-2",
          "evidence": {
            "outcome": "submission-uncertain",
            "transport": {
              "code": "response-interrupted",
              "httpStatus": null,
              "serverCode": null
            }
          }
        }
      ],
      "initializedLedgerId": "00000000-0000-0000-0000-000000000001"
    }
  }
}