code: func TasksEqualStable(a, b *api.Task) bool {
  	// shallow copy
  	copyA, copyB := *a, *b
  
  	copyA.Status, copyB.Status = api.TaskStatus{}, api.TaskStatus{}
  	copyA.Meta, copyB.Meta = api.Meta{}, api.Meta{}
  
  	return reflect.DeepEqual(&copyA, &copyB)
  }
docs: // TasksEqualStable returns true if the tasks are functionally equal, ignoring status,
  // version and other superfluous fields.
  //
  // This used to decide whether or not to propagate a task update to a controller.