grailbio / reflow

A language and runtime for distributed, incremental data processing in the cloud
Apache License 2.0
964 stars 52 forks source link

images tool lists images from all execs #85

Closed siddharthab closed 5 years ago

siddharthab commented 5 years ago

Ideally, the images list should only consider execs that are going to run.

For example, consider:

val a = exec(image := "dummy") (out file) {" echo "a" > {{out}} "}
val b = exec(image := "ubuntu") (out file) {" echo "b" > {{out}} "}

@requires(cpu := 1)
val Main = b

This lists both dummy and ubuntu as images.

mariusae commented 5 years ago

This is impossible.