Documentation
¶
Index ¶
Constants ¶
const ( ComponentName = "run_start" InPort = "in" OutPort = "out" StartedPort = "started" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct{}
func (*Component) GetInfo ¶
func (t *Component) GetInfo() module.ComponentInfo
type OutMessage ¶ added in v0.7.18
type OutMessage struct {
Context Context `json:"context" configurable:"true" title:"Context" description:"Passthrough — the message, unchanged"`
}
Component is the front door into durable execution. It starts a durable run, fires the chain on Out WITHOUT waiting for it (the emit returns as soon as the first hop is durably stored), and then emits {runID} on Started — which, wired back to an http_server response, gives the HTTP caller an immediate handle to poll while the run continues in the background, surviving pod restarts and migrating across replicas.
Place it on a CLASSIC (non-durable) node between the trigger and the durable chain. Downstream nodes need no labels: every hop emitted under the run identity rides the durable path. OutMessage keeps the passthrough Context under a `context` key so a downstream edge reads $.context.<field> — the mid-chain convention (same as the router, pod_logs_get, llm_tools). Was emitting the raw Context value at root.