Ability to collapse built in sections in CI log
Summary
When the cleanup feature flag is enabled, every single CI job ends with a section
> Cleaning up project directory and file based variables
Followed by a lot of output (120 lines in our case) of unimportant stuff about entering directories, removing them and where HEAD is.
It would be nice to be able to configure this section to be collapsed by default.
Steps to reproduce
- Enable the
FF_ENABLE_JOB_CLEANUP
gitlab-runner
feature flag. - Run a CI job, maybe one with a lot of submodules.
What is the current bug behavior?
All built in sections are expanded by default.
What is the expected correct behavior?
Add config option to collapse specific sections by default. As an alternative simpler solution you could hard-code successful built in sections to be collapsed by default (but expanded if they fail).