Introduce more ANSI formatting to CI job log parser

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

  • Close this issue

Proposal

The current CI parser translates ANSI escape codes limited to coloring and styling: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/ansi2json/parser.rb.

Users would like to see more ANSI escape codes getting parsed for cursor control and erase function:

ANSI escape code Description
\033[G Moves the cursor to the beginning of the current line
\033[K Clears all characters from the cursor position to the end of the current line
\033[F Moves the cursor up one line, without changing the column position
Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading