Expand description
The closed set of kernel error codes.
Constants§
- ALREADY_
TERMINAL - The event is for an attempt the step has already moved past (a stale duplicate).
- BAD_SEQ
startedarrived on a run whoselast_seqis not0.- COMMANDS_
AFTER_ COMPLETION - A command follows
complete/continue_as_newin the same reduction. - DUPLICATE_
STEP_ ID - A command names a step id that is already open.
- ILLEGAL_
TRANSITION - The step edge is not in the state machine, the step’s kind differs from the event’s,
the event is for a future attempt, a retry skips an attempt, a signal lands on a step
not awaiting one, or
startedarrives on a run that is notcreated. - INVALID_
COMMAND - A command is malformed: empty activity, workflow, signal name, channel or explicit id,
or a timer with neither
fire_at_msnorfire_in_ms. - INVALID_
EVENT - The envelope fails a field check (empty id, bad
random, both payload forms, badpayload_refprefix, unroutable kind/status), belongs to another run, omitskernel_state, still carries an unresolvedpayload_ref, has a baddelay_ms, or is lifecycle-only but was sent toreduce_step. Alsoplan_retrywith a badrandom. - MALFORMED_
JSON - An export input, an inline payload, a reducer state or a kernel output is not valid JSON.
- MULTIPLE_
COMPLETIONS - A reduction issues
complete/continue_as_newmore than once. - PAYLOAD_
TOO_ LARGE - An inline
payloadexceedsINLINE_LIMIT_BYTES. - RUN_
CLOSED - The run is already closed (completed, failed, cancelled or continued); no further events are accepted.
- UNKNOWN_
STEP - The event names a step that is not open: never opened, or already pruned as terminal.