Skip to content

Adds explicit section footers to logs and hardens tests

What does this MR do and why?

This refactor changes the logs format so section footers can be explicitly defined with a section_footer: true value.

It also updates the mock data to harden tests for future changes and cleans up some unused Vue code.

Why this change?

In order to implement #409350 (closed), in the next step Enables parsing nested sections in logs (!136186 - merged) we need to change the way logs are parsed by the frontend. This change prepares the backend changes and other frontend code to enable us to roll out the changes gradually.

Preparation refactor Adds explicit section footers to logs and harde... (!136170 - merged) You are here
Log format change Enables parsing nested sections in logs (!136186 - merged)

Screenshots or screen recordings

No changes are expected, this is the related view:

image

How to set up and validate locally

Visit any log page, such as http://gdk.test:3000/top-group/top-project/-/jobs/801.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #409350 (closed)

Edited by Miguel Rincon

Merge request reports