Changeset 0.29.1 (#196)
This commit is contained in:
@@ -302,7 +302,8 @@ func (e *Executor) executeStarlark(ctx context.Context, task models.Task, run *m
|
||||
|
||||
// Run the script and call on_run entry point
|
||||
// Build a context dict with task info
|
||||
val, output, err := e.runner.CallEntryPoint(ctx, pkg, "on_run", nil, nil)
|
||||
rc := &sandbox.RunContext{UserID: task.OwnerID, ChannelID: channelID}
|
||||
val, output, err := e.runner.CallEntryPoint(ctx, pkg, "on_run", nil, nil, rc)
|
||||
|
||||
wallClock := int(time.Since(startTime).Seconds())
|
||||
status := "completed"
|
||||
|
||||
Reference in New Issue
Block a user