cuelang.org/go@v0.10.1/tools/flow/testdata/infer.txtar (about)

     1  #InferTasks: true
     2  -- in.cue --
     3  top0: {
     4  	$id: "valToOut"
     5  }
     6  top1: {
     7  	$id:    "valToOut"
     8  	$after: top0
     9  }
    10  
    11  top3: {
    12  	$id: string // not a task
    13  }
    14  
    15  root: {
    16  	t1: {
    17  		$id: "valToOut"
    18  		$after: [top1, top3]
    19  	}
    20  }
    21  -- out/run/errors --
    22  -- out/run/t0 --
    23  graph TD
    24    t0("root.t1 [Waiting]")
    25    t0-->t1
    26    t1("top1 [Waiting]")
    27    t1-->t2
    28    t2("top0 [Ready]")
    29  
    30  -- out/run/t1 --
    31  graph TD
    32    t0("root.t1 [Waiting]")
    33    t0-->t1
    34    t1("top1 [Ready]")
    35    t1-->t2
    36    t2("top0 [Terminated]")
    37  
    38  -- out/run/t1/value --
    39  {
    40  	$id: "valToOut"
    41  }
    42  -- out/run/t2 --
    43  graph TD
    44    t0("root.t1 [Ready]")
    45    t0-->t1
    46    t1("top1 [Terminated]")
    47    t1-->t2
    48    t2("top0 [Terminated]")
    49  
    50  -- out/run/t2/value --
    51  {
    52  	$id: "valToOut"
    53  	$after: {
    54  		$id: "valToOut"
    55  	}
    56  }
    57  -- out/run/t3 --
    58  graph TD
    59    t0("root.t1 [Terminated]")
    60    t0-->t1
    61    t1("top1 [Terminated]")
    62    t1-->t2
    63    t2("top0 [Terminated]")
    64  
    65  -- out/run/t3/value --
    66  {
    67  	$id: "valToOut"
    68  	$after: [{
    69  		$id: "valToOut"
    70  		$after: {
    71  			$id: "valToOut"
    72  		}
    73  	}, {
    74  		$id: string
    75  	}]
    76  }
    77  -- out/run/t1/stats --
    78  Leaks:  0
    79  Freed:  0
    80  Reused: 0
    81  Allocs: 0
    82  Retain: 0
    83  
    84  Unifications: 0
    85  Conjuncts:    0
    86  Disjuncts:    0
    87  -- out/run/t2/stats --
    88  Leaks:  0
    89  Freed:  0
    90  Reused: 0
    91  Allocs: 0
    92  Retain: 0
    93  
    94  Unifications: 0
    95  Conjuncts:    0
    96  Disjuncts:    0
    97  -- out/run/t3/stats --
    98  Leaks:  0
    99  Freed:  0
   100  Reused: 0
   101  Allocs: 0
   102  Retain: 0
   103  
   104  Unifications: 0
   105  Conjuncts:    0
   106  Disjuncts:    0
   107  -- out/run/stats/totals --
   108  Leaks:  0
   109  Freed:  0
   110  Reused: 0
   111  Allocs: 0
   112  Retain: 0
   113  
   114  Unifications: 0
   115  Conjuncts:    0
   116  Disjuncts:    0