Skip to main content

Variable: RUNTIME_RELEASE

const RUNTIME_RELEASE: 7 = 7

The runtime compatibility release of this SDK (its place on the runtime train). R1 is the core runtime; R2 adds local activities, handler drain, run handles by workflow id and the R2 history fields. Release 3 (C-R1) adds updates, custom and default queries, dynamic workflows, user activities, search attributes, interceptors with header propagation and sinks. Release 4 (the D-R2 runtime train) adds the replay debugger's host hook (__fluidgridsDebug) and nothing that changes a history: it runs only when the debug runner defines the hook. Release 5 (H5) lets ctx.run schedule internal:send-and-wait when the lease enables asyncCompletion; recorded histories replay unchanged. Release 6 (gap G5) adds user local activities: ctx.localActivity with a declared user activity, run by the self-hosted worker of the task and recorded under the node type activity:<name>. Release 7 (gap G13) adds the searchAttributes option of ctx.child, ctx.startChild and ctx.continueAsNew; a history without it is unchanged. A history recorded by release N replays under every release >= N; the service and the workers pin the release whose histories they accept.