-
Notifications
You must be signed in to change notification settings - Fork 201
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
It should be possible to do a continuous prompting after the initial task is done. This would be useful when the user isn't satisfied with the results or wants to make some improvements.
This code probably needs to be modified:
codel/backend/executor/queue.go
Lines 231 to 248 in 13909b8
| func processDoneTask(db *database.Queries, task database.Task) error { | |
| flow, err := db.UpdateFlowStatus(context.Background(), database.UpdateFlowStatusParams{ | |
| ID: task.FlowID.Int64, | |
| Status: database.StringToPgText("finished"), | |
| }) | |
| if err != nil { | |
| return fmt.Errorf("failed to update task status: %w", err) | |
| } | |
| subscriptions.BroadcastFlowUpdated(task.FlowID.Int64, &gmodel.Flow{ | |
| ID: uint(flow.ID), | |
| Status: gmodel.FlowStatus("finished"), | |
| Terminal: &gmodel.Terminal{}, | |
| }) | |
| return nil | |
| } |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers