1992
}
1993
1995
}
1996
1997
func (n *Node) closeTransactionUpdateComponentTasks(
1998
nextVersionedTransition *persistencespb.VersionedTransition,
2000
>
taskOffset := int64(1)
2001
>
taskValidationContext := NewContext(newContextWithOperationIntent(context.Background(), OperationIntentProgress), n)
2002
>
2003
>
archetypeID := n.ArchetypeID()
2004
>
2005
>
var firstPureTask *persistencespb.ChasmComponentAttributes_Task
2006
>
var firstPureTaskNode *Node
2007
>
2008
>
for nodePath, node := range n.andAllChildren() {
2009
>
// no-op if node is not a component
2010
>
componentAttr := node.serializedNode.Metadata.GetComponentAttributes()
2011
>
if componentAttr == nil {
2012
continue
2013
}