Getting StartedInspect execution

Inspect execution

The point of the timeline is that a failed attempt and a later success are different records. You do not infer them from the current row.

This transcript is from Managed Causet sandbox, platform jamlet, application test-new-version, fork main, stream counter, entity docs-lab-1795219014. The rules are the read-consistency counter. A delta of 0 is rejected by preflight.

Rejected intent

causet intent ADD_TO_COUNTER \
  --stream counter \
  --entity docs-lab-1795219014 \
  --fork main \
  --payload '{"counter_id":"docs-lab-1795219014","label":"lab","delta":0}'
Error: ERROR: POST https://sandbox.api.causet.cloud/v1/platforms/jamlet/applications/test-new-version/intents/execute returned 422: Delta must be greater than zero

Accepted intent

The correction is a new intent. It is not a replay of the rejected one.

causet intent ADD_TO_COUNTER \
  --stream counter \
  --entity docs-lab-1795219014 \
  --fork main \
  --intent-id lab-add-1-docs-lab-1795219014 \
  --payload '{"counter_id":"docs-lab-1795219014","label":"lab","delta":1}'
✓ ACCEPTED  [jamlet · counter · fork: main]

intent id     lab-add-1-docs-lab-1795219014
status        ACCEPTED
timeline id   lab-add-1-docs-lab-1795219014

Inspect the timeline

Inspect the entity after you have an accepted timeline id:

causet inspect state --entity <entity-id> --stream <stream> --fork sandbox
causet inspect timeline --entity <entity-id> --stream <stream> --fork sandbox

Next: Next steps.