[worker] rewrite env a bit, wrap everything in notifications

4 jobs for 238-dev-async-job-worker in 15 minutes and 25 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Cabal
failed #15821
cabal

00:15:25

 
  Stack
skipped #15822
stack
 
  Bench
skipped #15823
allowed to fail manual
bench
 
  Test
skipped #15824
test
 
Name Stage Failure
failed
cabal Cabal
+ actual_cabal_project_freeze_hash=30dd1cf2cb2015351dd0576391d22b187443b1935c2be23599b821ad1ab95f23
+ [[ 3b00795e0b1c97372e72a3ef464aa809ca90d8c3f1ab580d6a956526c94c160c != 32e003b7964ba9de82aed8c09b290b089f0f205f76c5f18169aee2ed38cf518b ]]
+ echo -e '\e[31mERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.\e[0m'
ERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.
Please update the hashes inside the './bin/update-project-dependencies' file.
+ echo -e '\e[33mPlease update the hashes inside the '\''./bin/update-project-dependencies'\'' file.\e[0m'
+ exit 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1