Add test for loop detection

4 jobs for adinapoli/issue-498-part-2 in 27 minutes and 9 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Cabal
passed #18983
cabal

00:23:21

 
  Stack
failed #18984
stack

00:03:48

 
  Bench
skipped #18985
allowed to fail manual
bench
 
  Test
skipped #18986
test
 
Name Stage Failure
failed
stack Stack
copying path '/nix/store/cmpyglinc9xl9pr4ymx8akl286ygl64x-glibc-2.40-66' from 'https://cache.nixos.org'...
copying path '/nix/store/lw6xycmxbi4d1qgjb5bbys1fi3b8fsrq-ncurses-6.5' from 'https://cache.nixos.org'...
copying path '/nix/store/7i8g8v65sycv3kqv64i9z5wg89dsafk0-readline-8.2p13' from 'https://cache.nixos.org'...
copying path '/nix/store/vkxs2i4js42i26ay7vfqzyibsdbl4lrm-bash-interactive-5.2p37' from 'https://cache.nixos.org'...
Error: [S-8707]
You are not the owner of '/builds/gargantext/haskell-gargantext/.stack-root/'. Aborting to protect file permissions.
Retry with '--allow-different-user' to disable this precaution.
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1