Skip to main content

Local types

LocalCheckReport

LocalPlan and outcomes

LOCAL TYPES · VERSIONED SUBSET + RAW ESCAPE HATCH
NikaEvent guarantees kind: string and stays open to additive engine fields.

Remote types

JobStatus is pending | running | completed | failed | cancelled. The remote NikaEvent union contains:
  • started
  • task_start
  • task_complete
  • task_failed
  • artifact_written
  • completed
  • failed
  • cancelled
NikaJob carries the job identity, status, workflow, timestamps and optional exit code and output. NikaArtifact carries name, size, format, content type and optional checksum.

Error classes

REMOTE ERRORS · CATCH SPECIFIC FIRST

Continue

Errors and exits

Apply the types to product control flow.

Run events

Reduce the additive local journal.

SSE streaming

Consume the remote discriminated union.

Source types

Read the exact declarations.