slack-orb icon indicating copy to clipboard operation
slack-orb copied to clipboard

Slack's use of a tmp directory

Open rit001 opened this issue 2 years ago • 0 comments

The code currently creates a working directory within the user/job space rather than somewhere sensible such as /tmp.

The issue is within line 100, which is a very long bash script which contains "LOG_PATH="$(mktemp -d 'slack-orb-logs.XXXXXX')"

I am using that the logic was based on the fact that build agents are considered temporary environments, which are cleared after use - this may not be true for self-hosted runners that can re-use a known file structure.

At the moment I am having to add additional steps to my config.yml to clear up after the slack orb.

rit001 avatar Jul 07 '22 12:07 rit001