MCPcopy Create free account
hub / github.com/crossjoin-io/crossjoin / CompleteWorkflowRun

Method CompleteWorkflowRun

api/workflows.go:38–42  ·  view source on GitHub ↗
(id string, success bool)

Source from the content-addressed store, hash-verified

36}
37
38func (api *API) CompleteWorkflowRun(id string, success bool) error {
39 _, err := api.db.Exec("UPDATE workflow_runs SET completed_at = datetime('now'), success = $1 WHERE id = $2",
40 success, id)
41 return err
42}
43
44func (api *API) GetWorkflow(hash, id string) (*config.Workflow, error) {
45 var workflowText []byte

Callers 1

postTasksResultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected