Rework spawn ordering/waiting on pipeline tasks

Status Job ID Name Coverage
  Build
passed #3345
build_cmake

00:46

 
  Test
passed #3346
run_tests

00:52

 
  Sanitizer
passed #3348
run_address_sanitizer

01:56

passed #3347
run_thread_sanitizer

01:16