Skip to main content

Function: scanDurableSources()

scanDurableSources(files, modules, bundled?): LowerIssue[]

Find user local activities (not run yet), refused activity node types and local-activity timeouts over the cap in the modules a tier-2 workflow may run (see durableScanModules), without running them. The runtime and the service refuse them as well; this reports them before a push. The flag-gated features (queries, updates, user activities, search attributes, dynamic workflows, interceptors and sinks) are no longer findings: they are written to code.features and gated by the service (C-FEATURES).

With bundled (the modules buildBundle put into the bundle), a user-activity implementation in one of them is reported as durable.activityImplInBundle: it belongs on a worker (CWD9).

Parameters​

files​

ReadonlyMap<string, string>

modules​

Iterable<string>

bundled?​

readonly string[]

Returns​

LowerIssue[]