actionforge / graph-runner

🏃‍♀️ The core cli of Actionforge
Other
12 stars 0 forks source link

Runtime Error: index out of range [0] #12

Closed sebastianrath closed 7 months ago

sebastianrath commented 8 months ago

This error came up during one of the latest builds:

  panic: runtime error: index out of range [0] with length 0

  goroutine 34 [running]:
actionforge/graph-runner/core.(*Outputs).SetOutputValue(0xc00029c450, {{0x6f8b40, 0xc0002f8210}, {0xc000484000, 0x4, 0x4}}, {0xc00043c3c0, 0x4}, {0x6413c0, 0xc000410440})
    /Users/sebastian/git/actionforge/graph-runner/core/outputs.go:87 +0x66f
  actionforge/graph-runner/nodes.(*GhActionNode).ExecuteImpl(0xc00029c400, {{0x6f8b40, 0xc0002f8210}, {0xc000484000, 0x4, 0x4}})
    /Users/sebastian/git/actionforge/graph-runner/nodes/gh-action@v1.go:128 +0xbd9
  actionforge/graph-runner/core.(*NodeBaseComponent).Execute(0x658700?, {0x7f71a9bd3918, 0xc00029c400}, {{0x6f8b40, 0xc0002f8210}, {0xc000484000, 0x4, 0x4}})
    /Users/sebastian/git/actionforge/graph-runner/core/base.go:95 +0x145
  actionforge/graph-runner/nodes.(*RunNode).ExecuteImpl(0xc0001fd180, {{0x6f8b40, 0xc0002f8210}, {0xc000484000, 0x4, 0x4}})
    /Users/sebastian/git/actionforge/graph-runner/nodes/run@v1.go:183 +0xfd2
  actionforge/graph-runner/core.(*NodeBaseComponent).Execute(0xc000488030?, {0x7f71a9bd3950, 0xc0001fd180}, {{0x6f8b40, 0xc0002f8210}, {0xc000484000, 0x4, 0x4}})
    /Users/sebastian/git/actionforge/graph-runner/core/base.go:95 +0x145
  actionforge/graph-runner/nodes.(*ParallelExecNode).ExecuteImpl.func1()
    /Users/sebastian/git/actionforge/graph-runner/nodes/parallel-exec@v1.go:39 +0x12e
  created by actionforge/graph-runner/nodes.(*ParallelExecNode).ExecuteImpl in goroutine 23
    /Users/sebastian/git/actionforge/graph-runner/nodes/parallel-exec@v1.go:35 +0x227
  Error: Command failed: /home/runner/work/_temp/82b07cdd-8725-4f49-b206-59[804](https://github.com/actionforge/graph-runner/actions/runs/7393906439/job/20114477892#step:2:823)7528cdf/graph-runner run