# A build pipeline: NAME COST [after DEPS] [flaky N]
checkout 1
deps 3 after checkout
compile 4 after deps
lint 2 after checkout
unit 3 after compile
integration 5 after compile flaky 2
docs 2 after checkout
package 2 after unit,integration,lint
deploy 1 after package,docs
run

# A task that always fails takes its dependents down with it
fetch 2
parse 3 after fetch flaky 5
report 1 after parse
backup 2 after fetch
run

# Invalid: a cycle
a 1 after c
b 1 after a
c 1 after b
run

# Invalid: unknown dependency
x 1 after y
run
