job script mkdir
tweak
#6000
Labels
could be better
Not exactly a bug, but not ideal.
investigation
question
Flag this as a question for the next Cylc project meeting.
Milestone
Part of the job script boilerplate in
cylc/flow/etc/job.sh
:I've traced the origin of this scripting to PR #17 🤯
It would be good if we could remove the
|| true
fail-safes, to make the task fail if those "directories" are actually dangling symlinks (e.g. the symlinked data dirs got whacked by a disk failover).We've speculated that the
|| true
was meant to protect against multiple tasks trying to create these directories at the same time, butmkdir -p
should have that covered.However, @oliver-sanders correctly pointed out that changing anything this fundamental is risky.
Ping @matthewrmshin - if you're listening, as the author of that PR, do you recall your thought process from late September 2011? If so, you deserve a prize, but maybe it's worth asking!
The text was updated successfully, but these errors were encountered: