MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / setStatus

Method setStatus

agent/task_runtime.go:681–688  ·  view source on GitHub ↗
(taskID, status string)

Source from the content-addressed store, hash-verified

679}
680
681func (rt *AgentTaskRuntime) setStatus(taskID, status string) {
682 rt.mu.Lock()
683 defer rt.mu.Unlock()
684 if record := rt.records[taskID]; record != nil {
685 record.Status = status
686 record.UpdatedAt = nowSeconds()
687 }
688}
689
690func (rt *AgentTaskRuntime) snapshot(taskIDs []string, scopeID string) map[string]any {
691 rt.mu.Lock()

Callers 1

runWorkerMethod · 0.95

Calls 1

nowSecondsFunction · 0.70

Tested by

no test coverage detected