workflow/observability

Utilities to hydrate serialized step I/O and parse machine-readable workflow names for display.

API reference for observability utilities from the workflow/observability package.

The observability package provides utilities for working with workflow data in observability and debugging tools — hydrating serialized step I/O for display, and parsing machine-readable names into display-friendly formats.

import { 
  hydrateResourceIO, 
  observabilityRevivers, 
  hydrateData, 
  parseStepName, 
  parseWorkflowName, 
  parseClassName, 
} from "workflow/observability"; 

Data Hydration

Name Parsing

Encrypted Data

When a World stores encrypted data, the hydration utilities intentionally leave encrypted values untouched: hydrateData() and hydrateResourceIO() return encrypted fields as raw Uint8Array values so observability tools can detect them and decide how to render them (for example, the Workflow CLI shows an "Encrypted" placeholder). Decryption is handled by the runtime and the World implementation — see Encryption for how keys are managed.

On this page

Edit this page on GitHub