trellis-testing 0.2.0

Companion testing support for Trellis graph invariants.
Documentation
{
  "formatVersion": 1,
  "steps": [
    {
      "name": "open",
      "trace": {
        "transaction_id": 2,
        "revision": 2,
        "staged_input_changes": [
          {
            "node": 1,
            "outcome": "Changed"
          }
        ],
        "changed_inputs": [
          1
        ],
        "dirty_roots": [
          1
        ],
        "recomputed_derived_nodes": [],
        "changed_derived_nodes": [],
        "recomputed_collection_nodes": [
          2
        ],
        "changed_collection_nodes": [
          2
        ],
        "collection_diffs": [
          {
            "node": 2,
            "kind": "Set",
            "added": 2,
            "removed": 0,
            "updated": 0,
            "unchanged": 0
          }
        ],
        "resource_commands": [
          {
            "key": "resource:1",
            "scope": 1,
            "kind": "Open"
          },
          {
            "key": "resource:2",
            "scope": 1,
            "kind": "Open"
          }
        ],
        "output_frames": [],
        "scope_events": [],
        "audit_log": [
          {
            "transaction_id": 2,
            "revision": 2,
            "event": {
              "InputChanged": 1
            }
          },
          {
            "transaction_id": 2,
            "revision": 2,
            "event": {
              "CollectionChanged": 2
            }
          }
        ],
        "phase_trace": [
          "StageOperations",
          "ValidateTransaction",
          "CommitCanonicalInputs",
          "MarkDirtyNodes",
          "RecomputeDerivedNodes",
          "RecomputeCollectionNodes",
          "ComputeStructuralDiffs",
          "ResolveScopeLifecycle",
          "ProduceResourcePlans",
          "ProduceOutputFrames",
          "CommitGraphRevision",
          "ReturnTransactionResult"
        ],
        "invariant_results": []
      }
    },
    {
      "name": "shrink",
      "trace": {
        "transaction_id": 3,
        "revision": 3,
        "staged_input_changes": [
          {
            "node": 1,
            "outcome": "Changed"
          }
        ],
        "changed_inputs": [
          1
        ],
        "dirty_roots": [
          1
        ],
        "recomputed_derived_nodes": [],
        "changed_derived_nodes": [],
        "recomputed_collection_nodes": [
          2
        ],
        "changed_collection_nodes": [
          2
        ],
        "collection_diffs": [
          {
            "node": 2,
            "kind": "Set",
            "added": 0,
            "removed": 1,
            "updated": 0,
            "unchanged": 1
          }
        ],
        "resource_commands": [
          {
            "key": "resource:2",
            "scope": 1,
            "kind": "Close"
          }
        ],
        "output_frames": [],
        "scope_events": [],
        "audit_log": [
          {
            "transaction_id": 3,
            "revision": 3,
            "event": {
              "InputChanged": 1
            }
          },
          {
            "transaction_id": 3,
            "revision": 3,
            "event": {
              "CollectionChanged": 2
            }
          }
        ],
        "phase_trace": [
          "StageOperations",
          "ValidateTransaction",
          "CommitCanonicalInputs",
          "MarkDirtyNodes",
          "RecomputeDerivedNodes",
          "RecomputeCollectionNodes",
          "ComputeStructuralDiffs",
          "ResolveScopeLifecycle",
          "ProduceResourcePlans",
          "ProduceOutputFrames",
          "CommitGraphRevision",
          "ReturnTransactionResult"
        ],
        "invariant_results": []
      }
    }
  ]
}