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

Method registerRecordLocked

agent/task_runtime.go:770–778  ·  view source on GitHub ↗
(record *AgentTaskRecord, createTaskScope bool)

Source from the content-addressed store, hash-verified

768}
769
770func (rt *AgentTaskRuntime) registerRecordLocked(record *AgentTaskRecord, createTaskScope bool) {
771 rt.records[record.TaskID] = record
772 rt.taskParentScopes[record.TaskID] = record.ParentScopeID
773 rt.childCounts[record.ParentScopeID]++
774 rt.scopes[record.ParentScopeID] = struct{}{}
775 if createTaskScope {
776 rt.scopes[record.TaskID] = struct{}{}
777 }
778}
779
780func (rt *AgentTaskRuntime) scheduleIdleTTLLocked(taskID string) {
781 rt.cancelIdleTTLLocked(taskID)

Callers 3

ImportSnapshotMethod · 0.95
SpawnWorkerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected