Finer grained folding in job output

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

When looking at CI/CD pipeline job output, there's a lot of noise I want to filter out. Specifically, when looking at a job that failed, I just want to quickly get to the error.

  1. Within the script section, allow the user to collapse output for each line, not just the whole script.
  2. Auto-collapse steps and lines in the job that succeeded.

Intended users

  • Sasha (Software Developer)

Further details

e.g. in https://gitlab.com/gitlab-com/www-gitlab-com/-/jobs/352124669, there are a few steps outside the script that I can collapse, such as fetching the repo or fetching the cache, but within the script, there's also lines like $ bundle install --jobs 4 --path vendor which produce a ton of useless information and I'd like to be able to collapse that, or better yet, collapse it by default since it obviously succeeded and likely has no relevant information for me debugging the error.

In the event there's no errors, I'd still like everything collapsed, since the high level view of the steps is probably more important than seeing the entire log. If that's a concern, it should be easy to expand all steps at once.

Proposal

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited Sep 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading