Symlink resolution when restarting a workflow

Can you try with this example: https://we.tl/t-aN9kK7pxJK

After downloading:

> unzip example.zip && cd example/flow/bin
> rm script_real_SYMLK.sh && ln -s ../../script_real.sh script_real_SYMLK.sh
> cd .. && cylc vip
> # wait
> cylc log flow//1/do_stuff
workflow : flow/run1
Job : 1/do_stuff/01 (try 1)
User@Host: [...]

Hello  # <-- the symlinked script ran fine
2024-03-08T16:59:33+01:00 INFO - started

It works fine on my end.


PS:

cat ~/cylc-run/workflow/run1/bin/foo
cat: ../../cylc-run/workflow/run1/bin/foo: No such file or directory

I agree with you on that ! But somehow cylc manages to run it, as seen in the job logs…