deco-cx / deco-cx/durable

Allow inline run based on a trust-list configuration

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Support inline run for workflows based on a trust-list configuration,

The inline support should be based on the workflow alias which can be either, a well-known alias or a reference to a workflow.

The inline alias should follow the following format: inline:${runtime}:${runtime_based_params}

e.g

For the deno runtime params it should be

inline:deno:${ts_file_url}

for the http it should be

inline:http:${http_func_url}

The modifications that needs to be done is all within the same file: https://github.com/deco-cx/durable/blob/main/registry/registries.ts#L141

A validation might be necessary based on a trust list of such runtime can be used inline with such parameters.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.